HC12: Problems using simulator for simple program.

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

HC12: Problems using simulator for simple program.

Jump to solution
1,316 Views
Plinkey
Contributor I
I am trying to make a simple program for the HSC12 in c++. As of now I am trying to use only the simulator to get a better feel for using C++ with the prototype board. My problem is that when I try to debug/simulate my program I get an error. This error I believe is related to using header files and associated cpp files and them not being included in the simulator "settings" for some reason.

Basically all that I have is the main.cpp file and another cpp file that sets some registers and its associated .h file. I havn't been able to find any examples of how to use .h and .cpp files with the simulator.

Here is the exact error I am getting: "registers.cpp.o has no DWARF debug info". The problem can be fixed by putting all the code in main.cpp, but I'd like to figure out how to use multiple cpp files.

Thanks for any help in advance. BTW, I'm using CW 5.5 and debugger version 6.1.

Message Edited by CrasyCat on 2007-04-13 01:27 PM

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
559 Views
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
560 Views
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel
0 Kudos
Reply