szymon64 Napisano Sierpień 28, 2011 Udostępnij Napisano Sierpień 28, 2011 Witam wszystkich Mam problem z wgraniem programu do atmegi. WinAvr wyrzuca taki komunikat: > "make.exe" programavrdude -p atmega8 -P lpt1 -c stk200 -U flash:w:main.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9307 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 "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (106 bytes): Writing | ################################################## | 100% 0.05s avrdude: 106 bytes of flash written avrdude: verifying flash memory against main.hex: avrdude: load data flash data from input file main.hex: avrdude: input file main.hex auto detected as Intel Hex avrdude: input file main.hex contains 106 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 Korzystam z programatora STK200. Nie mam pojęcia w czym tkwi problem. Szukałem ale żadnej konkretnej odpowiedzi znaleźć nie mogę. Pozdrawiam i liczę na pomoc. Cytuj Link do komentarza Share on other sites More sharing options...
niciki Sierpień 29, 2011 Udostępnij Sierpień 29, 2011 Miałem to samo kiedyś. Sprawdź poniższe: 1. negowany/odwrócony reset? 2. Układ nie jest zasilony, a uK (czyt. mikrokontroler 😉 ) wybrany ręcznie? 3. Spróbuj zaprogramować uK innym programem, polecam ISP Programmer (link: http://dybkowski.net/content/pl/node/16 ). 4. Uszkodzony uK? 1 Cytuj Link do komentarza Share on other sites More sharing options...
szymon64 Wrzesień 1, 2011 Autor tematu Udostępnij Wrzesień 1, 2011 Dzięki za pomoc, problem rozwiązany. edit: Problemem okazały się kondensatory 100nF przy Vcc i źle poprowadzone GND. Niewielka zmiana w projekcie płytki wszystko rozwiązała. Jak ktoś ma podobny problem niech sprawdzi dokładnie zasilanie 🙂 Pozdrawiam i dzięki za podpowiedzi. Cytuj Link do komentarza Share on other sites More sharing options...
Pomocna odpowiedź
Dołącz do dyskusji, napisz odpowiedź!
Jeśli masz już konto to zaloguj się teraz, aby opublikować wiadomość jako Ty. Możesz też napisać teraz i zarejestrować się później.
Uwaga: wgrywanie zdjęć i załączników dostępne jest po zalogowaniu!