RT-Druid project using CW 10.5 +Multilink Universal Debugger

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

RT-Druid project using CW 10.5 +Multilink Universal Debugger

2,062 Views
olegivanus
Contributor III

Hello Everyone!
I want to debug RT-Druid project using CW 10.5 + Multilink Universal debugger, but there is some problems.

 

I generated a project in RT-DRUID ECLIPSE (for MPC5643L MCU), and try to open it in CW10.5. The project opens, but when debugging an error occurs - "No source available for "0x000000E8 (0x000000E8)() ", debugging passes on assembler code.

 

I guess in the menu CW Debug Configuration -> Sorce need prescribe the path to the source. But exactly which path there should be prescribed?
Thank you!

Labels (1)
0 Kudos
Reply
11 Replies

1,398 Views
stanish
NXP Employee
NXP Employee

Hello Oleg,

This will probably require some further investigation.

Can you please submit the Service Request .: New Service Request

Thanks!

Stan

0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

I added Service Request, #1-1305879884

0 Kudos
Reply

1,398 Views
stanish
NXP Employee
NXP Employee

Yes, these are CodeWarrior [e200] compiler flags.

Please add one of them (one is just alias) into your makefile and rebuild.


0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

I added flags (do not know properly or not). When cleaning and build - error message

flags.png

0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

I added the flags, as you pointed out. The result remains the same.

nosorce.png

0 Kudos
Reply

1,398 Views
stanish
NXP Employee
NXP Employee

Oleg, try to remove quotation marks:

CFLAGS  += -sym dwarf-2,full

0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

In what place of the file to write them?

0 Kudos
Reply

1,398 Views
stanish
NXP Employee
NXP Employee

Hi Oleg,

Is the compiler flag to add debug information enabled?

Have you built the .elf on the same machine as you are using for debugging?

If not you probably need to copy all the source files to the machine you are using for debugging and if the path to source files directory structure is different you can add a path look-up. (see attached screenshot)

Stan

0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

Is the compiler flag to add debug information enabled?

!- Where I can Enable it? (Debug folder contains *.c, *.h, *.elf files)

Have you built the .elf on the same machine as you are using for debugging?

- Yes, at same machine

All path, discribed in RT-DRUID Eclipse is identical to CW 10.5. But when i tryed to debug my project in CW,

debug.png

manage.png

this RT-DRUID Eclipse window identical to CW10.5 window

sorce in C_CPP view.png

0 Kudos
Reply

1,398 Views
olegivanus
Contributor III

!Makefile does not contain such directives. I use codewarior compiler, not GCC. Does this directives will help with this compiler?

0 Kudos
Reply

1,398 Views
stanish
NXP Employee
NXP Employee

Oleg,

I assume you've been using CodeWarrior Build tools.

Please check your make file if it includes one of the compiler flags below:

-gdwarf-2 

or

-sym dwarf-2,full

if not please add it and rebuild the elf.

Can you attach your make file and .elf file if this suggestion does not help you?

Stan

0 Kudos
Reply