cancel
Showing results for 
Search instead for 
Did you mean: 

Update via UART without circuit jumper STM32F769

An Ha
Associate II
Posted on July 07, 2018 at 17:32

Hello,

I have a custom board with the MCU STM32F769. We integrate the board inside a machine. To update the software, the user has access only to RS232 and power ON/OFF switch.

We use another controller (not from STM ) and we wanna change to STM controller. But we have to use our current flash procedure:

Power ON --> the UART go into the Boot mode for few seconds.

If the UART detects a flash command from the flash tool, the controller begins to update the software.

If there no command from the Flash tool detected, the controller executes the user code.

Is there a way to flash the STM32F769 through the UART without to set any jumper on the circuit.

Thank you for your help

1 REPLY 1
Posted on July 07, 2018 at 17:49

You write the software placed on the F769, you can make it do whatever you want, right?

Use the first flash block for your own loader code, have it wait, have it check the integrity of the App portion of the flash, if that is missing or corrupt enter a recovery mode.

Look at IAP and DFU example code for the platform. Might also be able to jump into the ROM, but writing you own code is probably the most efficient method, and you could implement a standard protocol like X-MODEM-1K, or whatever.

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