AnsweredAssumed Answered

HC12: Problems using simulator for simple program.

Question asked by Zack Schmook on Oct 30, 2006
Latest reply on Oct 31, 2006 by CompilerGuru
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

Outcomes