Rob Thomson wrote:So... I think that you are not making good contact. You want to make sure the smartie board goes down level.. all pins are straight.. and 'clean those pads'.
I haave had some boards refuse to work until I 'tinned' each pad with solder! (It was quicker than cleaning)
I was going to tin them, but then thought that was overkill since one of the reported problems was too much solder on the pads!
I'll get out my trusty eraser and try the slot-car tricks from my youth, as I see others having success with rubber over iso!
SR71 wrote:Scurvy wrote:I left the machine plugged in while I did some reading, I changed the udev stuff so the permissions were correct, and now I just get:
I suppose you already did the obvious, in any case, what about lsusb output ?
output of "lsusb":
Code: Select all
Bus 004 Device 003: ID 16c0:05dc VOTI USBasp AVR Programmer
output of "sudo lsusb -v":
Code: Select all
Bus 004 Device 003: ID 16c0:05dc VOTI USBasp AVR Programmer
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x16c0 VOTI
idProduct 0x05dc USBasp AVR Programmer
bcdDevice 1.03
iManufacturer 1 www.fischl.de
iProduct 2 USBasp
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 18
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Device Status: 0x0000
(Bus Powered)
This all looks correct to me, but I'm no expert!
gohsthb wrote:On ubuntu you simply need to do "sudo restart udev" however you will need to unplug and replug the usb cable on the programmer after running that command. That is not the problem though. In eepe under the burn configuration try adding"-B 10"and see of that helps. Also what Rob stated above should be done. Your programmer is connected to the computer just fine. Now it needs to connect to the atmega64.
I did restart udev, wasn't sure if I had to unplug-and-replug or not after that, but I'm sure at one point I tried that combination too. I even rebooted, knowing it wasn't necessary but not sure what else to do (sometimes even Linux likes to just reboot a-la Windows).
I will try the "-B 10", and also rubber cleaning the pads and double-checking straightness of pins (they all seemed to spring properly, and I did clean the bottom of them with a bit of iso too)...
Code: Select all
=================================================================================
Started AVRDUDE
avrdude -c usbasp -p m64 -B 10 -U eeprom:r:/tmp/temp.hex:i
=================================================================================
avrdude: set SCK frequency to 93750 Hz
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
=================================================================================
AVRDUDE done - exit code 1
=================================================================================
That last test was done before any new cleaning (hope springs eternal!), so I guess after breakfast I'll re-crack open this controller and apply rubber!
/me crosses his fingers!
Thanks very much for all the help!