Reboot Fault after changing flash location

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

Reboot Fault after changing flash location

1,489 Views
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

 

 

Tags (1)
0 Kudos
Reply
1 Reply

1,452 Views
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.png

 lukaszadrapa_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 Kudos
Reply