Close

Trouble with Energia

A project log for MSP432 Libraries

Migrating Libraries to the MSP432

jlbrian7jlbrian7 07/20/2015 at 04:190 Comments

I think that I killed my MSP432 with nothing but bad code.




PC2:~/TI/ccsv6/ccs_base/common/uscif$ ./dbgjtag -E single,number=-261



-----[The explanation of the error number '-261']----------------------------



This error is generated by TI's USCIF driver or utilities.



The value is '-261' (0xfffffefb).
The title is 'SC_ERR_XDS110_FAIL'.



The explanation is:
Invalid response was received from the XDS110.



So, my code built fine in energia, but when I uploaded it the first time it flashed the microcontroller, but could not restart it. I went to one of the example programs and uploaded it with out issue. I went back to the window that generated the error, and tried again. I got the error again. I undid the most recent changes and tried again, still the same problem.




At some point the led on the debugger went from orange to red. I power cycled the board and got just the green led, but now there is no connectivity. Energia halts when it goes to run scripts, and code composer studio gives the -261. I tried to run a factory reset (http://www.ti.com/lit/ug/slau575b/slau575b.pdf, chpt 7) but didn't get that far. no connectivity.




Not entirely sure that I didn't do something to generate this issue, but I think that there may still be some issues with energia. Be warned if you are using it.




got it. I ran this command ./dbgjtag -f ~/.ti/TI/0/0/BrdDat/ccBoard0.dat -rv, and initially it told me that the connection was already open, even though system monitor showed that nothing was. power cycled the computer and now I get the appropriate output and energia is working again. I guess there is a bug in Energia.

Discussions