2018-07-05 03:48 AM
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 UARTAfter 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.