How do I write a binary image to WICED micro?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
I have a binary image that I would like to write to the MCU?

How do I do that?
0 Likes
1 Solution
Anonymous
Not applicable
Well Jason, Im glad you asked, read on for enlightenment:

The following command, run in a shell from the WICED-SDK root directory, will load the <<<MY_BIN FILE>>> to an STM32F4xx MCU.

c:> Tools/OpenOCD/Win32/openocd-all-brcm-libftdi.exe -f BCM9WCD1EVAL1.cfg -f stm32f4x.cfg -f stm32f4x-flash-app.cfg -c "flash write_image erase <<<MY_BIN_FILE>>> 0x08000000 bin" -c shutdown

(FYI, the *.cfg OpenOCD config files are located in the <WICED-SDK>/Tools/OpenOCD directory)

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable
Well Jason, Im glad you asked, read on for enlightenment:

The following command, run in a shell from the WICED-SDK root directory, will load the <<<MY_BIN FILE>>> to an STM32F4xx MCU.

c:> Tools/OpenOCD/Win32/openocd-all-brcm-libftdi.exe -f BCM9WCD1EVAL1.cfg -f stm32f4x.cfg -f stm32f4x-flash-app.cfg -c "flash write_image erase <<<MY_BIN_FILE>>> 0x08000000 bin" -c shutdown

(FYI, the *.cfg OpenOCD config files are located in the <WICED-SDK>/Tools/OpenOCD directory)
0 Likes