EmbeddedRelated.com
Forums

information about a simulator for the HCS12 family

Started by Alexandre Zambon January 24, 2005

Hi,

We are looking to use a simulator for HCS12 family. We are using
actually ICC12 for compiling and Dbug-12 for download and some debugging
parts. But Dbug-12 doesn't offer the possibility to create breakpoints,
execute code, and see meanwhile the variable state, in a user friendly
interface.
I talk to a supplier and we said me that NoICE12 could be a product for
this case.
So do you suggest me to try this product or another one for this case?
What are you using actually? Thank you, Alexandre Zambon
Software engineer
Pran Systems inc.

phone: 418-688-7726 #232
fax: 418-688-7738



> We are looking to use a simulator for HCS12 family. We are using
> actually ICC12 for compiling and Dbug-12 for download and some debugging
> parts. But Dbug-12 doesn't offer the possibility to create breakpoints,
> execute code, and see meanwhile the variable state, in a user friendly
> interface.
> I talk to a supplier and we said me that NoICE12 could be a product for
> this case.
> So do you suggest me to try this product or another one for this case?
> What are you using actually?

One way is a simulator, but the other (better) way is to use
Background Debug Mode (BDM) -- hardware debugging support inside each
HC(S)12. Works with interface unit and host computer software
(debugger).

Look for "BDM" adpater/cable.

If you want to build it, look at free adapter Podex:
http://duch.cz/podex/ Regards, Marek P.



--- In , Alexandre Zambon <a.zambon@p...> wrote:
>
> Hi,
>
> We are looking to use a simulator for HCS12 family. We are using
> actually ICC12 for compiling and Dbug-12 for download and some debugging
> parts. But Dbug-12 doesn't offer the possibility to create breakpoints,
> execute code, and see meanwhile the variable state, in a user friendly
> interface.

Could you be more specific about what Dbug-12 doesn't do? I don't see
why you said it does not offer breakpoints. I have had no trouble with
the breakpoints or executing code in D-Bug12. It's true that it is not
a source-level debugger.

I think NOICE is the best one to start with, but I also think some of
the Cyclone stuff from P&E or even the Nohau stuff could be better for
a professional environment.

In another direction, using the free GNU-m68hc1x GCC for a compiler is
my choice. I have found some GUI interfaces for gdb source-level
debugger, like Insight.

http://sources.redhat.com/insight/
http://www.nohau.com/emul12pc.html




> In another direction, using the free GNU-m68hc1x GCC for
> a compiler is my choice. I have found some GUI interfaces
> for gdb source-level debugger, like Insight.
>
> http://sources.redhat.com/insight/

This sounds great. But is it for Linix only? Is there any Windows
version of GUI interfaces for gdb source-level debugger? Thanks.





I don't think it would be great if it was for MS Windows... err, I mean...

Yes, theoretically you could get a Win version. When they talk on that
site about Cygwin, they mean stuff for compiling it on Win. I don't
know though about other details on this. I haven't tried anything with it. --- In , "kqzca" <zhangqun@t...> wrote:
>
> > In another direction, using the free GNU-m68hc1x GCC for
> > a compiler is my choice. I have found some GUI interfaces
> > for gdb source-level debugger, like Insight.
> >
> > http://sources.redhat.com/insight/
>
> This sounds great. But is it for Linix only? Is there any Windows
> version of GUI interfaces for gdb source-level debugger? Thanks.





>We are looking to use a simulator for HCS12 family. We are using
>actually ICC12 for compiling and Dbug-12 for download and some debugging
>parts. But Dbug-12 doesn't offer the possibility to create breakpoints,
>execute code, and see meanwhile the variable state, in a user friendly
>interface.

NoICE includes a simulator for HC12 instructions (but not for peripherals),
but it is most useful with a BDM pod so you can exercise your actual
hardware. And it will load ICC12 DBG files for source-level debugging.

For a BDM pod you can use P&E Multilink, Elektronikladen ComPOD, Kevin
Ross, Softec inDART12, or Tech Arts microBDM12. Will burn Flash and use
hardware breakpoints with any of these pods.

You can try NoICE for 30 days to see if it will meet your needs.

Best regards, John Hartman

NoICE Debugging Tools
http://www.noicedebugger.com