Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: LPC2214 and 16 bit flash

2005-12-08 by smoutpatrick

Ken,

We have selected a flash that supports page mode.
However, the device doesn't support byte access.
Is it nevertheless possible to write bytes with the help of the 
compiler (i.e. the __packed type modifier)?

Thanks for your feedback,

Patrick

--- In lpc2000@yahoogroups.com, "Ken Wada" <kwada@a...> wrote:
>
> This is emminently doable...A few issues to concern your self 
though:
> 
> 1.  Make sure you have boot-up code in your internal FLASH, (if you 
> are using the LPC2214). With this boot-up code, you can setup your 
> external memory parameters, (wait-states, burst mode params, 
address 
> decode etc).
> 
> 2.  If you are using a FLASH-less part, then you MUST use the 
correct 
> bus-width for the defaults for each memory bank..otherwise your 
system 
> will not work at all! Plus, you need to make sure you have some 
boot 
> code already resident on your external FLASH.
> 
> 3.  Make absolutely sure your BCFGn register is properly setup for 
> external FLASH operation.
> 
> 4.  Your external FLASH will inherently run slower than the 
internal 
> FLASH. Therefore, get as much boost as possible by picking the 
correct 
> NOR-FLASH, and try as much as possible to get nibble-mode or burst 
> mode...this will greatly improve the performance of your system 
with 
> little increases in the unit cost of your system.
> 
> 5.  Last but not least, make sure your hardware is wired up 
properly..
> .Byte select lines, chip select etc...
> 
> Ken Wada
> 
> --- In lpc2000@yahoogroups.com, "smoutpatrick" <sonpat@b...> wrote:
> >
> > Hi,
> > 
> > What would be the consequences if my hardware design based on the 
> > LPC2214 uses 16 bit flash devices that only supports 16 bit 
> accesses?
> > Can I write bytes in the flash using the __packed type modifier?
> > 
> > Thanks for the feedback,
> > 
> > Patrick Smout
> >
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.