gcc compiler and jtag device [message #1854722] |
Sun, 04 September 2022 13:02 |
Carson Mayert Messages: 1 Registered: September 2022 |
Junior Member |
|
|
Hello,
Does anyone have experience with arm gcc compiler in eclipse cdt and JTAG Debugger?
I tried to compile a C-Testprogram with the Keil development environment and to debug with my SAM-ICE JTAG Debugger and it works fine.
Then I installed the Keil µvision under Eclipse and it works also.
Now I have a program what is compiled with gcc. I got an .elf file (in Keil I got a .axf file, I don't know whats the difference) and I want to debug this file, but it is not possible. The following problems I have now:
- Sometimes it comes the error "No Source available "", View Disassembly!"
- When the first problem not come, the debugger goes to the breakpoint but it is not possible to step through the program.
I think the problem is the format of the .elf file, I tried different formats (dwarf, gdb,...) but that does not help.
Which configuration of the gcc compiler is necessary that I can debug the executable file?
Thanks,
|
|
|
Re: gcc compiler and jtag device [message #1854723 is a reply to message #1854722] |
Sun, 04 September 2022 18:25 |
Tauno Voipio Messages: 742 Registered: August 2014 |
Senior Member |
|
|
CDT cross-compilation is prepared to use JTAG with OpenOCD or Segger J-Link. Check if your JTAG adapter and target processor are compatible.
I'm using OpenOCD with many Cortex-M processors and ARM7TDMI.
--
Tauno Voipio
|
|
|
Powered by
FUDForum. Page generated in 0.02828 seconds