Hi,
I've been trying to update the embedded software on my AVRCam, and I seem to be hitting a problem in the makefile. Attached below is the output when I type "make program". It seems to erase the device properly, but it can't upload the new files. It says that "-i" is not a recognized command-line option. I'm running AVRDude version 4.4.0. According to the documentation, I think I should be using a "-U" option. It says to use -U to "perform a memory operation, equivalent to specifing the '-m', '-i' or '-o', and '-f' options", but it doesn't list these other options anywhere to compare them; "-U" also seems to be a fairly complicated option. Could it be that they changed the options in this release but didn't finish updating the docs? I'm not very experienced yet with using AVRDude; does anyone know how I should update my makefile?
- Bob
----------------------------------
C:\WINDOWS\Desktop\AVRcam_rel_1_4>make program
avrdude -p atmega8 -P lpt1 -c stk200 -e
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9307
avrdude: erasing chip
avrdude done. Thank you.
avrdude -p atmega8 -P lpt1 -c stk200 -i AVRcam.hex
avrdude: unknown option -- i
Usage: avrdude [options]
Options:
-p <partno> Required. Specify AVR device.
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-v Verbose output. -v -v for more.
-q Quell progress output.
-? Display this usage.
avrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>
C:\WINDOWS\Desktop\AVRcam_rel_1_4>