Bootloader|| Device Jump to application

cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader|| Device Jump to application

252 Views
Contributor II

Hi,

IDE: IAR

Controller s32k144

bootloader interface: UART

As mentioned in AN12218 I have made changes in bootloader it is also working one time(I am able to update application code one time)

But whenever I am trying to update different image(making some changes in same application code),the code is getting stuck in unknown memory location.

Can Anyone tell me why is it happening and What changes do I need to make to avoid this issue.

*I am using the same bootloader code provided by NXP for bootloader by UART.

Labels (1)
5 Replies

8 Views
Contributor II

Hi Diana,

We have identified the issue, we were not erasing the sectors properly after changing the application begin address. Bootloader is up and running now.

8 Views
NXP TechSupport
NXP TechSupport

Hi,

Which changes have you made?

Can you share your .srec file?

Thank you.

Best regards,

Diana

0 Kudos

8 Views
Contributor II

Hi Diana,

I'm working on FBL development too, I asked  you some flash problems several days ago. I've program the app code into flash by FBL successfully, but after boot, I can't start app because it will get stuck in WDOG_EWM_IRQHandler();

Is this the app code or the FBL code problem?

error.png

Best regards,

Sarah

0 Kudos

8 Views
NXP TechSupport
NXP TechSupport

Hi Sarah,

I'm sorry for the delay.

I recommend you to look at the link https://community.nxp.com/docs/DOC-334902 

You can create a HardFault handler and debug the exception.

Best regards,

Diana

0 Kudos

8 Views
Contributor II

Hi Diana,

I click the link you supplied, then enter the following link is error.

link.png

err1.png

Is there anywhere I can get the fault handling example?

Best regards,

Sarah

0 Kudos