HC12 project runs in debugger but not standalone

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HC12 project runs in debugger but not standalone

ソリューションへジャンプ
1,982件の閲覧回数
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 解決策
759件の閲覧回数
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 返答(返信)
759件の閲覧回数
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 件の賞賛
返信
760件の閲覧回数
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 件の賞賛
返信