HC08: Debugger not changing to match current CPU target

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

HC08: Debugger not changing to match current CPU target

Jump to solution
1,602 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
599 Views
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

View solution in original post

0 Kudos
2 Replies
600 Views
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 Kudos
599 Views
bespenschied
Contributor III
Thanks! I did not know that trick.
That will make it easier.
0 Kudos