HC12: Problems using simulator for simple program.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HC12: Problems using simulator for simple program.

跳至解决方案
1,194 次查看
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

标签 (1)
标记 (1)
0 项奖励
1 解答
437 次查看
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel

在原帖中查看解决方案

0 项奖励
1 回复
438 次查看
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel
0 项奖励