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!
Hello Oleg,
This will probably require some further investigation.
Can you please submit the Service Request .: New Service Request
Thanks!
Stan
I added Service Request, #1-1305879884
Yes, these are CodeWarrior [e200] compiler flags.
Please add one of them (one is just alias) into your makefile and rebuild.
I added flags (do not know properly or not). When cleaning and build - error message
I added the flags, as you pointed out. The result remains the same.
Oleg, try to remove quotation marks:
CFLAGS += -sym dwarf-2,full
In what place of the file to write them?
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
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,
this RT-DRUID Eclipse window identical to CW10.5 window
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