LPC1857 flashloader/steup macro for both SPIFI and internal flash

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

LPC1857 flashloader/steup macro for both SPIFI and internal flash

809 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by brightcloud on Fri May 30 00:39:39 MST 2014
Hi,

During our application testing, we found that in 156MHz, SPIFI speed is only about 3/8 of internal flash.
We've some critical task which need to use quite a lot CPU load.
So we want to move those critical tasks execution code into internal flash.
But for debugging, we have no idea how to use J-LINK load FW into SPIFI flash and internal flash separately in one Flashloader.
For flashloader, we could easily add bank specified one by one.
But we also need to setup correct macro.
Does anyone have a succeed example like this case?
Labels (1)
0 Kudos
Reply
2 Replies

773 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by brightcloud on Sat May 31 01:01:54 MST 2014
Hi mc,
Maybe i did not describe accurately.
156MHz means CPU speed, for SPIFI is only half, which is 78MHz.
My question here is not the SPIFI speed, but one flash loader .board, for bother internal flash and SPIFI flash.
I combined the flashloader files which could work for inFlash, SPIFI separately.
But it could not work for them together yet.
There always reported flashloader error.
0 Kudos
Reply

773 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri May 30 11:57:40 MST 2014
Hi Brightcloud,
I would like to comment on the 156MHZ SPIFI frequency. You can not run SPIFI at 156MHz. It may be working at nominal temp and voltage, however, it may not work with variation of these parameters.
Most of the QSPI devices also do not work at this high frequency in quad mode. This may be the reason of low performance. Which QSPI flash device is used by you?

Please go through below datasheet for SPIFI timing.

http://www.nxp.com/documents/data_sheet/LPC185X_3X_2X_1X.pdf
0 Kudos
Reply