2021-11-02 07:21 AM
Hi, I've designed a custom board that has a STM32F411 and a STM32f446 on it. I would like to be able to have customers update the firmware on the boards as easily as possible. Currently, I program the chips using an ST-Link but can also program over UART using a TTL to USB cable. Now my question; is it possible to program the STM32 without using software provided by ST? I'd like to be able to provide a USB stick and a TTL to USB cable to a customer so they can program the system without having any microcontroller knowledge (or something similar). What is the best way to achieve this?
edit: Just to clarify a couple of points
2021-11-03 05:35 AM
Add USB to serial (TTL) converter to your board? Then you will have serial option (PC, Teraterm) with a standard USB cable.
Also, you can utilize RTS from the serial converter to trigger the update mode. Connect it to BOOT0 or sense from your own updater.
STM32F4 have their own USB controller but it's a lot of work compared to UART+USB converter chip.
2021-11-03 06:17 AM
At the moment my client just needs to plug the thing and flashes automatically, no need to have touch functionality nor OS navigation.
(i could access trough ssh if needed)
The screen just gives a very rudimentary one direction GUI, it feels alive and expensive that way.
You could also get away with a small piezo that goes BEEEEP or BEP BEP.