# renesas-bootmode
serial interface library for renesas microcontrollers in boot mode
## hardware
This library is tested using a FTDI FT232RL USB to serial adapter
(make sure you use one that can match Vcc of the microcontroller - 5V or 3.3V)
## SH-2A
```
+---+PC+---+ +---+FTDI+---+ +---+MCU+---+
| | | | | |
| USB +<-------->+ USB RX +<-------->+ TX |
| | | TX +<-------->+ RX |
| | | | | |
| | | GND +<-------->+ GND |
| | | VCC +<----*--->+ FLMD0 |
| | | | '--->+ RESET |
| | | | | |
+----------+ +------------+ +-----------+
```
### notes
* assumes MCU already has pull-up resistors on RX/TX lines
* assumes MCU already has pull-up resistor on RESET line
* momentarily set reset low then hold high to get into boot mode
## V850E2
```
+---+PC+---+ +---+FTDI+---+ +---+MCU+---+
| | | | | |
| USB +<-------->+ USB RX +<------*->+ TX/RX |
| | | TX +<---o | | |
| | | | ,-|>-' | |
| | | | | | |
| | | GND +<-*------>+ GND |
| | | VCC +<-------->+ FLMD0 |
| | | RTS +<---|>o-->+ RESET |
| | | | | |
+----------+ +------------+ +-----------+
```
### notes
* assumes MCU already has pull-up resistor on TX/RX line
* assumes MCU already has pull-up resistor on RESET line
* connect FTDI RTS line to inverter to MCU RESET line
* connect tri-state buffer
* enable line wired to inverted FTDI TX
* input line wired to GND
* output line wired to TX/RX
## references
[Renesas Flash Programmer
Sample Circuit for Programming
by Using a PC’s Serial Port](https://www.renesas.com/us/en/doc/products/tool/doc/001/r20ut0857ej0300_rfpsplcrct.pdf)
快撑死的鱼
- 粉丝: 2w+
- 资源: 9156
最新资源
- 12 -竞业禁止协议 (2).docx
- 11 -竞业禁止协议 (1).docx
- 使用Python和ROS接口Carla与MATLAB.zip
- 警惕ChatGPT 4.0国内非官方免费使用的多重风险
- 收集的MATLAB例程的球谐波变换和相关的操作在球谐波频谱.zip
- 示例代码在MATLABOctave卡尔曼滤波初学者.zip
- 水下图像增强融合算法matlab.zip
- 数字信号处理大作业Matlab实现语音分析加噪声频谱分析滤波器等等内附报告Matlab for speech anal.zip
- 02-【劳务合同】-01-2023新版劳务合同范本【附使用说明】.doc
- 02-【劳务合同】-03-2023新版劳务合同范本【全国通用】.doc
- 02-【劳务合同】-02-2023新版劳务合同范本【附使用说明】.doc
- 04-【实习合同】-01-实习协议书.doc
- 04-【实习合同】-02-实习协议书.doc
- 06-【退休返聘】-02-退休返聘协议书.doc
- 水下图像颜色恢复的MATLAB代码.zip
- 10-【附件】-09-变更劳动合同协议书.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈