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

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

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

479 次查看
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

标签 (1)
0 项奖励
回复
1 回复

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