Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Energia 0101E0011 and COM Port problems

$
0
0

I tried searching for likely topics, admins feel free to move it to a more suitable Topic

 

Hello, I hope someone can tell me how to get out of this situation:

 

Windows 7

Energia 0101E0011

MSP430G2553 

 

YES I have the drivers installed!

 

Lately I've been seeing this more and more

 

I'm flailing away trying to upload my sketch. (Used to work okay)

 

I make some changes (often), yes it compiles ok but hangs on upload

 

I use Control-M to upload and open serial monitor (my preferred method but none seem to work now)

 

The progress is displayed below the actual sketch in Energia.

 

It will get to Erasing...Programming...Done, 3184 bytes total. 

 

Done uploading, it tells me BUT

 

The Upload button in the tool bar at the top stays yellow

 

eventually I get this message below

processing.app.SerialException: Error opening serial port 'COM5'.at processing.app.Serial.<init>(Serial.java:152)
at processing.app.Serial.<init>(Serial.java:92)
at processing.app.SerialMonitor.openSerialPort(SerialMonitor.java:209)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2525)
at java.lang.Thread.run(Thread.java:619)
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:171)
at processing.app.Serial.<init>(Serial.java:137)
... 4 more
 
this is driving me nuts! It used to work (most of the time)
 
When I get messages like this, and it fails to upload my sketch, I pull the USB, powering down the board, close Energia, 
 
open Energia again. Checking Tools>Serial Port, either I have a COM Port selected or its grayed out.
 
I repeat the above steps again and again. MAYBE I'll have a COM port selected. I can't choose one, have to accept whatever appears (or does not appear)
 
How can I debug my code if it won't even upload?
 
Please help. Thanks

 

Attached File  PWM_01.ino   1.46KB   0 downloads


Viewing all articles
Browse latest Browse all 2077

Trending Articles