UART problem with the relocated application code

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

UART problem with the relocated application code

550 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dore on Wed Dec 18 03:56:23 MST 2013
Hi,

I have written a small app code in which UART, Timer are there along with one external GPIO interrupt. A boot code which is for application upgrade through my specific commands.
I have moved my app code to 0x1000 and my boot code starts at 0x000.
In this case with my boot code the UART communication works, I am able to send and receive commands responses w.r.t my own protocol format.
I have the same in app code. Both individually works fine. But when I relocate the application to 0x1000 onwards the app code's UART communication doesnt respond most of the times, rarely it responds for my commands.
Is there something specifically I should take care at this scenario.
0 项奖励
回复
1 回复

539 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Dec 18 10:22:24 MST 2013
Sounds like a vector table relocation (i.e. you have not) issue.

Cheers, Mike
0 项奖励
回复