- Sat Aug 22, 2009 2:17 pm
#79356
I purchased a PGM-09231 aka USBtinyISP AVR programmer.
I'm using it with Linux. (Kubuntu 9.04)
If you plug it straight into the PCs USB port it doesn't show up with lsusb.
If you plug it in via a hub it does show up.
>Bus 001 Device 020: ID 1781:0c9f Multiple Vendors
Ok. I can live with that.
Now it does work- I can program my atmega328p device and get a good verify on the flash.
But it doesn't work reliably. I typically need to run avrdude 3-5 times before I get an error free run.
>avrdude: error: usbtiny_transmit: error sending control message: Broken pipe
>avrdude: verification error, first mismatch at byte 0x0001
0x94 != 0x90
>avrdude: error: usbtiny_send: error sending control message: Connection timed out (expected 64, got -110)
and more things of that ilk....
I have tried:
1) providing the target with it's own power
2) going from -B 1 to -B 32 for avrdude (SCK timing)
...but I have been unable to get reliable operation.
Does anybody have any handy hints or do I need to buy a better programmer?
Thanks,
Jason H.
I'm using it with Linux. (Kubuntu 9.04)
If you plug it straight into the PCs USB port it doesn't show up with lsusb.
If you plug it in via a hub it does show up.
>Bus 001 Device 020: ID 1781:0c9f Multiple Vendors
Ok. I can live with that.
Now it does work- I can program my atmega328p device and get a good verify on the flash.
But it doesn't work reliably. I typically need to run avrdude 3-5 times before I get an error free run.
>avrdude: error: usbtiny_transmit: error sending control message: Broken pipe
>avrdude: verification error, first mismatch at byte 0x0001
0x94 != 0x90
>avrdude: error: usbtiny_send: error sending control message: Connection timed out (expected 64, got -110)
and more things of that ilk....
I have tried:
1) providing the target with it's own power
2) going from -B 1 to -B 32 for avrdude (SCK timing)
...but I have been unable to get reliable operation.
Does anybody have any handy hints or do I need to buy a better programmer?
Thanks,
Jason H.