Reboot Fault after changing flash location

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

Reboot Fault after changing flash location

1,504 次查看
Sukumar21
Contributor III

So, i am trying to implement UDS bootloader, i our application, if we modify the linker file to match the UDS app bootloader, the Application reset fail, when i say reset fail is even if i am connected with debugger, and click on reset from IDE toolbar the code doesnt run and terminate with fault.

I tried tracing the code to reset handler, but it doesnt not show in the reset handler.

I have attached the linker file and the image of debug report on reset.

Any help with this regard will be much appreciated.

What i have notice is if i change the start address of flash it won't reboot and hung.

 

int_pflash              : ORIGIN = 0x00440200, LENGTH = 0x003D4000 - 0x00040200

 

 

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

1,467 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Sukumar21 

if my understanding is correct, you want to run this application for test purposes without the bootloader, right? If so, it won't work because there's no valid IVT at defined locations:

lukaszadrapa_0-1730302199667.pnglukaszadrapa_0-1730302199667.png

 lukaszadrapa_1-1730302205102.pnglukaszadrapa_1-1730302205102.png

 If you update the linker file in this way, the application can be started only by bootloader.

To make the application working also in standalone mode without a bootloader, you must define IVT at one of those locations.

Regards,

Lukas

 

0 项奖励
回复