Offline downloader

1. Offline download tool Mini-Pro V2

Second, configure stm32CubeIDE to generate hex files

In addition, please note that the optimization level selected during debugging should be consistent with the optimization level during downloading, otherwise the program operation may be inconsistent with the debugging time. What I encountered was that the delay time changed.

Three, offline download steps

1. Connect the device and select the chip

2. Add firmware.

Note that if it is a bin file, pay attention to the download address. If the address is wrong, it cannot be downloaded.

 3, option byte.

 4. Generate a mirror image file, which contains the program firmware. First generate the mirror image file, and then synchronize it to the downloader, so that the firmware will be stored in the downloader and can be downloaded offline.

Instructions: First generate the image file, you can choose the storage location, then you can save the currently configured image file, click to synchronize to the downloader (not in U disk mode), and that’s it. If there is a configured image file before, you don’t need to generate an image, but the previous configuration must not be missing, directly find the image file, and then click to synchronize to the downloader. Note: Synchronization method, the second item may not be used, whether it is a generated or previous image file, only the first synchronization method can be used.

5. Download to the MCU.

Pay attention to the hardware connection. After the connection is completed, power on and click the button. It will take a long time, so please wait patiently.

Guess you like

Origin blog.csdn.net/m0_38012497/article/details/131409619