Bootloader over SPI for STM32F334
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-08 08:06 PM
Posted on November 09, 2015 at 05:06
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-!-!-!
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-09 05:00 AM
Posted on November 09, 2015 at 14:00
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.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-09 06:04 PM
Posted on November 10, 2015 at 03:04
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)Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-12 10:28 AM
Posted on November 12, 2015 at 19:28 This link explains about USART on STM32F4. you can modify to work with SPI .