USBaspLoader, need host driver for arduino

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
xiao

USBaspLoader, need host driver for arduino

Post by xiao » Tue Dec 09, 2008 5:16 am

this is looking for help for following,


MCU : ATmega8, 12Mhz crystal
fireware :USBaspLoader.2008-02-05.zip
mega8_12mhz.hex
hfuse = 0xc0
lfuse = 0x9f


Two options were adopted to test this platform, the result is following,

---------------
a) by uses the driver of libusb-win32,

the device is recognized by the host as [ AVR USB device ],
ardinuno reports the following,

avrdude: invalid byte value (null) specified for immediate mode
avrdude: write to file 'null' failed

b) by uses the driver of USBasp,

the device is recognized by the host as [ USBasp ],

ardinuno reports the following,

avrdude: can not found the device VID = 0x16c0, PID = 0x05dc
---------------


due to the fact that we are not familiar with the arduino (version 0012), not sure how these host driver will work with the arduino.



further the step to test with ardunino with upload the LED blink example, the output by arduino as following. please advise how to deal with this metabroad vs the arduino is possible.



---------------arduino output-----------
Binary sketch size: 894 bytes (of a 4800 byte maximum)


processing.app.SerialException: Serial port 'COM1' not found. Did you select the right one from the Tools > Serial Port menu?

at processing.app.Serial.<init>(Serial.java:149)

at processing.app.Serial.<init>(Serial.java:72)

at processing.app.Uploader.flushSerialBuffer(Uploader.java:66)

at processing.app.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:73)

at processing.app.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:48)

at processing.app.Sketch.upload(Sketch.java:1632)

at processing.app.Sketch.exportApplet(Sketch.java:1701)

at processing.app.Editor$41.run(Editor.java:2004)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

---------------arduino output-----------

chrismerck
Posts: 1
Joined: Tue Jul 20, 2010 5:11 pm

Re: USBaspLoader, need host driver for arduino

Post by chrismerck » Tue Jul 20, 2010 5:11 pm

xiao,

If I understand you correctly, you have USBaspLoader installed on an AVR and you wish to upload a sketch to the chip from the Arduino. This would require a modification to the Arduino software to make it more flexible (allow bootloaders to use ports other than serial ports). Alternatively you could implement one of several dirty work-arounds. I'm currently working on finding the least dirty of them. I will post my findings.

Regards,
Chris

Post Reply