HC12 project runs in debugger but not standalone

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

HC12 project runs in debugger but not standalone

Jump to solution
1,981 Views
fieroluke
Contributor II
Hi,

I am working with a HC12B32 board we have developed, the application was developed with CW1.0 quite a while ago.

Now I had to make some changes, and I converted the project to CW3.1. It runs great in the debugger with the target connected via the Motorola SDI. But it no longer runs standalone!

In the old compiler I could program the flash with the ABS file and then the board would run without the SDI attached. However, this is no longer the case with CW3.1. Am I doing something wrong? I tried programming the new ABS file with the 1.0 debugger, same effect. The programming runs through without errors, but the board no longer runs. I have no clue what is the cause of this.

Any help would be much appreciated.

Best regards


Oliver
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
758 Views
mke_et
Contributor IV
One thing to watch for is defined areas in your memory map that 'sit over' register space. In a generic sense, this can be problematic if you start swapping addresses around with any processor and/or developement system.

Mike

View solution in original post

0 Kudos
Reply
2 Replies
758 Views
Oliver
Contributor III
It turns out that the watchdog was re-enabled somewhere in the firmware, causing the software to reset all the time. I have yet to figure out why the watchdog no longer works when it did before, but some change in the firmware probably caused some side effect.

Best regards,


Oliver
0 Kudos
Reply
759 Views
mke_et
Contributor IV
One thing to watch for is defined areas in your memory map that 'sit over' register space. In a generic sense, this can be problematic if you start swapping addresses around with any processor and/or developement system.

Mike
0 Kudos
Reply