Skip to main content
Visitor II
October 19, 2021
Solved

Flash loader with another mcu

  • October 19, 2021
  • 3 replies
  • 1569 views

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.

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    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 ?)

    3 replies

    Graduate II
    October 19, 2021

    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 ?)

    Yunus ARIAuthor
    Visitor II
    October 19, 2021

    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.

    Graduate II
    October 19, 2021

    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.

    Graduate II
    October 19, 2021
    Yunus ARIAuthor
    Visitor II
    October 26, 2021

    Thankyou for all. I ordered a Stand-alone Programmer. Fist I will try it if its work for me.