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.

LAUNCHXL-CC3235SF: How to use the internal flash memory?

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

Hi!

I am using the CC3235SF launchpad and I would like to flash the program to the internal flash memory in order to have it stored also when the power is off. 

I have configured the SOP pins as 010 which is the functional and flash mode. However, when I remove the usb cable and put it back the device resets and the program has to be uploaded again.

Can you give me some advice of how to flash the program correctly?

Thanks in advance!

Best regards,

Artemis

  • Hi Artemis,

    Did you used Uniflash software to program image into SPI flash? Please see this article.

    Jan

  • Hi Jan,

    Thanks for the prompt reply! 

    I will try that and let you know, however, I was wondering if I need to use Uniflash even for a simple program, like blinking an LED on the board?Or is it some simpler way like jumper setting for starting the program each time the power is on without reprogramming it.

    Also, just to be sure is this configuration correct for CC3235SF?

    Thanks a lot,

    Artemis

  • Hi Artemis,

    From development IDE like a CCS you can upload code directly into XIP flash and debug there your code. If you need to code which persist restart you need to use Unfilash (with one exception). Your jumper settings is OK.

    Exception which I talked is described here.

    Jan

  • Hi and Happy New Year,

    Sorry for the late reply. I am using an Energia sketch as a base for my application, so if I am correct I cannot upload it via Uniflash?

    I tried the bootloader option also but haven't succeeded yet unfortunately.

    Do you have any other advice? 

    Thanks in advance!

    Best regards,

    Artemis

  • Hi Artemis,

    If you need to have persistent code after restart, you need to use Uniflash. There is no other option then use Uniflash.

    To be able use Energia generated code at CC32xxSF device you have two options:

    • you can use my bootlaoder stated above
    • use this trick described by Michael

    But my bootlaoder was developed for CC3220SF device, and it may/may not be functional at CC3235SF. This you need to test by yourself. In case of issue you can change code of bootloader. CCS project with bootlaoder is available here.

    Questions related to Energia is better to ask at this forum.

    Jan

  • Hey Jan,

    I tried again using your bootloader and it worked for cc3235SF (at least for a simple example).

    Thanks a lot for the help!

    Have a nice day,

    Artemis