2025-04-17 11:48 PM
IS ANY BODY HELP ME IN THE OTA OF THE STM32U575 USING THE ESP32
1. HOW TO SETUP THE SYSTEM BOOTLOADER TO RECEIVE THE FIRMWARE (.BIN FILE) VIA UART AND HOW TO SELECT WHICH UART TO USE FOR UPLOAD , THERE ARE MORE UART WHICH SUPPORT THE UART FLASHING HOW TO ACTIVATE THE DESIRED UART FOR THE FIRMWARE UPLOAD
2. PLEASE SHARE ME ANR RESOUSE REGARDING SYSTEM BOOTLOADER CONFIGURATIONS
3. PLEASE SHARE ANY ESP32 FIRMWARE TRANSMIT THE BINARY FILE VIA UART
2025-04-18 12:20 AM
Welcome to the forum.
PLEASE DON'T WRITE THE WHOLE POST IN ALL CAPITALS!
2025-04-18 12:46 AM
sorry for that
in stm32u575
Will you help me ,how the system bootloader works , how to activate that and how to receive the firmware via usart and selecting the uart for the firmware is ther any configuration
2025-04-18 2:01 AM
AN2606 describes the pins involved. Shows the UART Rx pins. You send an 0x7F data pattern at baud rate with 8E1 format for it to auto baud.
AN3155 describes the protocol after you reset with BOOT0 HIGH.
See examples on Arduino MKR WAN1300 Github
2025-04-21 1:38 AM
13:58:55.004 -> [BOOT] Initializing bootloader...
13:58:55.069 -> [NACK] Received
13:58:55.069 -> [BOOT] Failed to sync with STM32 bootloader
what may be the reason for this @Tesla DeLorean @Andrew Neil for , i am receiving this the above blocks.
NACK receved after sending the 0x7F is it the right command to init the bootloader.
2025-04-21 12:15 PM - edited 2025-04-21 2:29 PM
Seeing these messages in WHAT?
The 0x7F at 8E1 is a one-shot deal. You reset the STM32 into the System Loader and first talking interface wins. Watch for modem or GNSS that squawk at startup.
To try again you must reset. You don't get a second chance.
ie you send 0x7F and get an 0x79 back, or you don't.
2025-04-21 11:48 PM - last edited on 2025-04-22 1:26 AM by Andrew Neil
Hi @Tesla DeLorean ,
Now the Problem got updated , I am received the 0x79 back , the binary file only not get updated what may be the reason
2025-04-22 9:45 AM
You seem to have a communications problem.
You'll need to explain how you have this set up, and what exactly you're doing.
Log suggests you're doing an Erase and Go/Jump operation, but you've provided zero actual detail of your system or interactions with it.
2025-04-23 3:53 AM - edited 2025-04-23 3:57 AM
this was my hardware setup @Tesla DeLorean manually controlling the boot pin.
what my condition was i am initialized the bootloader receving the ack 0x79 for that , but the write operation and erase is not done. every time i checked with the cube programmer nothing is erased and written in new. this was my current condition
this was my code:-