I'm trying to implement a bootloader over USB for a custom S7G2 device. I see references to the flash loader but we are running SSP 2.4 not 1.3 so I do not have those options.
I also see options to use the bulit-in bootloader but that requires the user to reset the device and for the MD pin to be toggled. The user has no access to the MD pin.
I would like to be able to plug in the USB and be able to upload new firmware. Is there any examples of this being done already?
Hello Aroscoe,
I may suggest you to try the built-in bootloader and control the MD and the RESET pin with the additional UART signals, like RTS and DTR. Many USB-to-UART converters provide these signals so you can try to use them.
As for the ready examples of the USB bootloader, I don't know any provided by Renesas.
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
I am using an onboard USB-C connector so its not a UART converter
Why do you think Flashloader won't work out for you? In the app note it is said that it's applicable for "SSP v1.3.0 or later". Did you try to use it with your SSP 2.4 version?
It think what he suggests is using some unused processor outputs to control the MD pin (vs an external button) to get the processor into the internal bootloader state. Otherwise use the bootloader framework example and build what you like.