AnsweredAssumed Answered

STM32f4 Discovery - run CODE from USBFS without O/S?

Question asked by hewlett.angus on Aug 16, 2013
Latest reply on Aug 16, 2013 by Clive One
Hi all,

Simple question, I hope.. I understand how to read raw data from a USBFS device on the 2nd USB port, however is it possible to load + run code from a USBFS device connected to the port? I understand that the bootloader will run from Flash first, that's fine, what I'm thinking about is something analogous to the dynamic-loader present in every OS (dylibs on linux, DLLs on Windows etc..), so the bootloader would look for a binary file on the USB device, load it in to memory & then run the code - is it as simple as loading suitable binary code from USBFS in to system memory & issuing a suitable CALL or JMP machine instruction, or is there more to it than that?

Thanks,
     Angus.

Outcomes