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.

CCS/CC1310: CCS Cloud error programming Launch pad

Part Number: CC1310
Other Parts Discussed in Thread: ENERGIA

Tool/software: Code Composer Studio

Hi,

I try to use CCS cloud with CC1310 launchpad with Energia sketch. Compile pass fine, but when I try to program device I got error:

Cortex_M3_0Memory Map Initialization Complete.
Board Reset Complete.
Can't Run Target CPU: (Error -6311) PRSC module failed to write to a register. (Emulation package 7.0.100.0)

I'm using Mac OS X Sierra (10.12.6) with Chrome version 64.0.3282.186

Any idea?

THX 

Goran

  • OK, I play with this for a while, and it's strange.

    When I create new Energia project from examples, build it, program it, everything work just fine. 

    When I import existing project from computer to workspace, build it, program it,  everything work just fine. 

    But, when I create new empty Energia project, delete content of the file and copy-paste content from local machine (just content, not the file), it start to act strange, ether I get error like above or I get message that setup() and loop() are not defined / but they are there, it is complete fine source that runs without problem on local Energia ?

    Goran

  • Hi Goran,

    Goran Pufler said:
    But, when I create new empty Energia project, delete content of the file and copy-paste content from local machine (just content, not the file),

    If I understand correctly:

    -You create a new empty Energia project in CCS Cloud

    -delete the contents of the generated *.ino file in the CCS Cloud editor

    -copy-paste content from an open file (standard text editor?) on your local machine 

    I tried to reproduce the issue but everything ran fine. However I ran into an issue on Mac where I could not copy-paste from a file outside the CCS Cloud editor into a file open inside the CCS Cloud editor. You were able to do this without issue?

    Thanks

    ki

  • Hi Ki, this is exactly what I do, I open local Energia file (outside cloud) , create new ino in CCS Cloud and paste content and then problem starts. I play with it now and if I just copy-paste part of code, it work fine, but when I go:

    Energia for mac (outside of cloud) : select all, copy
    CCS Cloud : select all, delete, paste

    then problems starts

    for complicated projects I use CCS but for some light things I like to play with Energia, but it does not work on mac (Error 2, arduino-builder), so I thought that I can give a try to CCS Cloud.

    Goran