lpc3250 EMC Static Memory Boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lpc3250 EMC Static Memory Boot

1,565 次查看
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.
标签 (1)
0 项奖励
回复
3 回复数

1,298 次查看
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 项奖励
回复

1,298 次查看
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 项奖励
回复

1,298 次查看
ywzhu
Contributor II

Thank you very much!

0 项奖励
回复