I am Using R5F100FE Controller. I want to Program this controller with UART Port.
I have already tried to program with Renesas Flash Program Ver .2.04.01. unfortunately,not successes.
I used Max232 IC for level converter between PC and Controller.
I used Uart1 ( i.e. PIN No 42, and 43.) and also tried Uart0 ( i.e. PIN No 29 and 30.)
below , I have attached images of Schematic which I had used for programming
Reset Connect to GND and TOOLO Pin Pulled Up with 1000 ohm.(i.e. 1 kOhm)
In reply to Harsh:
I had the same problem before and solved it by writing my own tool:
The tool can flash RL78 MCUs using both 2-wire UART and 1-wire UART.
Here is how you can connect an RL78 MCU to a generic UART (USB-to-UART or RS232-to-UART):
Pre-built binaries are available here: https://github.com/msalau/rl78flash/releases
In reply to Maksim Salau:
In reply to Mart:
Any diode will work. E.g. BAT54
Try the following command:
rl78flash -mX -vvia /dev/ttyUSB0 firmware.mot
Where X is the operating mode 1 to 4. Also you can add -n to invert the reset signal if necessary.
In reply to David: