Yet another update:
Switched to avrdude 5.6 and now I can program without the -D option. However I get an error message but the programming seems to work (tried a few different examples). I still see the " cannot get connection status" message but then it proceeds to read the hex file and write it.
avrdude: erasing chip
avrdude: stk500v2_command(): unknown status 0x80
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: reading input file "test.hex"
avrdude: input file test.hex auto detected as Intel Hex
avrdude: writing flash (3302 bytes):
[deleted the rest]
Another update:
Finally got a verification error on the download. I removed the -D and ran it again to erased the flash. I then put the -D back so avrdude would not fail and was able to program again. Using chip erase is doing something odd that causes the programming to fail.
Update:
I added the -D option to the avrdude command line and now it programs. Not sure why it works, the -D option disables the auto erase. I wonder if I and going to have other issues later???
Hi,
I power-up (vbatt=9v) the board and ran the demo, everything worked include the USB port test. Then I tried loading a simple LED test program using Windows 7, WinAVR-20100110, AVRdude 5.10 and using COM7 which is Pololu Orangutan SVP Programmer.
I get the following message when I run avrdude:
Launching C:\WinAVR-20100110\bin\avrdude -pm1284p -cavrispv2 -PCOM7 -Uflash:w:test.hex:a
Output:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9705
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: stk500v2_command(): unknown status 0x80
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude done. Thank you.
avrdude finished
The chip did get erased since the demo program no longer runs. I tried several other avrdude programming configurations but no luck.
The blue power led and green usb led are on. The usb led flashes a bit when I run avrdude but no other leds flash (red supposed to?).
The hardware id fro the COM7 is:
USB\VID_1FFB&PID_0087&REV_0102&MI_00
USB\VID_1FFB&PID_0087&MI_00
Looks like there is a 1.02 version of the firmware.
Any ideas?
Mike