Eralt / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Cannot upload via USBasp #360

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit board.txt with a new entry that uses ".upload.protocol=usbasp"
2. Compile and upload a sketch
3.

What is the expected output? What do you see instead?
expected sketch to be uploaded via USBasp, but java wrote:

Binary sketch size: 448 bytes (of a 28672 byte maximum)
java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:417)
    at java.lang.Integer.parseInt(Integer.java:499)
    at processing.app.debug.AvrdudeUploader.uploadViaBootloader(Unknown Source)
    at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(Unknown Source)
    at processing.app.Sketch.upload(Unknown Source)
    at processing.app.Sketch.exportApplet(Unknown Source)
    at processing.app.Sketch.exportApplet(Unknown Source)
    at processing.app.Editor$DefaultExportAppHandler.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Arduino 0020 on Win7 Pro 64 bit
I'm not using an Arduino board at all, I'm trying to upload via USBasp

Please provide any additional information below.
I have no serial ports, the option is also greyed out (which seems expected).

Original issue reported on code.google.com by frank.zhao.main@gmail.com on 28 Sep 2010 at 3:03

GoogleCodeExporter commented 9 years ago
Oh I did select my board before step 2

Original comment by frank.zhao.main@gmail.com on 28 Sep 2010 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 22 Sep 2011 at 4:12