cancel
Showing results for 
Search instead for 
Did you mean: 

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?

Scott Keitzer
Associate
 
2 REPLIES 2
Piranha
Chief II

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.

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
Up vote any posts that you find helpful, it shows what's working..