Which platform are you using - which MCU and which Broadcom device?1 of 1 people found this helpful
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
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.
1 of 1 people found this helpful
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