LPC1865 Bootloader issues

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

LPC1865 Bootloader issues

554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lifejoker on Tue Nov 18 22:34:30 MST 2014
hi, I am doing LPC1765 bootloder now, i want to do a simple test which trying to jump to user flash start.
my example is AN10866, which is the bootloader for usb module. when I step debugged to boot_jump(USER_FLASH_START);
there is always a error at keil's Command window as blows:
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.

i dont know what happened , anyone could help?
Or the information i gave is clear enough?

Thanks
Labels (1)
0 Kudos
Reply
1 Reply

498 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Nov 19 07:53:39 MST 2014
This is refering to the ARM/Thumb mode bit.
This is still required even though Cortex-M3/M4/M0 only allow thumb mode.

Address for the PC need the bottom bit set.
Normally the use of a code address symbol when properly declared adds this bit automagically.
If you are hard coding address numbers or otherwise not telling the compiler that these variables
are thumb function address, you will have to add 1 yourself.

However it gets there any setting of the PC must have the bottom bit set (as a thumb mode flag).

HTHAB Mike


0 Kudos
Reply