I've installed Flowcode 6 for PIC and AVR, but when I try to send a flowchart to the AVR chip I get following error code:
avrdude.exe: usbdev_open(): did not find any USB device "usb"
I've tried to locate avrdude.exe on my computer, but I can't find it.
On the CD that was shipped with the AVR programmer there is a map with AVRdude on it, do I need to install this separately?
Or what is wrong with this install?
Where should AVRdude be?
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Where should AVRdude be?
Hello,
Do you already have the latest AVR studio installed. If you do then this comes with a driver which I think is incompatible with the Flowcode AVR driver and could be the cause of the problem. You should be able to program using AVR studio.
If you uninstall the device and reinstall using the driver attached here then it might fix the issue your having. For info AVR dude is installed here automatically. C:\Program Files (x86)\Flowcode 6\compilers\avr\bin
Let me know how you get on.
Do you already have the latest AVR studio installed. If you do then this comes with a driver which I think is incompatible with the Flowcode AVR driver and could be the cause of the problem. You should be able to program using AVR studio.
If you uninstall the device and reinstall using the driver attached here then it might fix the issue your having. For info AVR dude is installed here automatically. C:\Program Files (x86)\Flowcode 6\compilers\avr\bin
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: Where should AVRdude be?
Hey BenJ.
I've got this version of AVR studio installed (the datasheet speaks about version 4, so I chose version 4 instead of version 5).
AVR Studio 4.18.700
GUI Version 4, 18, 0, 685
ATmega324P 51
Operating System
Major 5
Minor 1
PlatformID 2
Build 2600
Service Pack 2
Plugins:
AvrPluginAvrAsmObject 1, 0, 0, 48
AvrPluginavrgccplugin 1, 0, 0, 11
Stk500Dll 1, 0, 1, 15
There was a map with drivers in my hardware profile called "Jungo".
This contained two drivers: AVRISP mkII, and one "windriver" or something like that.
I deleted them both and replaced the AVRISP mkII with the one you've provided, but still this error in Flowcode:
C:\------\FLOWCO~1\FLOWCO~3\AVR>"C:\PROGRA~1\Flowcode\v6\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m324p -P usb -c avrispmkii -U flash:w:"testAVR.hex"
avrdude.exe: usbdev_open(): did not find any USB device "usb"
Error returned from [avrdude]
avrdude.exe: usbdev_open(): did not find any USB device "usb"
I opened AVR studio and tried to send the hex file that was created by Flowcode to the AVR (choosing the target and the programmer), but this returned this error:
Debug platform
Could not connect to JTAGICE mkII
on USB or port COM1 to COM4
The programmer (AVRISP mkII came with EB19), is connected via a USB hub. both LED's in the programmer turn green, and the device is connected with the 40P header on the PCB.
To me this seems like a problem with the drivers.
Any suggestions?
I've got this version of AVR studio installed (the datasheet speaks about version 4, so I chose version 4 instead of version 5).
AVR Studio 4.18.700
GUI Version 4, 18, 0, 685
ATmega324P 51
Operating System
Major 5
Minor 1
PlatformID 2
Build 2600
Service Pack 2
Plugins:
AvrPluginAvrAsmObject 1, 0, 0, 48
AvrPluginavrgccplugin 1, 0, 0, 11
Stk500Dll 1, 0, 1, 15
There was a map with drivers in my hardware profile called "Jungo".
This contained two drivers: AVRISP mkII, and one "windriver" or something like that.
I deleted them both and replaced the AVRISP mkII with the one you've provided, but still this error in Flowcode:
C:\------\FLOWCO~1\FLOWCO~3\AVR>"C:\PROGRA~1\Flowcode\v6\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m324p -P usb -c avrispmkii -U flash:w:"testAVR.hex"
avrdude.exe: usbdev_open(): did not find any USB device "usb"
Error returned from [avrdude]
avrdude.exe: usbdev_open(): did not find any USB device "usb"
I opened AVR studio and tried to send the hex file that was created by Flowcode to the AVR (choosing the target and the programmer), but this returned this error:
Debug platform
Could not connect to JTAGICE mkII
on USB or port COM1 to COM4
The programmer (AVRISP mkII came with EB19), is connected via a USB hub. both LED's in the programmer turn green, and the device is connected with the 40P header on the PCB.
To me this seems like a problem with the drivers.
Any suggestions?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Where should AVRdude be?
Hello,
You might want to try the device drivers from here.
http://www.matrixmultimedia.com/resourc ... .php?id=10
If your still having problems then download the latest AVR studio and this should install drivers which will allow AVR studio to work. The Jungo drivers should also be compatible with this according to users on AVR freaks but I have never been able to get the two drivers to play nicely together.
The AVRISP seems to be the best way to program AVR devices which is why we use it but the driver organisation, documentation and support from Atmel is a joke.
You might want to try the device drivers from here.
http://www.matrixmultimedia.com/resourc ... .php?id=10
If your still having problems then download the latest AVR studio and this should install drivers which will allow AVR studio to work. The Jungo drivers should also be compatible with this according to users on AVR freaks but I have never been able to get the two drivers to play nicely together.
The AVRISP seems to be the best way to program AVR devices which is why we use it but the driver organisation, documentation and support from Atmel is a joke.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: Where should AVRdude be?
Hi there BenJ,
I've tried everything until I found this driver:
http://mightyohm.com/blog/2010/09/avris ... vista-x64/
After replacing the "Jungo" driver with this one, shazam: everything works!
Please spread the word
.
I've tried everything until I found this driver:
http://mightyohm.com/blog/2010/09/avris ... vista-x64/
After replacing the "Jungo" driver with this one, shazam: everything works!
Please spread the word
.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Where should AVRdude be?
Hello,
That's fantastic, many thanks for sharing your results and the link to the driver.
That's fantastic, many thanks for sharing your results and the link to the driver.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 74
- Joined: Mon Aug 23, 2010 7:07 pm
- Location: Amsterdam
- Has thanked: 7 times
- Been thanked: 13 times
- Contact:
Re: Where should AVRdude be?
Guys,
Had the same problem.
Replaced by the adviced driver and bingo, it works.
I usu Win-7 x64. Proberly this is the isue.
Patrick
Had the same problem.
Replaced by the adviced driver and bingo, it works.
I usu Win-7 x64. Proberly this is the isue.
Patrick