lpc3250 EMC Static Memory Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc3250 EMC Static Memory Boot

870 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jplzl on Tue Oct 29 23:28:50 MST 2013
The bootloader first reads the SPI1_DATIN pin value and writes it to the PB bit in the
EMCStaticConfig0 register. Then the bootloader reads the memory width configuration
nibble (MW) at address 0xE000 0000 to determine the memory width.

The only acceptable validation words at 0xE000 0000 are 0x13579BD2 for 32-bit memory,
0x13579BD1 for 16-bit memory, and 0x13579BD0 for 8-bit memory.

now,i want to know,how can i write the 0x13579BD1 to 0xE000 0000.
And i want to let lpc3250 boot from the nor flash,the address is CS0.
Labels (1)
0 Kudos
Reply
3 Replies

603 Views
ywzhu
Contributor II

I'm working on the EMC boot of LPC3250, but I have not succeed yet. I know how to put 0x13579BDx to 0xE0000000. You can use editors like UltraEdit which can modify documents in a hex way to write 0x13579BDx to the very first place in the image that you want to burn into the nor flash.  This operation can make LPC3250 start to access 0xE0000004.

So, if you successfully boot from nor flash, please let me know.

0 Kudos
Reply

603 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

The following links may be useful in case of using a NOR Flash on the EMC of the LPC3250:

https://www.lpcware.com/content/project/lpc32x0-cdl-boot-loaders/lpc32x0-s1l/kickstart-build-example

http://www.keil.com/forum/60718/

Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

603 Views
ywzhu
Contributor II

Thank you very much!

0 Kudos
Reply