• Witaj na Forum Arduino Polska! Zapraszamy do rejestracji!
  • Znajdziesz tutaj wiele informacji na temat hardware / software.
Witaj! Logowanie Rejestracja


Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
UNU CH340 - problem z wgraniem bootloadera
#32
Znalazłem ładny pakiecik optiboot, wrzuciłem brakujący plik bootloader, uzupełniłem wpis w boards.txt i w ten sposób, tuningowane Arduino 1.7.11 umie już wgrywać bootloader do mojej płytki po wybraniu odpowiedniej płytki z listy (atmega88). Jedyne co musiałem sobie poprawić, to w boards.txt, mcu=atmega88p bo cały czas miałem błędy sygnatury urządzenia.

Jednak nadal coś jest nie tak z tym bootloaderem. Po jego wgraniu, płytka zaczyna mrugać LEDem, czyli realizuje podstawowy program, ale wgrywanie przez usb nie działa, zwracając błąd:
Kod:
Arduino:1.7.11 (Windows XP), Płyta:"[Optiboot] Arduino NG or older w/ ATmega88"

Szkic używa 382 bajtów z (4%) pamięci programu. Maksimum to 7 680 bajtów.

Globalne zmienne używają 9 bajtów  dynamicznej pamięci.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x60

Problem z wgrywaniem na płyte. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#upload w poszukiwaniu sugestii.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x60
Gdy spróbuje wgrać szkic przez programator, chodzi bez problemu, ale skoro udało się reanimować płytkę, to fajnie było by i ten problem pokonać Smile

Fusy sprawdzałem AVRLabem i są zgodne z wpisem z boards który dałeś
 
Odpowiedź
  


Wiadomości w tym wątku
RE: UNU CH340 - problem z wgraniem bootloadera - przez Mad_Maxs - 18-07-2018, 23:09

Skocz do:


Przeglądający: 1 gości