EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Running code in Trace32 Simulator for 68HCS12

Started by nite...@wipro.com September 19, 2006
Dear Group,

It is multisite product development. The other team is using Trace32
debugger with the 68HCS12 target hardware and Cosmic compiler. At our
site we are using Trace32 Simulator for 68HCS12 to execute our code. We
do not have real target hardware and Trace32 debugger, but we are
supposed to execute/debug the code on Trace32 Simulator.

At the moment, we have a problem while running code with Trace32
Simulator. We have executable (.abs file) and batch file of Trace32
(.cmm file) for Trace32 debugger which other team is using. We can to
load these .abs file and .cmm file on Simulator after commenting portion
in .cmm file for not to flash code and do not perform BDM settings. But
we can't single step or run the code in Simulator, the Program Counter
doesn't increment. The same files are working with the Debugger and
target.

Does someone successfully used Trace32 HCS12 Simulator? Any hints? Is
there some setting we have to do in Compiler/batch
file(.cmm)/configuration file of Trace32 Simulator?

regards,
Nitesh.
Hello,

Problem solved now. The setting to use 'Built in script' in
Programs->Trace32 Start-> Settings-> Default Advanced Settings->Startup
Script was missing.

Such a silly mistake. Wasn't aware about that part of application but
explored all other things.

regards,
Nitesh.

________________________________

From: Nitesh Ramesh Bahekar (WT01 - Embedded Systems)
Sent: Tuesday, September 19, 2006 9:45 AM
To: '6...'
Subject: Running code in Trace32 Simulator for 68HCS12
Dear Group,

It is multisite product development. The other team is using Trace32
debugger with the 68HCS12 target hardware and Cosmic compiler. At our
site we are using Trace32 Simulator for 68HCS12 to execute our code. We
do not have real target hardware and Trace32 debugger, but we are
supposed to execute/debug the code on Trace32 Simulator.

At the moment, we have a problem while running code with Trace32
Simulator. We have executable (.abs file) and batch file of Trace32
(.cmm file) for Trace32 debugger which other team is using. We can to
load these .abs file and .cmm file on Simulator after commenting portion
in .cmm file for not to flash code and do not perform BDM settings. But
we can't single step or run the code in Simulator, the Program Counter
doesn't increment. The same files are working with the Debugger and
target.

Does someone successfully used Trace32 HCS12 Simulator? Any hints? Is
there some setting we have to do in Compiler/batch
file(.cmm)/configuration file of Trace32 Simulator?

regards,
Nitesh.

Memfault Beyond the Launch