- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to flash image on STM32F4xx directly from WICED IDE
Solved! Go to Solution.
- Labels:
-
Windows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am able to flash the images on STM32f407vg via WICED sdK using stlink,
Go to -> Run --> External tools --> External tool configuration..
Location: (Give the path to the STLink)
C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI.exe
Arguments:
-c SWD UR -P "path\to\the\bootloader.bin" 0x8000000 -V "after_programming" -HardRst
-c SWD UR -P "path/to\the\DCT.bin" 0x8004000 -V "after_programming" -HardRst
-c SWD UR -P "path\to\the\app.bin" 0x800C000 -V "after_programming" -HardRst
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have STM32Fxx board and able to build the BCM943362WCD2, which is using the stm32fxx source code. When I am trying to download , it's through the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the error? In the sdk openocd is used to flash the image directly to the MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the replay,
STM32F4xx Discovery board is not detected by Openocd driver. It detected as a STM-link. When I am trying to download the image, it through the error as "
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****
".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the discovery board - the SDK doesn't map directly because as you noticed it is not supported by openOCD
You will have to probably download via the STLINK utilities using the binaries generated from the SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanks for the replay.....
I build, create and flashed the binaries (bootloader at 0x08000000, dct at 0x08004000 and app at 0x0800C000).
The problem is that boot loader is running but application "application_start()" is not getting called.Bootloader is not jump '__jump()" into application location. I spent a week, could not solve it.
Would you help us ?....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am able to flash the images on STM32f407vg via WICED sdK using stlink,
Go to -> Run --> External tools --> External tool configuration..
Location: (Give the path to the STLink)
C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI.exe
Arguments:
-c SWD UR -P "path\to\the\bootloader.bin" 0x8000000 -V "after_programming" -HardRst
-c SWD UR -P "path/to\the\DCT.bin" 0x8004000 -V "after_programming" -HardRst
-c SWD UR -P "path\to\the\app.bin" 0x800C000 -V "after_programming" -HardRst