avr-gcc, avr-objcopy, avrdude를 사용하여 atmega128에 프로그램을 올리려구 합니다 도와주세여..
[root@bit300 avr128]# avrdude -p m128 -e -c pony-stk200 -C avrdude.conf -U flash:w:a.hex:r -P /dev/parport0
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9702
avrdude: erasing chip
avrdude: reading input file "a.hex"
avrdude: writing flash (762 bytes):
Writing | ################################################## | 100% 0.21s
avrdude: 762 bytes of flash written
avrdude: verifying flash memory against a.hex:
avrdude: load data flash data from input file a.hex:
avrdude: input file a.hex contains 762 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.20s
avrdude: verifying ...
avrdude: 762 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
[root@bit300 avr128]#
요렇게 뜨면 제가 알기로 avr에 굽는게 성공 한거라고 생각했는데요...
소스가 실행이 안되서 다시 넣을려고 해보니
[root@bit300 avr128]# avrdude -p m128 -e -c pony-stk200 -C avrdude.conf -U flash:w:a.hex:r -P /dev/parport0
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x000102
avrdude: Expected signature for ATMEGA128 is 1E 97 02
Double check chip, or use -F to override this check.
avrdude done. Thank you.
이런식으로 에러 메세지가 출력되었습니다. 보시는 바와 같이 한번 굽고 나면 디바이스 시그너쳐가 바뀌어있습니다.
제가 무엇을 잘못했을까여~ 고수님들 꼭 갈켜주시길 부탁드립니다.~
댓글 달기