2015-11-08 08:06 PM
Hi All,
I am trying to upload my code to an STM32F334 over SPI. In section 2.5.1 Embedded boot loader of the RM0364 Reference Manual, it states the embedded boot loader can reprogram the flash memory through USART1(PA9/10), USART2(PA2/3), or I2C1(PB6/7). Is it possible to program it over SPI with or without a boot loader?Thanks #wait-for-you--clive1-!-!-!2015-11-09 05:00 AM
If the manual says the mode isn't available in the System Loader, then it's not going to be available there. Use that to make the appropriate design choices.
If you write your own loader, you can provide for any mode of operation you want. The methods provided by the System Loader are there to permit production programming of the blank board mounted devices via a simple connector or test-points.2015-11-09 06:04 PM
Thanks for the reply,
Would you have any resources on how to create a boot loader which uses SPI? (or how to create a boot loader for STM32's in general)2015-11-12 10:28 AM