2021-12-09 06:31 AM
Normally I use ST-link for programming. But I can not see data in serial port on computer. I use TMS,TCK,RST pins for programming. I would like to solve this issue for my new design. Could help me please? What I need to learn exactly ?
2021-12-09 06:58 AM
Review App Note AN2606 to understand the supported mode and pins for the ROM based System Loader
To program via a COM port / UART you could use the STM32 Cube Programmer application in UART/COM mode.
You'd enter the System Loader on the F446 by pulling the BOOT0 pin HIGH and reseting the device.
The protocol is described in other App Notes, AN3155 as I recall.
2021-12-09 07:03 AM
You can use the STM32CubeProgrammer together with the correct settings for the boot sector which can be found in the AN2606, section 34 and table 2. For the STM32F446 the pattern is 1: Boot0 (pin) = 1 and Boot1 (pin) = 0.
After a reset, the STM32CubeProgrammer should be able to program via the USB-UART converter.
Regards
/Peter