HC12: Problems using simulator for simple program.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HC12: Problems using simulator for simple program.

ソリューションへジャンプ
1,602件の閲覧回数
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 解決策
845件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
846件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
search for "has no DWARF debug info"
here in this group.

Daniel
0 件の賞賛
返信