2020-12-01 10:06 PM
Thank you for helping.
environment:
MCU: STM32F769BI
Programmer: stm32CubeProgrammer Ver2.6.0
I booted with the BOOT pin of the MCU set to H level and tried to write the hex file by the boot loader using USART1.
It's progressing halfway, but I always get an error and the write fails.
What is the cause?
Attach the log file.
Thank you.
Solved! Go to Solution.
2020-12-10 12:07 AM
Hi @Ebun.1
Your Hex file contain an area in External Falsh memory : segment[1]: address= 0x90000000, size= 0x90C0
The Bootloader doesn't support external memory programming.
If you want to program the external memory to have to pass throw JTAG/SWD.
Hope it helps you.
Houda
2020-12-01 10:15 PM
Make sure that you have selected a suitable External Loader for the board being used.
2020-12-01 11:07 PM
Hi Clive1
I am always indebted.
This time, I designed my own board.
AN2606 states that STM32F76xxx can use the bootloader functionality with USART1.
The MCU is connected with USART1 --USB-Serial Converter --PC (personal computer).
Leave the BOOT pin of the MCU at H level.
Select UART in the Programmer's combo box.
Select the COM port assigned to USB-Serial in the Port combo box.
When you press the Connect button, Data read successfully is displayed in the log, so you can connect.
Select the hex file from Open file and press Download.
Data transmission / reception starts. (I can check it because the LED is attached to the transmission / reception line.)
The log will display Download in Progress and writing will begin.
Sending and receiving will continue up to about 83%, but an error will occur around that point.
The following message is displayed in red in the log.
Error: Write address not acknowledged: 0x90000000
Error: failed to download Segment [1]
Error: failed to download the File
I don't think there is a problem with the interface.
Please tell me the cause of what is wrong.
Thank you.
2020-12-02 11:26 PM
Thank you for helping.
> Error: Write address not acknowledged: 0x90000000
The flash area is 0x8000000 - 0x81FFFFF
it might be?
Is the programmer accessing outside the range?
I think there is one more 0.
2020-12-10 12:07 AM
Hi @Ebun.1
Your Hex file contain an area in External Falsh memory : segment[1]: address= 0x90000000, size= 0x90C0
The Bootloader doesn't support external memory programming.
If you want to program the external memory to have to pass throw JTAG/SWD.
Hope it helps you.
Houda
2020-12-10 02:54 PM
Hi Houda Ghabri
I see.
understood.
Thank you for your response.