Timeline for How does avrdude with AVR-ISP-MKII respond when no target board is connected?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 16, 2013 at 4:29 | answer | added | Brett Hale | timeline score: 2 | |
| Jul 1, 2013 at 20:41 | comment | added | Andreas | @ChrisStratton: Thank you. I did that and have now managed to program the atmega from a Windows machine. | |
| Jun 29, 2013 at 20:06 | comment | added | Andreas | @jippie: It is detected: [43011.039111] usb 5-1: new full-speed USB device number 4 using uhci_hcd [43013.342476] usb 5-1: USB disconnect, device number 4 | |
| Jun 28, 2013 at 6:23 | comment | added | jippie | My bad, you are right sorry for the confusion. Is there anything in dmesg after you connect the programmer? Try disconnect; sudo dmesg -c; clear; reconnect sudo dmesg -c. | |
| Jun 27, 2013 at 23:16 | comment | added | Andreas | @jippie It seems to me as if uisp and avrdude are two different programs that can be used to communicate with programmers over USB. | |
| Jun 27, 2013 at 20:08 | comment | added | jippie | If I look at these error messages, I get the impression that the protocol stack for talking to the programmer over USB is missing. Is uisp - Micro In-System Programmer for Atmel's AVR MCUs installed? Don't know how to check that on Arch your Google is as good as mine. | |
| Jun 27, 2013 at 17:58 | comment | added | Chris Stratton | This might be the point where you want to run it under another operating system long enough to verify that it actually works, and that it is properly connected to your target board. Perhaps they've gone and adjusted the protocol in some way which isn't expected. You might also check if you have permission to the USB device node, though I'm not sure that not having that wouldn't have caused an earlier failure. Finally, if you just need to get something programmed, an ISP sketch on an Arduino board generally works (though you'll manage to find those who have had trouble with that too) | |
| Jun 27, 2013 at 17:37 | comment | added | Andreas | @coding_corgi Yes, I'm compiling .c files using avr-gcc. But that doesn't matter: I get the same behaviour regardless of whether the .hex file exists or whether the target board is connected to the programmer. | |
| Jun 27, 2013 at 17:02 | comment | added | user151324 | Ok, well, i had trouble with my AVR ISP MKII on Ubuntu (until it blew up) and i was getting similar errors, are you compiling .c/.cpp files? | |
| Jun 27, 2013 at 16:15 | history | edited | Andreas | CC BY-SA 3.0 | added 63 characters in body |
| Jun 27, 2013 at 16:12 | comment | added | Andreas | @coding_corgi I'm on Arch Linux x86_64 and have tried avrdude -c avrispmkII -p m328 -U flash:w:filename.hex. I've already updated the AVR-ISP-mk2 firmware using Atmel Flip to the one that handles avrdude and libusb. | |
| Jun 27, 2013 at 16:11 | comment | added | user151324 | What commands are you running? | |
| Jun 27, 2013 at 16:10 | comment | added | user151324 | What OS are you on? | |
| Jun 27, 2013 at 16:02 | history | asked | Andreas | CC BY-SA 3.0 |