Skip to main content
Scott Keitzer
Visitor II
January 22, 2020
Question

Can the embedded (factory) IAP code be changed in the field? I need an I2C IAP for the STM32F302. Is there available code for the I2C IAP I could use for a start on my own bootloader?

  • January 22, 2020
  • 2 replies
  • 709 views

..

This topic has been closed for replies.

2 replies

Piranha
Principal III
January 23, 2020

It's not clear which code you want to change. Typically bootloader updates the main firmware, but the bootloader itself is never updated, because doing that can brick the device.

For an example you can take a look on OpenBLT project, but internet is full of other examples also.

Tesla DeLorean
Guru
January 24, 2020

ST doesn't provide source code for the System Loader. It is in OTP/ROM and can't be changed in the field. It is provided as a low level method to unbrick the devices, or factory program them, but most commercial users will want to provide a simpler customer facing tool/method.

There are several examples of IAP (In Application Programming) using different interfaces.

I'm not really sold on the security or robustness of the System Loader, and it's protocol. You could likely make something much more tailored to your board/application.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..