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: Flash gang-programming clarification

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH

In production is expected to use gang-programming to directly burn the flash memory.
Few questions:

  1. for this operation should the SOP lines configured as UARTLOAD (non-functional) and then toggled to (UARTLOAD_FUNCIONTAL_4WJ) ?
  2. the LP provide J25 for direct flash access. I wonder if there is a standard tool that fit there.
  3. using gang-programming the UART is not needed, right?

  • Hello Mark,

    Gang programming (for CC31/32) usually refers to directly programming the serial flash with a special image. This image is then subsequently unpacked the first time the CC31/CC32 boots up and processes this image. This is particularly useful in production when you want to program the serial flash independently, or without streaming the programming image via Uniflash/UART to the CC31/CC32 for programming the serial flash.

    To answer your questions :-

    1. Booting from a gang-image on CC3220, you should use SOP mode 000 (FUNCTIONAL_4WJ)
    2. Yes, J25 allows connection with a Tag-Connect cable (e.g. www.tag-connect.com/TC2050-IDC-NL)
    3. Yes, UART is not 'required' - however, still useful for development.

    ~roger

  • Thank you very much Roger!
    Last questions:

    - what are the actual differences between FUNCTIONAL_4WJ and UARTLOAD_FUNCTIONAL_4WJ modes? I read the ds but I'm talking about a pratical point of view

    - holding in reset the CC3220, allows me to gang program the flash in-system? I cannot have the flash programmed before mounting

    - if the last answer is positive, I might hardwire SOP lines in FUNCTIONAL_4WJ to avoid to toggle them?
  • Hello Mark,

    The UARTLOAD_FUNCTIONAL_4WJ is a new mode introduced in the CC3x2x device versions. This is a combination of UARTLOAD and FUNCTIONAL_4WJ modes. In this new mode, the CC3x2x will first check the UART for a break signal on boot (as UARTLOAD mode), so that a serial bootloader can attach to the device and reprogram the device. This was an enhancement to help developers and remove the need to change the SOP boot pins when switching into reprogramming mode. If this break signal is not seen, then the CC3x2x will continue booting from the image stored in serial flash (as FUNCTIONAL_4WJ mode). *However*, this new mode cannot be used to process an initial gang-image, you will need to use the FUNCTIONAL_4WJ mode for that.

    Yes, holding in reset will prevent the CC3x2x device accessing the serial flash and allow you to program it with an external programmer.

    Yes, for your use-case, you could stick with FUNCTIONAL_4WJ mode.

    Hope that helps,
    ~roger