Trying to connect to the RH850 piggyback board with E2 emulator from the E2Studio, it generates this error,
This is from the console window,
GDB Server for Renesas targets.
Version 10.1.0.v20241218-130351 [2b0b72b9] (Dec 18 2024 15:32:34)
Starting server with the following options:
Raw options : C:\Users\131160\.eclipse\com.renesas.platform_1435879475\DebugComp\\RH850\e2-server-gdb -g E2 -t R7F70255x -uConnectionTimeout= 30 -umFreq= 8.00 -ulpdType= 4 -ulpdFreq= Default -setOptJtagLpd= 1 -setOptJtagJtag= 0 -uHotPlug= 0 -releaseReset= 0 -uInitialStop= 0 -w 1 -usupplyVoltage= 0 -uocdID= FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -usvrParameter= ||||||||| -uneedAuthentication= 0 -uresetOnReload= 1 -ustopPeriEmu= 0 -uMultiDeviceSync= 0 -usupplyVoltageASP= 0 -umaskReset= 0 -umaskHldrq= 0 -umaskStop= 0 -umaskWait= 0 -uverifyOnWritingMemory= 0 -uWorkRamAddress= 0xfde07000 -uDebugCodeSRAM= 0 -uMapMode= 0 -uForceReset= 0 -usetDebugContext= 0 -uextflEnable= 0 -uConfigurationSetting= 0 -uSecuritySetting= 0 -uBlockProtection= 0 -uSwitch= 0 -uTraceEnable= PE0|PE1|PE2 -uTraceClock= PE0|400.0|PE1|400.0|PE2|400.0 -uUseSyncTrace= 0 -uUseEramTrace= 0 -l -uCore= PE0|enabled|256|main -uCore= PE1|enabled|257|main -uCore= PE2|enabled|258|main -uSyncMode= async -uTraceCore= PE0 -uFirstGDB= main --english --gdbVersion= 7.2
Connecting to RH850 Target
GDBServer endian : little
Starting target connection
Version Information:
GDB action 'connect to target', has failed with error code, 0x00000d05
Disconnected from the Target Debugger.
Please advise.
Thank you.
Can you share screen shots of the debugger config from e2studio?
These are my configuration setup.
There is an error on your configuration. Have you set this setting ?
I tried the setting, still the same problem.
Can you build and show the 'Main' tab again ?
The configuration looks fine now. How do you power up the board ?
Due to the limited current capability of Renesas' E2 Emulator, powering the board only via this debugger is not feasible.
I powered the board from the power supply, 3.3V, and still can not connect.
Are these jumpers setting correct on the EVM?
Please go through chapter 8 on the user manual for correct jumper configuration:
https://www.renesas.com/en/document/mat/rh850u2b-292pin-users-manual-piggyback-board-y-rh850-u2b-292pin-pb-t1-v1-rev301?r=25564097
Also The 20MHz resonator is by default mounted to X1 so the main clock frequency has to change:
As mentioned, E2 Emulator cannot provide power supply to the board so you need to add external power supply which I do not see on your image.
I changed the main clock freq to 20Mhz, and selected power from the emulator to NO
Changed to 20Mhz with external power, still no connection
Are you still seeing the same connection error about the port not found? If still getting this error, my guess is the issue is related to the software and computer rather than being a hardware issue with the board.
A couple of notes about the RH850 devices, the hardware must be properly configured - both jumper settings and option bytes must match. The E2 20pin to 14pin adapter has a switch that must be correctly set for the RH850 device. But I don't believe any of this would produce the GDB port error.
You might try connecting with CS+, which is much easier to use / configure, and produces much better error messages in the event a problem is encountered. Also can try connecting with RFP, which puts the chip into serial programming mode. This is a necessary first step with these devices to program the option bytes.