HC12 project runs in debugger but not standalone

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

HC12 project runs in debugger but not standalone

跳至解决方案
2,401 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,178 次查看
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 项奖励
回复
2 回复数
1,178 次查看
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 项奖励
回复
1,179 次查看
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 项奖励
回复