2021-03-18 08:41 AM
Hello all,
I worked with the Nucleo-F429ZI (which includes the STM32F429ZI) at the project start. I updated my software via UART and do following steps:
Then I designed my own PCB with the STM32F429ZI. My software works on it and I can update it with the STM32CubeIDE and the SWD connection (PA13 and PA14). Now I want to update the software via UART and the bootloader:
Additional informations:
I have very little experience with a bootloader so I hope you can help me. The functionality is very important for me and my project.
Best regards,
Tobias
Solved! Go to Solution.
2021-03-23 05:55 AM
Thank you for the suppert! I could solve the problem.
The connection from the USB transceiver to USART1 worked. The problem was the BOOT1 pin. After I connected it with GND I could update the software. The reason why the update works on the Nucleo-F429ZI is following: Due to the environment on the board, the pin tended towards GND. On my own PCB the pin tended towards 3V3.
2021-03-18 09:27 AM
Can't some of the bootloaders be activated before the UART bootloader? Is there activity on other bootloader pins (see AN2606)?
JW
2021-03-18 09:36 AM
Check AN2606, look for other pins which might be transitioning and recognized as contact. ie a GNSS receiver that starts squawking at startup.
It is not looking for the 0x7F data pattern specifically, it is using the pulse to measure a baud rate. Watch USART3
2021-03-18 10:03 AM
Thank you for the quick response!
Interfaces:
2021-03-18 10:22 AM
It's not about the interfaces but about the pins. You can have a signal toggling from outside on e.g. PC11 and that may activate the USART3 bootloader.
Also make sure the connection you have from the USB transceiver to USART1 pins (PA10/PA9) works as expected - try e.g. echo in the application.
JW
2021-03-23 05:55 AM
Thank you for the suppert! I could solve the problem.
The connection from the USB transceiver to USART1 worked. The problem was the BOOT1 pin. After I connected it with GND I could update the software. The reason why the update works on the Nucleo-F429ZI is following: Due to the environment on the board, the pin tended towards GND. On my own PCB the pin tended towards 3V3.
2021-03-23 01:58 PM
Thanks for coming back with the solution.
JW