[uClinux-dev] External memory layout
Erwin Authried
eauth at softsys.co.at
Thu Jun 28 10:12:23 EDT 2007
Am Donnerstag, den 28.06.2007, 15:43 +0200 schrieb Daniel Chicco:
> Hi All,
>
> First, sorry for my poor English writing skills.
> I´m new in uClinux and I´m designing a CPU board with an ARM processor
> (NXP LPC2468 for more details) to run uClinux.
> I´m chossing the memory layout for external memories and initially I
> selected an SDRAM memory to run uClinux kernel code and a serial flash
> to store kernel (that is copied to SDRAM at boot), applications and
> data (1 MB of data aproximatelly). Is this schema a good choice to run
> uClinux?
this is a good choice, if your SDRAM is big enough to hold kernel +
apps.
> Another doubt is what are the tradeoffs of choose between an external
> memory data bus of 16 bit wide and 32 bits wide?, independently of
> memory prices of course.
>
If you use the 32-bit ARM mode with 16-bit memory, the cpu needs two
memory cycles for each instruction fetch. This will make your system
slower, 50% in worst case. It is quite usual to use 16-bit only, many
ARM7TDMI cpus have a 16-bit external interface only.
Regards,
Erwin
More information about the uClinux-dev
mailing list