Hello Team,
I am using a RA6M3 custom board with MCU R7FA6M3AF3CFB, working with e2 studio IDE and FSP version 4.2.0.
I am new to implementing firmware updates using the MCUBoot bootloader over USB (not over-the-air). I referred to the example project ra_mcuboot_ra6m3 and added the PCDC USB stack in the FSP configuration. I also updated the device number and pin configurations according to my custom board.
ra_mcuboot_ra6m3
I’m not sure if I am proceeding in the correct direction. From the resources and AI tools I’ve consulted, I’ve learned that:
Renesas does not officially support USB DFU by default.
However, it is possible to use the MCUBoot example and integrate the PCDC stack manually to enable USB-based firmware updates.
In this case, the firmware update logic must be implemented manually to handle USB data reception and flash programming.
I would appreciate it if you could confirm if this approach is valid, and what additional steps or best practices I should follow to complete the implementation.
r_usb_pcdc
usb_event_callback()
r_flash_hp
r_flash_lp
bootutil
The above information was suggested by an AI tool while I was researching how to implement a working firmware update process.
Thank you,
Manthan