This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF-LAUNCHXL: Program CC3220SF with Rowley CrossWorks

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3200, CC3220SF

I haven't been able to reset the device under debug control, the reset that worked with the cc3200 device resets the debug port on the cc3220f. 

I can program the on-chip flash, however the device copies from the s-flash to the on-chip flash on each hard reset. If I'm reading section 21.10 of the TRM correctly I have to get a header into the s-flash that has 0xEFA3247D in the 3rd word of the s-flash.  Do you know of any way I can do this?

Cheers

--o

  • Hi Ofer,

    Please refer to one of the C3220 SDK examples. At the bottom of "CC3220SF_LAUNCHXL.c" you will see how the header should be used (if you enable __SF_DEBUG__). You should also refer to the cmd file to see how the ".dbghdr" is configured at the top of the image.

    The header should appear in the image that you download through the debugger to the on-chip flash.
    Upon reset, the bootloader will check the header before it overrides the image from the s-flash.
    If you enable __SF_DEBUG__ (i.e. use the debug header) - the bootloader will retain the existing debug image.

    Br,
    Kobi