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.

CC3220MODA: Bootloader UART Programming - Post Programming Was Unsuccessfully Executed

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

Hello,

I have designed my own PCB with the CC3220MODASF12MONR module as the target MCU module, and I am able to connect to it via a CC3220SF-LAUNCHXL, jumping the UART TX/RX and nRESET lines.

So far the bootloader protocol seems to be working with device identification and flash programming being executed.

However at the end of the flash programming step, I am seeing an error saying

[ERROR] Cortex_M4_0: Post programming was unsuccessfully executed

The end result is that my image is not properly flashed due to this post programming error. I can see the default WiFi access point output on the serial lines when I power up the device, but can't load my image on there yet.

Can someone please guide me in fixing this?

Thank you.

  • This is the output I'm seeing btw:

  • Hi Etsee,

    The CC32xx devices require that you use the ImageCreator tool to generate and flash images to the device. You can find more details about flashing a SLI image in the UniFlash ImageCreator User Guide.

    You can also find all programming options and types of image files in the 8.12 Programming chapter of the NWP User Guide.

    Best regards,

    Sarah

  • Hi Sarah,

    Thanks for the response. I've been using Image Creator to create the SLI image with the target MCU set to the CC3220SF in my CCS IDE to generate the .bin, and using the provided service pack from TI. I went through the regular process of making an image through Image Creator and used the bootloader mode with Uniflash to flash the SLI to the CC3220MODASF. The image showing the unsuccessful post programming event is what happens when I use the SLI image from Image Creator with the right MCU. Further I am able to see the 4096kb of flash when I connect to the MODASF, and it shows me the right amount of user code space available too.

    Still not able to make this work.  :-(

    Best,
    Etsee

  • Hi Etsee,

    The SLI image format is only designed to be flashed from the ImageCreator tool, either from the Burn menu in the GUI or the SLImageCreator.exe CLI. Why are you trying to use this other method?

    Best regards,

    Sarah

  • Hi Sarah,

    I had tried that too - as that's the method I use for flashing the development board. I used the ImageCreator tool and it showed the programming process to be completed, yet I can't see any signs of my image booting when I reset the device. When I connect to the device through UniFlash, it shows that the "Available for User Files" space is 1436KB, so I know something is being written. I have also verified that factory mode reset works when using SOP 0 and 1 with a power-on-reset, and that resets the "Available for User Files" space to 3500KB. So something is happening, but I can't load my program.  :-(

    I have a question regarding the build for CC3220MODASF - can that be the source of the problem? I am using the CC3220SF device as the target for building for the CC3220MODASF. Is that the correct target device for build?

    Thanks for your help.

    Best,
    Etsee

  • Hi Etsee,

    Yes, you should use the CC3220SF device as the target for building for the CC3220MODASF. How are your SOP pins configured during flashing and reset?

    Can you try flashing an example from the SDK using the same ImageCreator method?

    Best regards,

    Sarah