Charlie 1 Posted July 10, 2015 Share Posted July 10, 2015 Hello everyone! I have just bought a C2000 Piccolo LaunchPad Evaluation Kit, de LAUNCHXL - F28027F. I have also just started learning to program in Energia, and I am following the tutorials in the guide section (they are very useful if someone is a beginer). While I was doing the first tutorial (Blinking LED), it appeared this error: "Put C2000 LaunchPad switches (S1) ON-OFF-OFF (UP-DOWN-DOWN), ensure the back channel serial connection is enabled, and press the reset button. If the download fails try a baud rate below 38400." I put the switches as it says, and I also decreased the baud rte to 10000, but the error does not disappear. Moreover, I only changed 1 line of code because I haven't got the same board as the example, so I can't understand what I am doing wrong. Anyone can help me? Thanks in advance! PS: I copy the main code I have in my sketch, and also upload it. void setup() { Serial.begin(10000); pinMode(LED0, OUTPUT); } void loop() { digitalWrite(LED0, HIGH); delay(1000); digitalWrite(LED0, LOW); delay(1000); } prova1.ino michelolzam 1 Quote Link to post Share on other sites
bluehash 1,581 Posted July 12, 2015 Share Posted July 12, 2015 Welcome to the forum. I'm unfamiliar with the C2000 with Energia. Some things to try: Restart Energia. Does the board enumerate in your Device Manager. Maybe @@TI_Trey can help. Quote Link to post Share on other sites
michelolzam 0 Posted August 3, 2015 Share Posted August 3, 2015 Hi! I am having the exact same problem. Sometimes when pressing the reset button for a while before clicking "OK" and then uploading the program again it seems to work, but most of the times it simply doesn't. @@Charlie, were you able to fix the problem by now? Quote Link to post Share on other sites
Rei Vilo 695 Posted August 3, 2015 Share Posted August 3, 2015 Don't confuse the speed of the Serial console Charlie 1 Quote Link to post Share on other sites
Rei Vilo 695 Posted August 3, 2015 Share Posted August 3, 2015 With Energia 16, speed seems to have been modified down to 9600... but the serial_loader2000 utility doesn't have the right permissions for executable on Mac OS X. bash -c /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/c2000/serial_loader2000/macos/serial_loader2000 -f /var/folders/5d/dky9xc691m32kztqnhkn8bhw0000gn/T/build3228823265398983200.tmp/Blink.cpp.txt -k /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/c2000/F28027_flash_kernel/Debug/flash_kernel.txt -b 9600 -p /dev/tty.usbserial-cc3200B bash: /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/c2000/serial_loader2000/macos/serial_loader2000: Permission denied Open a Terminal window and run to make it executable. sudo chmod +X /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/c2000/serial_loader2000/macos/serial_loader2000 Charlie 1 Quote Link to post Share on other sites
Charlie 1 Posted August 4, 2015 Author Share Posted August 4, 2015 Hi everyone, @@michelolzam, now that @@Rei Vilo mentioned this, i will try it as soon as possible and check if it works. I will tell you something soon! Thanks in advance!! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.