I'm quite experienced with microcontrollers programming, but I'm a real beginner with Renesas family !
I'm building my first application for RL78/F13 (R5F10BGG), and I'm facing a beginner issue. Actually, my application is as simple as possible : just toggeling an IO in the while(1) loop.
I'm using e2 studio IDE, cc-rl compiler and Renesas E1 programming probe.
My project is running fine in HardwareDebug mode.
The issue comes when I switch to release mode. The hex file is generated, and I can download it to my target with Renesas Flash Programmer. But the program is not running anymore. So basically, In can debug my software, but I can't run it standalone.
Is this a classical beginner issue with RL78 controllers ? I'have searched Google for a day, but found nothing relevant.
Is it possible to directly download the hex file from e2 studio ? I haven't found a way to do so !
Thank you for supporting
Does your software have debug settings?
There is an option byte to enable debug mode (address 0x00C3). This has to be modified for release.
In reply to franck_tlse:
In reply to FrankL:
You could try this project. It has port toggle for P66 and P67 based on TAU0. and a RFP project for programming.
The project is for R5F10BMG but it should also work when the processor is changed to your R5F10GG.
Don't forget to disconnect E1 when you want to run stand alone. A connected E1 will keep RL78 in RESET.
Thank you for the project. I will test it, but have some compilation errors at the moment.
In the meantime, could you have a look at my minimal project if you have some time ? Just to check some beginner mistakes in configuration !
Thank's a lot for supporting
Thanks for confirming!
JBRenesasRulz Forum Moderator