Closed avrs-admin closed 2 years ago
Joerg Wunsch
You're right that it's a simple operator error: the port name "usb" is a magic string in that it must be written in lower case letters (just like any actual device name would have to match exactly your operating system's device name).
You're right that it might be considered a bug that the AVRISPmkII does not default to USB but to an actual serial port; that's mostly for historical reasons since all the STK500-alike programmers are handled by the very same code.
Mike Bronosky Mike@Bronosky.com Tue 28 Oct 2008 12:39:17 AM UTC
I think most likely this is not a bug but an operator error. Anyway. . .
Been trying to get: AVRDude v. 5.5 to program a: ATmega8518 on a: Olimex AVR-P40B-8518 PCB using an: Atmel AVRISPmkII
The command and the response: C:\avrdude -p atmega8515 -c AVRISPmkII -U flash:w:Blinky.hex stk500_2_Received Message(): timeout
The command and the response specifying -P USB: C:\avrdude -p atmega8515 -P USB -c AVRISPmkII -U flash:w:Off.hex avrdude: ser_open(): can't open device "USB": The system cannot find the file specified.
Using Studio4 software, STK500.exe, the programming works. C:\STK500.EXE -dATmega8515 -cUSB -e -ifblinky.hex -pf -vf
Any ideas.
I'm wanting to move all my software to Linux. Currently my preferred flavor is Ubuntu.
AVRDude is a nice piece of software, Mike Bronosky Mike@Bronosky.com
This issue was migrated from https://savannah.nongnu.org/bugs/?24669