HC08: Debugger not changing to match current CPU target

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

HC08: Debugger not changing to match current CPU target

跳至解决方案
2,374 次查看
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,371 次查看
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,372 次查看
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,371 次查看
bespenschied
Contributor III
Thanks! I did not know that trick.
That will make it easier.
0 项奖励
回复