Other Parts Discussed in Thread: CC2541S
Our product has multiple CC2541s connected to a Stellaris MCU. We want to use the Stellaris SPI to program the CC2541s, primarily for initial manufacturing, but also to permit field upgrade of firmware. Is there any published guidance for flash programming of a CC25xx device from an external MCU?
The User's Guide (SWRU191C), which elsewhere is very thorough, has only this cryptic paragraph:
"Programming of the on-chip flash is performed via the debug interface. The external host must initially send instructions using the DEBUG_INSTR debug command to perform the flash programming with the flash controller."
Is the procedure to load a program using DEBUG_INSTR, opcode by opcode, into SRAM, which will then execute, receiving the firmware bytes and writing them to flash?
Thanks