HC08: Debugger not changing to match current CPU target

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

HC08: Debugger not changing to match current CPU target

ソリューションへジャンプ
2,379件の閲覧回数
bespenschied
Contributor III
If you have a project that you are using 2 processors with, like the 908GT16 and the GP32, and you change the target in Codewarrior from the GT16 to the GP32, the debugger thinks you are still working with the original cpu (GT16) and not the current active cpu (GP32). You have to remember to click the Change MCU/Connection button or menu item and change the processor (derivative) before you build/debug.
Is this normal?
Is there a way to make it automatically match the current active CPU you are using?

Message Edited by CrasyCat on 2007-04-13 02:28 PM

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,376件の閲覧回数
J2MEJediMaster
Specialist I
The Target saves all of the settings required to build the project for the given processor. The best way to handle the CPU switch is to create two separate targets, one for the 908GT16 and one for the GP32. For each processor target choice, make the changes to the desired settings, such as the type of debugger used and compiler settings. You can have both targets use the same source, yet generate different object files. Now when you go to switch, you'd just pick the new target from the target drop-down menu.

---Tom

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,377件の閲覧回数
J2MEJediMaster
Specialist I
The Target saves all of the settings required to build the project for the given processor. The best way to handle the CPU switch is to create two separate targets, one for the 908GT16 and one for the GP32. For each processor target choice, make the changes to the desired settings, such as the type of debugger used and compiler settings. You can have both targets use the same source, yet generate different object files. Now when you go to switch, you'd just pick the new target from the target drop-down menu.

---Tom
0 件の賞賛
返信
1,376件の閲覧回数
bespenschied
Contributor III
Thanks! I did not know that trick.
That will make it easier.
0 件の賞賛
返信