I'm having trouble while trying to debug the RL78G13 when the VCC applied to it is below 3.5V but I haven't seen anything in the documentation related to that.
Note that when I want to program the MCU using Renesas Flash Programming Tool (RFP) I can do it without any problem.
I'm using the E1 emulator with external power supply at 3.3V and e2 Studio 2021-04 (21.4.0).
The error I'm getting is:
The hardware I have is:
What is your LVD setting in the option bytes?
LVD is off (0xFF)...
I am assuming that the exact same setup works at 3.5V and above while it does not work at 3.3V, I have never had any problem running at lower voltages.
Do you know if your application is running on the MCU at the lower voltages? Perhaps toggling a port pin at regular intervals to show application progress would be good.
Have you run the self-check on your E1? Have you tried another debugger?
Hi JB, thanks for your answer!
I've tried what you've told me (toogle port pin, E1 Self-Check) and everything seems all right.
I can debug using a 5V voltage regulator, then I change it to a 3.3V and I cannot. I can also debug using 5V but not 3.3V E1 power supply.
Despite that fact, I can program the microcontroller using RFP V3.08.02 using the 3.3V E1 power supply.
Is there any kind of configuration that must be enabled? Maybe LVD shoud have a concrete value?
If the LVD is disabled the only limitation is the POC level which is very low. Aside from inspecting and comparing signals on a scope of working vs. non-working I don't what else to suggest.
What is your CMODE and FRQSEL config settings? Admittedly I am grasping here, but running out of ideas.
Hi Albert, I see in your schematic that C11 is specified between 47pF and 1uF.
According to the hardware usermanual this should be between 470nF and 1uF.
If you are using anything less than 470nF this could explain the behaviour you are seeing as this is the internal regulators stabilisation capacitance.
000C2H = 0xEB
CMode = HS
FRQSEL = 4MHz
Have you tried other debuggers (E2 or E2-Lite), IDEs (CS+ and e2studio), etc.? Or a 3rd party debugger (Lauterbach, iSystem)? I have seen recently some instances where the E1 doesn't work as well as the E2/E2-Lite on some customer designs, not sure if that is due to layout, PCB, timing, or what.
Are you on Win10 platform? 32bit or 64bit?
How's this issue? Were you able to figure out this one now?
JBRenesasRulz Forum Moderator