Рядовой
Сообщений всего: 12
Дата рег-ции: Май 2008
|
Здравствуйте.
При программировании МК программа WinAvr выдает следущие:
> "make.exe" program
avrdude -p atmega8 -P lpt1 -c stk200 -U flash:w:Prog1.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x000000
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: reading input file "Prog1.hex"
avrdude: input file Prog1.hex auto detected as Intel Hex
avrdude: writing flash (130 bytes):
Writing | ################################################## | 100% 0.05s
avrdude: 130 bytes of flash written
avrdude: verifying flash memory against Prog1.hex:
avrdude: load data flash data from input file Prog1.hex:
avrdude: input file Prog1.hex auto detected as Intel Hex
avrdude: input file Prog1.hex contains 130 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.03s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x12 != 0xff
avrdude: verification error; content mismatch
avrdude done. Thank you.
make.exe: *** [program] Error 1
> Process Exit Code: 2
> Time Taken: 00:01
Пытался разобряться с Makefile-ом так ничего и не разобрал. Может даже и не в нем ошибка?
Помогите пожалуйста
|