- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are developing an application based on 3.5.2 and it is suppose to use OTA feature.
The application size currently has enforced us to use external serial flash to keep downloaded copy of code.
For production flashing we do not want SDK kind of environment to be used.
Also h/w wise module will have option of only to be programmed through JTAG.
Is there any package of offline openocd using STLink available to solve the situation for us.
Cheers,
Shishir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depending on this 3.5.2 might not be a stable long term release to use
Regarding programming you can use an olimex jtag ftdi programmer to program offline through openocd
This is the recommended way
The other way is to program the flash in a flash programmer before assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depending on this 3.5.2 might not be a stable long term release to use
Regarding programming you can use an olimex jtag ftdi programmer to program offline through openocd
This is the recommended way
The other way is to program the flash in a flash programmer before assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are using murata YD module(STM32F205 + BCM43362).
My question was more inline with the requirement of flashing of external serial flash along with flash memory of micro for OTA to work reliably.
I believe there is some magic behind download_apps command which makes OTA working.
right now we merge bootloader + DCT + APP binary together at appropriate address of memory and flash through STLink ( utility + dongle) as single binary and it works for us.
But with OTA there is addition step involved to program external flash memory with something.
Is that also possible some how to use OpenOCD + STLink?
I'll procure olimex jtag to give it a try.
Cheers,
Shishir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no specific magic for the external SFLASH
it just uses an openOCD tcl script to program the SFLASH via the MCU with the appropriate OTA/Factory reset image
You can use a flash programmer to do the same
If you want to do this via the JTAG and using the ST-Link - then you will have to run the same tcl script which invokes an application on the MCU to read/write SFLASH
If you doing this in the production line - I would recommend you use a Flash programmer to program the SFLASH before mounting