Multi-processor debug with CodeWarrior

Started by Jonathan Masters October 5, 2005
I have a dual processor system (I nearly always have dual processor
systems) that for the first time I have two ICD12 cables working on.

However although I can open two CodeWarrior sessions under XP and I can
debug to either ICD12, CodeWarrior will only use the one debugger
session. This ends up being only slightly better than having one cable
and switching it between BDM ports. Each time I switch, the debugger
wants to re-flash the memory making the process slow. I also can't set
breakpoints in either processor and watch the details of communications
protocols.

Is there some way to invoke two true-time simulator sessions on separate
ICD12 cables, or am I going to have to resort to using a special edition
copy of CW on another PC?

Jonathan.


Answer to my own question:

"Build Extras" in the project properties invokes the external debugger.
When the project is created, there is a "-instance=" switch added to the
P&E debugger command line. By making the value of this switch two
different things, two different debuggers are invoked - magic.

Jonathan. -----Original Message-----
From: 68HC12@68HC... [mailto:68HC12@68HC...] On Behalf
Of Jonathan Masters
Sent: Thursday, 6 October 2005 8:27 AM
To: 68HC12@68HC...
Subject: [68HC12] Multi-processor debug with CodeWarrior

I have a dual processor system (I nearly always have dual processor
systems) that for the first time I have two ICD12 cables working on.

However although I can open two CodeWarrior sessions under XP and I can
debug to either ICD12, CodeWarrior will only use the one debugger
session. This ends up being only slightly better than having one cable
and switching it between BDM ports. Each time I switch, the debugger
wants to re-flash the memory making the process slow. I also can't set
breakpoints in either processor and watch the details of communications
protocols.

Is there some way to invoke two true-time simulator sessions on separate
ICD12 cables, or am I going to have to resort to using a special edition
copy of CW on another PC?

Jonathan.
SPONSORED LINKS

Freescale
<http://groups.yahoo.com/gads?t=ms&k=Freescale+semiconductor+inc&w1=Free
scale+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8
051+microprocessor&c=4&s6&.sig=K2HGv-zFlv5OYUv_QxIq_Q> semiconductor
inc
Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Freescale+semic
onductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w451+micropr
ocessor&c=4&s6&.sig=SYHwNJjjGQXRvtt_GybT4g>
Pic
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Freescale+s
emiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w451+mic
roprocessor&c=4&s6&.sig=umVbbnUwsPzEzKKD_pQfUw> microcontrollers

8051
<http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Freescale+se
miconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w451+micr
oprocessor&c=4&s6&.sig=NO-nSKjHoAlh9XtZ8LB1_A> microprocessor
_____

> Terms of Service.

_____