Serial flasher mode 2
Up to Misc. Tools
Now i have af working program to flash my Renesas-processors through the serial interface. I have used the handshake-signals in the serial interface to activate RESET and the CNVss-signal, on the circuit rest of the signals has to be made automatically.
So far i have testet it on a M16C62 and a M16C28 without problems.
That's really great! Using handshake signals to manipulate the MCU pins and reset is a nice way to "automate" the serial connection.
What platform does your code work on? Are you using a "real" RS232 channel or a USB-to-serial dongle? How are you handling the level conversion of signals?
Would you like to post your project to the Downloads section of the website?
I'm running it under WinXP and are using a USB<->RS232-dongel. I have tested it with a "real" serial port and it works perfectly there too. As the software uses only standard API-calls it should work from Win98 and "up".
I uses 2 optocouplers för the level conversion, one pulls the -RESET to GND and the other pulls CNVss to VCC (supplied by the board) and then i use a MAX232 (or eqivalent) between the RS232-signals and the MPU. Afterward i can use UART1 through this wire to communicate in general.
I will have to thing about the uploading, it needs to be cleande up a little anyway.

