Hello
MCU:
RX66T
E2STUDIO:
Version: 2023-01 (23.1.0) Build Id: R20230106-1556
CC-RX:
3.05.00
We need OTA in our product,( in fact , we want to update the firmware through UART, CAN or SPI).
what we can find from renesas is :RX Family C/C++ Compiler Package (CC-RX) (renesas.com)
Can you give us some suggestions?
Dear Jonathan, I hope you're doing well. I noticed you mentioned updating firmware through UART and I wanted to clarify some things. If you have another controller connected to the MCU and you want to implement OTA through it, the RX66 has a preloaded bootloader inside it and can program the MCU through UART and USB. You can check this out.
However, I'm not sure if this applies to your case. If you want to implement self-programming and take control of flash programming by the MCU itself, and fetch programming data through an interface like UART, please let me know. If you have any further questions, please don't hesitate to ask. Best regards,
Hossein.
If this or any other user's response answers your concern, kindly verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/en-support.renesas.com/.../
Dear Hossein:
Thanks for your reply!
"44.7.1 Boot Mode(SCI inteface)" is an official way for upload the firmware. And if we upload firmware in this way, we have to follow the steps like Figure 44.33:
But we have different kinds of MCUs, so we have a custom OTA protocol .
So in my side, I want to understand:
1. boot jump to app, app jump to boot
2. boot and app are different projects , how to flash them to device.
3. in boot project, receive bin file through UART /SPI / CAN , then program to flash
Thanks!!
Hello Jonathan, I apologize for the delay and I hope you are doing well. If you are interested in developing your bootloader to perform OTA and want to avoid the risk of firmware corruption, I recommend that you take a look at the Application note and sample code provided in the link below. The section titled "Firmware Update with Module-External Communication Control" should meet your requirements. This module significantly reduces the effort required. https://www.renesas.com/us/en/search?keywords=R01AN5824EJ0106I hope you find it useful, Please feel free to ask any questions you may have.Best regards,
Thanks, this is what I want.