Skip to main content
Alexander Kurakin
Associate II
March 26, 2017
Question

USART bootloader protocol firmware

  • March 26, 2017
  • 3 replies
  • 1656 views
Posted on March 26, 2017 at 10:33

Good day!

There is '

http://www.st.com/content/ccc/resource/technical/document/application_note/51/5f/03/1e/bd/9b/45/be/CD00264342.pdf/files/CD00264342.pdf/jcr:content/translations/en.CD00264342.pdf

'. And as I understand, it is used in System memory firmware.

But is there a source code of this firmware and/or of this protocol (for STM3F40x)?

Thanks!

#stm32f4-discovery #stm32f4 #firmware #bootloader #usart
This topic has been closed for replies.

3 replies

Khouloud GARSI
Technical Moderator
March 27, 2017
Posted on March 27, 2017 at 10:51

Hi

kuraga

,

The bootloader is programmed by ST during production and the software is not provided.

However, you can refer to the application note

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/a7/3c/23/3b/05/2d/45/73/DM00281415/files/DM002814pdf/jcr:content/translations/en.DM002814pdf

: Programming an external Flash memory using the UART bootloader built-in STM32 microcontrollers.

This application note is provided with an example firmware '

http://www.st.com/en/embedded-software/x-cube-extboot.html

' showing how to program an external Quad-SPI flash memory using a developed user boot-code based on the internal UART bootloader protocol.

You may refer to the provided example to develop your own bootloader. I think it will really help you.

Khouloud.

S.Ma
Principal
March 27, 2017
Posted on March 27, 2017 at 11:12

Few years back, plugged a bluetooth HC-05/06 cheap module and ironed out an Android App to bootload F103/L151 32kb code. The app notes were explicit enough to work with in the android app development. The only thing to remember was to make sure EVEN parity bit has to be set, and run 115200bps which makes loading more than 32kb quite long...

Alexander Kurakin
Associate II
March 27, 2017
Posted on March 27, 2017 at 11:21

Hi

garsi.khouloud

‌,

Centauris.Alpha

‌,

thanks for replies!

Centauris.Alpha

, I need an exact AN3155 protocol realization's source code...

garsi.khouloud

‌, don't you know some open sourced implementations of AN3155 (controller-side part)?

Uwe Bonnes
Chief
March 27, 2017
Posted on March 27, 2017 at 13:27

Perhaps

https://git.code.sf.net/p/stm32flash/code

?
Tesla DeLorean
Guru
March 27, 2017
Posted on March 27, 2017 at 15:28

Seemed to recall the Flash Loader Demonstrator code had some source, but the protocol isn't inherently complex, we built our own apps here.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..