Pages: [1]   Go Down
Author Topic: USBASP PROGRAMMER ON Port_#0001.Hub_#0003 NOT SERIAL PORT XX?  (Read 5027 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have installed the USBASP driver and it shows up in the devices list on port #001.Hub #003 type libusb-win32. Arduino needs a port number, so does not upload.

Any suggestions, please?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8697
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure that avrdude (the program the Arduino IDE uses to upload to the Arduino) doesn't know how to find the USBasp device?  It worked for me on a Macintosh and I didn't have to load any drivers.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am running on win7,  and  Arduino IDE claims to have uploaded successfully to the usbasp whether it is plugged into the usb port or not. It does not in fact upload to the micro controller and the "data exchange" led on the usbasp does not light up.
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure that avrdude (the program the Arduino IDE uses to upload to the Arduino) doesn't know how to find the USBasp device?  It worked for me on a Macintosh and I didn't have to load any drivers.

Yeah, Linux and MacOS do not need a kernel driver, WinDoze does:
http://www.fischl.de/usbasp/usbasp-windriver.2011-05-28.zip
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have installed this driver and windows7 seems happy with it. However, when I check the port address in the devices properties it comes up as" port#0001.hub#003". Ardunino does not recognize that, as it seems to want "PORT xx". Windows shows the type as "libusb-win32" whereas when I plug in an Arduino duemilanove, that shows up as PORTS (COM and LPT) and serial converter.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting development= I soldered the jumper into the usbasp which allows low frequency uploading and when I tried to burn a bootloader, the ide suggested I select port 11. It then successfully burned the bootloader onto a blank atmega 328??? I was able to upload the "blink" sketch onto my new Arduino chip using my duemilanove board but I cannot upload anything using the usbasp. Would this be because of the atmega having fuses which need resetting? Not sure if that's the correct terminology.
Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1057
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Arduino needs a port number

In the tools menu you can select USBasp, and then you can use upload using programmer.
In this case you don't need to specify a COM port number
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just remember when you "Upload via Programmer" sketches, it will overwrite the bootloader and you will not have Upload capability from a USB2UART device (i.e. FTDI, duemilanove, etc).  Only the USBasp or SPI device will work.  You will have to reburn the bootloader to put it back.  Also, after you burn the bootloader with SLOW_CLK on, the fuses will be set to run the USBasp at full speed with SLOW_CLK off.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the info-I am learning so much. Just one question please - how do I burn the bootloader with "SLOW_CLK on"?
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

JP1 (SLOW_SCK) for less than 1.5MHz clock communication.  You should have two other jumper locations for Self Programming (JP2) and Target Power (JP3).
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great,  think I've got that now, thanks.

I just find it frustrating that the bootloader burns via the usbasp, but sketches will not upload = I always get  "avrdude: stk500_getsync(): not in sync: resp=0x00" smiley-sad
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you using File -> Upload via Programmer?  If you load a sketch in this fashion, it will overwrite the bootloader and you will not be able to upload via UART.  You will need to reburn the bootloader to reactivate this feature.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been using Tools/ Programmer/ Usbasp  but I tried File/Upload using Programmer and it uploads perfectly.

Thanks very much for the advice.smiley
Logged

Offline Offline
Jr. Member
**
Karma: 1
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i had this problem in 1.5.5 it needed an active comport even though it was not used... i just chose my motherboards
Logged

Pages: [1]   Go Up
Jump to: