program that is loaded by secondary bootloader UART handler doesn't return

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

program that is loaded by secondary bootloader UART handler doesn't return

418 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by internav on Fri Jan 31 15:21:37 MST 2014
I am using the secondary bootloader to load a program and when the program executes and the uart interrupt handler is entered, it returns to neverland.  The systick and timer handlers work fine.  the bootloader uses the uart but polls for data and uses no interrupts.

the bootloader is in flash from 0-0x1fff and the program starts at 0x2000. The test program sits in a while loop and has only systick and uart handlers.

if I take the test program and build at location 0 and run, it works fine.  and the assembly code looks the same for both versions.  so it has to be some complier linker setting?

attached are the zips for the bootloader and test boot program.

Original Attachment has been moved to: bootloader.zip

Original Attachment has been moved to: boot_test.zip

Labels (1)
0 Kudos
1 Reply

329 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Champion on Mon Apr 28 20:43:10 MST 2014
Hi internav,

"if I take the test program and build at location 0 and run, it works fine. "

I have the same problem.  Did you find a solution?

Thanks.
0 Kudos