Having trouble uploading code to the board


#1

I installed the drivers and imported the library, but when trying to upload the code to the board, the computer cannot find the board. I tried all the different COM ports as well as selecting the UNO and the Leonardo for board type.


#2

Hello

You can try to use mBlock to do this, please download it from http://mblock.cc/download/

Thanks


#3

@erocker88, are you using mBlock? whats the version you having? have you tried to change another USB cable or restart the software?


#4

I have the Orion. The kit is the mDrawBot. When connecting with mBlock from peterlee recomendation, it will flash and beep.

When I try to uplaod the program with arduino I get this message:

processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:133)
at processing.app.debug.Compiler.upload(Compiler.java:158)
at processing.app.Sketch.upload(Sketch.java:1260)
at processing.app.Sketch.exportApplet(Sketch.java:1202)
at processing.app.Sketch.exportApplet(Sketch.java:1174)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2471)
at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port ‘COM15’.
at processing.app.Serial.touchForCDCReset(Serial.java:92)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:122)
… 6 more
Caused by: jssc.SerialPortException: Port name - COM15; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:86)

And it never finishes the upload.


#5

Hello

Your serial port has been used, when upload you should switch off the mDraw


#6