avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] avrdude on Arch Linux


From: Michael Legleux
Subject: [avr-chat] avrdude on Arch Linux
Date: Thu, 12 Sep 2013 12:30:41 -0700

I am using Arch Linux. 
I am trying to program AVR chips with a Kanda branded avrisp programmer via avrdude (or any program short of writing my own.) 
The chip is in this dev board: http://www.kanda.com/products/Kanda/STK200.html although in the slim chance the board is doing something crazy, I have also tried programming the chip straight from the isp. 

When I plug in the programmer, FTDI shows up in dmesg output: 
[ 1814.377441] usb 2-1.6: new full-speed USB device number 4 using ehci-pci 
    [ 1814.467806] ftdi_sio 2-1.6:1.0: FTDI USB Serial Device converter detected 
    [ 1814.467854] usb 2-1.6: Detected FT2232C 
    [ 1814.467858] usb 2-1.6: Number of endpoints 2 
    [ 1814.467862] usb 2-1.6: Endpoint 1 MaxPacketSize 64 
    [ 1814.467866] usb 2-1.6: Endpoint 2 MaxPacketSize 64 
    [ 1814.467869] usb 2-1.6: Setting MaxPacketSize 64 
    [ 1814.468388] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB0 
    [ 1814.469873] ftdi_sio 2-1.6:1.1: FTDI USB Serial Device converter detected 
    [ 1814.469915] usb 2-1.6: Detected FT2232C 
    [ 1814.469919] usb 2-1.6: Number of endpoints 2 
    [ 1814.469923] usb 2-1.6: Endpoint 1 MaxPacketSize 64 
    [ 1814.469926] usb 2-1.6: Endpoint 2 MaxPacketSize 64 
    [ 1814.469930] usb 2-1.6: Setting MaxPacketSize 64 
    [ 1814.470425] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB1

Output of lsusb -v -dhttp://pastebin.com/2M1PNWY1 
The programmer is known to work, as I just used it to program the attiny2313 in win xp, a process I don't feel I need to do since I can develop and compile on linux or mac os x (with which I don't even get a new device in /dev ) 
I have tried every programmer on avrdude's list with the most common response being 'timeout' and 'programmer not responding'. 
I have tried overriding the speed from 2400-115200 
I have tried adding various udev rules both found on the internet and written by me. Does the OS need something more to be able to talk to the attiny2313 via the USB-Serial converter? 

I am at a loss as to what to do now and need some help troubleshooting this. I know it's not rocket science. 
I have read countless posts and searched for hours now and still 0 progress has been made. 

What info can I provide to help troubleshoot? 
Why is avrdude just not "seeing" it?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]