You are not logged in.
I am trying to program an avr with a Kanda branded avr isp programmer.
avrdude keeps complaining timeout or programmer not found.
I know the programmer works and the system seems to identify the usb-rs232 chip in it just fine, it just doesn't seem to do anything when plugged in.
This is the output from dmesg when the programmer is plugged in:
Also can anyone tell me why USB0 AND USB1 appear when I plug it in? FWIW, I've tried every "programmer" in avrdude to no avail.
[59369.543484] usb 2-1.6: new full-speed USB device number 12 using ehci-pci
[59369.634331] ftdi_sio 2-1.6:1.0: FTDI USB Serial Device converter detected
[59369.634379] usb 2-1.6: Detected FT2232C
[59369.634384] usb 2-1.6: Number of endpoints 2
[59369.634387] usb 2-1.6: Endpoint 1 MaxPacketSize 64
[59369.634391] usb 2-1.6: Endpoint 2 MaxPacketSize 64
[59369.634394] usb 2-1.6: Setting MaxPacketSize 64
[59369.634740] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB0
[59369.636306] ftdi_sio 2-1.6:1.1: FTDI USB Serial Device converter detected
[59369.636349] usb 2-1.6: Detected FT2232C
[59369.636353] usb 2-1.6: Number of endpoints 2
[59369.636357] usb 2-1.6: Endpoint 1 MaxPacketSize 64
[59369.636360] usb 2-1.6: Endpoint 2 MaxPacketSize 64
[59369.636364] usb 2-1.6: Setting MaxPacketSize 64
[59369.636796] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB1Offline
I do not have a programmer in front of me, but.... What is the device node that avrdude is using? It may be /dev/ttyS0. You need to ensure that the device node is /dev/ttyUSB0
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I have been trying this and variations thereof:
sudo avrdude -cstk200 -pt2313 -vvvv -P/dev/ttyUSB0tried with many of the seemingly possible programmers, ttyUSB0 and ttyUSB1.
I have gotten this programmer working with avrdude before but it was a while ago and a don't recall jumping through any hoops.
The most "promising" errors I get ( promising in that it's not "timeout" or "device not responding") are:
avrdude: can't claim device "/dev/ttyUSB0": Inappropriate ioctl for deviceI'm not sure where to go from here or who to ask.
Offline
So now I have tried a different programmer https://www.sparkfun.com/products/9825 hoping that the Kanda programmer was just using some obscure protocol instead of stk500 standard.
This programmer does NOT appear in /dev anywhere, as the Kanda programmer did. However, avrdude seems content to use it's default /dev/parport0 but I still get this no matter what:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.I have libusb, libusb-compat installed. I have no idea what else can be peculiar about my setup and have googled to no end so far.
Where should my troubleshooting take me now?
Offline