cancel
Showing results for 
Search instead for 
Did you mean: 

Bootload via UART STM32F769

An Ha
Associate II
Posted on July 05, 2018 at 12:48

Hi,

I made a LED-Blinking software for the STM32F769. I can flash the software into the MCU using JTAG and ST-LINK Utility.

But I can’t update the MCU via UART. I have some issue!

I tried 2 different settings:

Case 1:

BOOT Pin =High;

BOOT_ADD1 = 0x2000 (Boot from 0x 08000000) (set via ST-LINK Utility)

In this case, the MCU doesn’t go into boot mode. So I can’t flash the MCU via UART

After Reset the user code starts directly (LED is blinking) and I have no chance to update the MCU because the MCU doesn’t go to the boot mode.

Case 2:

BOOT Pin = High;

BOOT_ADD1 = 0x0004 (Boot from 0x 00010000) (set via ST-LINK Utility)

In this case, the MCU go into the boot mode. I can flash the MCU via UART using the 'Flash Loader Demonstrator' but after RESET the MCU doesn’t start the USER code (LED not blinking). The MCU stays hanging in the Boot mode.

The BOOT-Pin is permanently High.

Q1: What I have to do, to update the MCU via UART and after resetting the MCU execute my user code?

Q2: It is ok when I let the BOOT-Pin High or I have to set the BOOT-Pin to low after uploading the program to internal flash?

Thank you for your support.

0 REPLIES 0