2021-10-19 03:18 AM
Hi Everyone,
I want to do e flash loader device that can be load binary to mcu via Swdio pin. Is any one can give advice about this? Maybe stlink hardware can be use or any STM32-Disco board can be use I don't know.
I just want to create something like this. Because, I have many of device in field and some time I need to do firmware update. My devices don't have any bootloader option. Because of that I have to update devices manuel with STlink. Field personnel that do this firmware update can't find computer always. So if I can create a device that can be take power from my device and can be load new firmware that has inside it will be useful.
I'm open to any advice for development.
Solved! Go to Solution.
2021-10-19 06:29 AM
Search "STM32 Stand-alone Programmer", or STM ISP
Perhaps look at OpenOCD, CMSIS-DAP, BIack Magic Probe type implementations.
Another method used is NRST, BOOT0, USARTx implementation using the ROM based System Loader and USART protocol (AN-2606, AN-3155 ?)
2021-10-19 06:29 AM
Search "STM32 Stand-alone Programmer", or STM ISP
Perhaps look at OpenOCD, CMSIS-DAP, BIack Magic Probe type implementations.
Another method used is NRST, BOOT0, USARTx implementation using the ROM based System Loader and USART protocol (AN-2606, AN-3155 ?)
2021-10-19 06:47 AM
Thankyou for search advice. I will look on it.
In my case unfortunately USART non an option. Because any of my devices in field didn't have USRT connection on it.
2021-10-19 08:50 AM
Yeah, field updates and FOTA are generally things to think about and implement BEFORE deployment.
If you have standard JTAG/SWD headers then Stand-Alone Programmers (Button Boxes) would be an option, although having access to those for a technician seems more convoluted than being able to connect an RS232 cable to a laptop.
For systems with large code/data payloads the use of USB Flash sticks, MicroSD cards, or QSPI Dongle device might be easier to deploy and faster.
2021-10-19 08:54 AM
Thematically similar https://community.st.com/s/question/0D53W000019CzkZSAS/programming-secondary-chip-using-swd-interface
2021-10-26 12:14 AM
Thankyou for all. I ordered a Stand-alone Programmer. Fist I will try it if its work for me.