Debugger won’t load (stalls) when trying to enter debug mode
Debugger won’t load (stalls) when trying to enter debug mode
Hi,
I’m currently trying to enter debug mode using the GCC for Renesas RL78 4.9.2.201803-GNURL78-ELF toolchain but the program has stalled at the “Configuring GDB” dialog (Extracting RL78 Debug).
The debugger works however if the KPIT GNURL78v15.02-ELF Toolchain is selected.
I select the GCC toolchain from the Toolchain tab of the Project->Properties->C/C++ Build window and then click “Apply and Close”… When I rebuild the project and try to debug, the dialog progresses close to the end and then stalls (image attached).
When I perform the same sequence with the KPIT toolchain, everything is fine…
I am developing for an RL78 device (R5F104PJ) using e2studio 7.2.0. My debugger is an E1.
Any ideas?
Thanks for your help,
Steve
Hello,
Unfortunately we could not reproduce stalling Extracting RL78 Debug with RL78 1803 toolchain.
We have tried with e2studio 7.0, 7.2 both simulator and a R5F104PJ dev board.
The extraction process in all cases and with multiple tries completed successfully each time.
We can think of these reasons causing problems on your machine:
1. the antivirus blocks gdb executable. You can monitor gdb connection and flashing progress in e2studio Console window, namely the Renesas GDB Server pane. This should give you a clue at which step it fails.
2. the debugger configuration is incorrect for the target device. Please check for your project the Debugger configuration. By right clicking on your project→Debug as→Debug configurations you can access the configuration for your current project. By switching to Debugger tab and selecting Connection Settings you can review your settings.
Please take a look at these settings as well as the console output in order to try to see at which stage does it fail. Deactivating antivirus temporarily is also worth a shot.
Regards,
– The GNU Tools Team