Hi,
I'm trying to boot the S5D9 from a USB drive. Do I have to configure the USB peripheral as a host? Is it possible to boot from a USB drive?
On the S5D9 manual chapter 55.10. It looks like the MCU USB peripheral is setting up as USB device and data is download from a host machine.
Thanks,
Hello Copper,
I think, it's possible. Not directly though. I mean, you can't execute the code from the flash drive but you can load it from the flash drive into the internal Flash memory and then execute…
I think, it's possible. Not directly though. I mean, you can't execute the code from the flash drive but you can load it from the flash drive into the internal Flash memory and then execute from there.
Here is the link to the sample code of the USB Host Mass Storage Class: https://www.renesas.com/us/en/document/scd/usbx-host-class-mass-storage-module-guide-rev105-sample-code?r=1054626 and here is the user's guide https://www.renesas.com/us/en/document/apn/usbx-host-class-mass-storage-module-guide?r=1054626.
As for the chapter 55.10, you can run the MCU in the boot mode, applying the low level to the MD pin during the MCU reset. In this mode the MCU is recognized as the COM port to which you can download the program using the Flash Programmer https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui. In this case you don't need to write any code, as the bootloader code is already stored in the ROM memory of the MCU.
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/