How to revert applications in HCS12X?

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

How to revert applications in HCS12X?

Jump to solution
432 Views
kuksu
Contributor II

hello
Is there a way to revert the application during bootloader operation on the HCS12X series chip?
example:
- Unexpected interruption during flash erase in bootloader
- The application operates normally after reset
- Assuming that the application is already loaded
I can't seem to find the code in AN4258.

0 Kudos
Reply
1 Solution
403 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I suggest to check CRC of the application before you jump into it to be sure it is OK.

In the case you want to use, go back, into the original application than it is necessary to split flash into 2 spaces and use A/B swap method where new apps is switched to after it is chceck and we still have possibility to go to the previous apps. The issue of this method is the size of the memory.

Best regards,

Ladislav

View solution in original post

0 Kudos
Reply
2 Replies
374 Views
kuksu
Contributor II

In the end, it seems like there is only a dual bank method.
thank you

0 Kudos
Reply
404 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I suggest to check CRC of the application before you jump into it to be sure it is OK.

In the case you want to use, go back, into the original application than it is necessary to split flash into 2 spaces and use A/B swap method where new apps is switched to after it is chceck and we still have possibility to go to the previous apps. The issue of this method is the size of the memory.

Best regards,

Ladislav

0 Kudos
Reply