Witam, Mam taki dziwny problem ze świeżo co wlutowaną (prosto z fabryki) ATMegą128.
Komunikacja z układem jest poprawna, lecz pomimo wgrania pewnych fusebitów (np INT OSC=8 MHz,), gdy daję opcję read to układ uważa że ma ustawiony EXT crystal, co jest lekką bzdurą gdyż kwarcu nawet nie ma w układzie więc to nie miałoby prawa się komunikować ze mną. Podobnie jest z innymi fusebitami, które są nieustannie inne niż te które mu wgrywam.
Gdy wrzucam przykładowy program nieustannie mam taki komunikat :
Podsumowując, co to może być ?
Komunikacja z układem jest poprawna, lecz pomimo wgrania pewnych fusebitów (np INT OSC=8 MHz,), gdy daję opcję read to układ uważa że ma ustawiony EXT crystal, co jest lekką bzdurą gdyż kwarcu nawet nie ma w układzie więc to nie miałoby prawa się komunikować ze mną. Podobnie jest z innymi fusebitami, które są nieustannie inne niż te które mu wgrywam.
Gdy wrzucam przykładowy program nieustannie mam taki komunikat :
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9702
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 "lala.hex"
avrdude: input file lala.hex auto detected as Intel Hex
avrdude: writing flash (1482 bytes):
Writing | ################################################## | 100% 0.31s
avrdude: 1482 bytes of flash written
avrdude: verifying flash memory against lala.hex:
avrdude: load data flash data from input file lala.hex:
avrdude: input file lala.hex auto detected as Intel Hex
avrdude: input file lala.hex contains 1482 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.28s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x00
avrdude: verification error; content mismatch
avrdude done. Thank you.
avrdude finished
Podsumowując, co to może być ?