LPC1857 Flash Issues

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

LPC1857 Flash Issues

363 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dsidlauskas on Thu Jun 19 12:47:25 MST 2014
I have a project that puts all code in Flash Bank A, so that Bank A has a valid code signature. I have a constant data structure located at the beginning of BANK B. When I inadvertently set the first 8 words of this structure to 0, the program stopped loading correctly at startup.

Fig. 10 and Section 4.3.1 of the LPC1857 manual states the if Bank A contains a valid signature, then Bank A will be taken as the boot loader image regardless of the signature in Bank B. My experience suggests that this is not the case.

I'm using Keil Uv4. When the first 8 words in bank B are 0, the debugger starts with the PC and SP at zero. When they're non-zero the PC and SP are set correctly to run the code in Bank A.

Does anyone have any comments on what's going on?

Thanks,
Dave
Labels (1)
0 Kudos
1 Reply

297 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bavarian on Mon Jun 30 05:13:09 MST 2014
Hello David,

we had a batch of the LPC1857 which were not configured correctly.
They start from Flash bank #B instead of #A.

There is no chance to reverse this setting, you need to replace the chip in case you can't live with that behaviour.

Regards,
NXP Support Team
0 Kudos