<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=18435&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-05-21T13:54:33+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=18435&amp;mode</id>
<entry>
<author><name><![CDATA[proqix]]></name></author>
<updated>2017-05-21T13:54:33+01:00</updated>
<published>2017-05-21T13:54:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189600#p189600</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189600#p189600"/>
<title type="html"><![CDATA[Re: Atmega3228p nie działa poprawnie po wgraniu bootloadera]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189600#p189600"><![CDATA[
Dzięki za odpowiedź i wyjaśnienie problemu.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=17216">proqix</a> — 21 maja 2017, o 13:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xentis]]></name></author>
<updated>2017-05-20T20:39:14+01:00</updated>
<published>2017-05-20T20:39:14+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189563#p189563</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189563#p189563"/>
<title type="html"><![CDATA[Re: Atmega3228p nie działa poprawnie po wgraniu bootloadera]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189563#p189563"><![CDATA[
Twoja przejściówka USB2TTL  do tego arduino się nie za bardzo nadaje! Widzisz arduino mini ma jeszcze pin DTR który musi być podłączony do takiego samego pinu w przejściówce USB2TTL. Wejście to jest odpowiedzialne za zresetowanie arduino celem uruchomienia bootloader przed wgraniem programu.<br />Widzisz samo arduino (zarówno to mini które nie posiada wbudowanego portu USB czyli układu USB2TTL, jak i pozostałe które posiadają już na pokładzie zintegrowany układ USB2UART) korzysta z bootloadera do wgrywania skeczy.<br />Sam bootloader (który jest w pewnym sensie programatorem) to program który jest umieszczony w wydzielonej pamięci uC z arduino. Ten bootloader działa tak że po uruchomieniu arduino (czyli po podaniu zasilania lub po resecie) bootloader przez krótką chwilę czeka na dane z UARTA. Jeżeli nic nie nadleci bootloader przekazuje wykonywanie do głównego programu wgranego do arduino i w czasie działania tego programu nie ma jak ponownie uruchomić bootloadera.<br />Gdy piszesz program w Arduino IDE i chcesz go wgrać to po skompilowaniu programu Arduino IDE na pinie DTR wystawia sygnał który powoduje zresetowanie płytki arduino przez co uruchamia się bootloader i następuje komunikacja poprzez USB2TTL. W twoim przypadku brak jest wymuszenia resetu.<br />Jedyne co mogę Ci poradzić to możesz spróbować naciskać przycisk reset na płytce w momencie gdy Arduino IDE próbuje wgrać program do uC zaraz po kompilacji ale musisz to robić umiejętnie - obserwując diody na USB2TTL jak zaczną mrugać sygnalizując przesył danych to już nie możesz nacisnąć resetu bo przerwiesz proces programowania.<br />Ewentualnie jak już masz programator to możesz wgrywać program poprzez opcje z menu szkic -&gt; &quot;Wgraj używając programatora&quot; wtedy program jest wgrywany z pominięciem bootloadera poprzez szynę danych SPI.<br />Albo możesz poszukać przejściówki USB2TTL która będzie posiadać wyprowadzony pin DTR np taką na bogato <a href="https://www.sklep.atnel.pl/pl/p/ATB-USB-RS232/85"  class="postlink">https://www.sklep.atnel.pl/pl/p/ATB-USB-RS232/85</a> sam taką posiadam i działa wyśmienicie, w dodatku nasza polska, jak się już upierasz przy chińszczyźnie to szukaj przejściówki z dopiskiem &quot;pro mini&quot; i upewnij się że ma pin DTR.<br /><div class="quotetitle">proqix napisał(a):</div><div class="quotecontent"><br />Na początku zabawy programy wgrywałem po TTL'u.<br /></div><br />W momencie gdy w arduino nie ma żadnego programu tylko bootloader to uda Ci się wgrać program z jednej prostej przyczyny: skoro nie ma programu to bootloader nie może przekazać działania do programu głównego bo go nie ma! Dla tego bootloader jest stale aktywny. Tak więc jak robisz wypal bootloader to cała pamięć uC jest czyszczona i wgrywany jest sam bootloader - stąd udaje się wgrać pierwszy program a następnego już nie.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=6265">xentis</a> — 20 maja 2017, o 20:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[proqix]]></name></author>
<updated>2017-05-20T18:39:38+01:00</updated>
<published>2017-05-20T18:39:38+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189558#p189558</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189558#p189558"/>
<title type="html"><![CDATA[Re: Atmega3228p nie działa poprawnie po wgraniu bootloadera]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189558#p189558"><![CDATA[
Mam Windows 10 i do ISP pobrałem sterowniki z <!-- m --><a class="postlink" href="http://www.fischl.de" >http://www.fischl.de</a><!-- m --> ale nie Arduino IDE nie mogło znaleźć tego urządzenia więc użyłem programu z <!-- m --><a class="postlink" href="http://zadig.akeo.ie/" >http://zadig.akeo.ie/</a><!-- m --> i po zainstalowaniu sterowników WinUSB (v6.1.7600.16385) zaczęło działać.<br />Ten programator z aliexpresu zamówiłem <br /><a href="https://obrazkiforum.atnel.pl/17216/4c6f8b89155dbde6dccea8e717f9b775.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/4c6f8b89155dbde6dccea8e717f9b775.jpg" alt="Obrazek" /></a><br /><br />Zgodnie z opisem pinów na ISP, który znalazłem<br /><a href="https://obrazkiforum.atnel.pl/17216/df35773a67503b0f0c674d10d0a6ea82.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/df35773a67503b0f0c674d10d0a6ea82.jpg" alt="Obrazek" /></a><br /><br />i pinów na atmedze <br /><a href="https://obrazkiforum.atnel.pl/17216/df7d91f24420639d5514b2e5f64e2f05.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/df7d91f24420639d5514b2e5f64e2f05.jpg" alt="Obrazek" /></a><br />Połączyłem według tego schematu <br /> ISP    |  Atmega<br />MOSI do Pin 11<br />MISO do Pin 12<br />SCK   do Pin 13<br />RES   do RES<br />GND  do GND<br />VCC  do VCC<br />na ISP ustawiłem zworkę na 5V<br />Na USB2TTL też ustawiłem zworkę na 5V i podłączyłem RX do TX i TX do RX. Piny są ładnie opisane na obu płytkach więc się nie pomyliłem na pewno <br /><a href="https://obrazkiforum.atnel.pl/17216/c154774ec15bf339b83b3e4b615e6e69.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/c154774ec15bf339b83b3e4b615e6e69.jpg" alt="Obrazek" /></a><br /><br />Całość wygląda tak<br /><a href="https://obrazkiforum.atnel.pl/17216/601b4bf46db25a581570133e2b527f8a.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/601b4bf46db25a581570133e2b527f8a.jpg" alt="Obrazek" /></a><br /><a href="https://obrazkiforum.atnel.pl/17216/cf5e433f2358ae381f6293f0341e7c6f.jpg"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/17216/cf5e433f2358ae381f6293f0341e7c6f.jpg" alt="Obrazek" /></a><br /><br />Na początku zabawy programy wgrywałem po TTL'u. Teraz jest tak, jak pisałem, do wgrania mszą być podpięte oba. Najpierw kliknąć by wgrał program a później kliknąć wypalanie bootloadera. Inaczej wypluje stk500_getsync() attempt 10 of 10: not in sync: resp=0x49 i że się nie udało wgrać programu. Bo z portu COM3 nic nie odpowiada. Myślałem też, że USB2TTL jest uszkodzony ale podpiąłem do niego GPRS Neoway M590 i gadałem z nim i żadnych problemów nie było.<br />W załączniku jest program, który to wszystko spowodował. Choć nie rozumiem czemu bo testowałem go wcześniej na Arduino Nano i działało to poprawnie.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=17216">proqix</a> — 20 maja 2017, o 18:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xentis]]></name></author>
<updated>2017-05-19T06:24:22+01:00</updated>
<published>2017-05-19T06:24:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189461#p189461</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189461#p189461"/>
<title type="html"><![CDATA[Re: Atmega3228p nie działa poprawnie po wgraniu bootloadera]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189461#p189461"><![CDATA[
Musisz trochę dokładniej opisać na jakim sprzęcie działasz i jak to masz wszystko podpięte (najlepiej zrób i wrzuć jakieś zdjęcie - tylko tak by było wszystko dobrze widać).<br />Piszesz o procku atmega328p - ale masz sam procek na stykówce czy masz płytkę arduino mini czy arduino pro mini?<br />Do wgrywania &quot;skeczy&quot; w arduino używany jest uart więc programator jest nie potrzebny (potrzebny jest tylko do wgrania bootloadera)<br />Przy podpinaniu przejściówki uart (czyli twojego USB to TTL) musisz pamiętać że podpinać należy na krzyż czyli RX TTL z TX arduino, TX TTL z RX arduino).<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=6265">xentis</a> — 19 maja 2017, o 06:24</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[proqix]]></name></author>
<updated>2017-05-18T22:39:16+01:00</updated>
<published>2017-05-18T22:39:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189457#p189457</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189457#p189457"/>
<title type="html"><![CDATA[Atmega3228p nie działa poprawnie po wgraniu bootloadera]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=18435&amp;p=189457#p189457"><![CDATA[
Witam.<br />Dopiero zaczynam grubszą zabawę z atmegą 328p i natknąłem się na trudny problem. <br />Wgrałem program z błędem, który uniemożliwił mi komunikacje po TTL z prockiem i programowania go. By to naprawić wgrałem od nowa bootloader za pomocą USBasp. Dzięki temu udało mi się w części odzyskać kontrole, ale z nieznanych mi przyczyn już nie jestem w stanie wgrywać programów bezpośrednio na procesor. Znaczy się jeżeli wezmę przykład &quot;blink&quot; i rozpocznę jego wgrywanie to otrzymuje że nie może się połączyć:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19<br />         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/<br />         Copyright (c) 2007-2014 Joerg Wunsch<br /><br />         System wide configuration file is &quot;C:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf&quot;<br /><br />         Using Port                    : COM3<br />         Using Programmer              : arduino<br />         Overriding Baud Rate          : 57600<br />avrdude: stk500_recv(): programmer is not responding<br />avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x49</div><br />Ale gdy w tym momencie jeszcze kliknę opcje &quot;Wypal bootloader&quot; to od nowa zostaje wgrany bootloader wraz z programem blink<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">C:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/bin/avrdude -CC:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m <br /><br />avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19<br />         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/<br />         Copyright (c) 2007-2014 Joerg Wunsch<br /><br />         System wide configuration file is &quot;C:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf&quot;<br /><br />         Using Port                    : usb<br />         Using Programmer              : usbasp<br />         AVR Part                      : ATmega328P<br />         Chip Erase delay              : 9000 us<br />         PAGEL                         : PD7<br />         BS2                           : PC2<br />         RESET disposition             : dedicated<br />         RETRY pulse                   : SCK<br />         serial program mode           : yes<br />         parallel program mode         : yes<br />         Timeout                       : 200<br />         StabDelay                     : 100<br />         CmdexeDelay                   : 25<br />         SyncLoops                     : 32<br />         ByteDelay                     : 0<br />         PollIndex                     : 3<br />         PollValue                     : 0x53<br />         Memory Detail                 :<br /><br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff<br />           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff<br />           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00<br />           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00<br /><br />         Programmer Type : usbasp<br />         Description     : USBasp, http://www.fischl.de/usbasp/<br /><br />avrdude: auto set sck period (because given equals null)<br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.01s<br /><br />avrdude: Device signature = 0x1e950f (probably m328p)<br />avrdude: erasing chip<br />avrdude: auto set sck period (because given equals null)<br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br />avrdude: reading input file &quot;0x3F&quot;<br />avrdude: writing lock (1 bytes):<br /><br />C:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/bin/avrdude -CC:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -Uflash:w:C:\Users\THX\Desktop\arduino-1.8.1\hardware\arduino\avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex:i -Ulock:w:0x0F:m <br /><br />avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19<br />         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/<br />         Copyright (c) 2007-2014 Joerg Wunsch<br /><br />         System wide configuration file is &quot;C:\Users\THX\Desktop\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf&quot;<br />Writing | ################################################## | 100% 0.00s<br /><br />avrdude: 1 bytes of lock written<br />avrdude: verifying lock memory against 0x3F:<br />avrdude: load data lock data from input file 0x3F:<br />avrdude: input file 0x3F contains 1 bytes<br />avrdude: reading on-chip lock data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 1 bytes of lock verified<br />avrdude: reading input file &quot;0x05&quot;<br />avrdude: writing efuse (1 bytes):<br /><br />Writing |  ***failed;  <br />################################################## | 100% 0.04s<br /><br />avrdude: 1 bytes of efuse written<br />avrdude: verifying efuse memory against 0x05:<br />avrdude: load data efuse data from input file 0x05:<br />avrdude: input file 0x05 contains 1 bytes<br />avrdude: reading on-chip efuse data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: WARNING: invalid value for unused bits in fuse &quot;efuse&quot;, should be set to 1 according to datasheet<br />This behaviour is deprecated and will result in an error in future version<br />You probably want to use 0xfd instead of 0x05 (double check with your datasheet first).<br /><br />avrdude: 1 bytes of efuse verified<br />avrdude: reading input file &quot;0xDA&quot;<br />         Using Port                    : usb<br />avrdude: writing hfuse (1 bytes):<br />         Using Programmer              : usbasp<br /><br />Writing | ################################################## | 100% 0.00s<br /><br />avrdude: 1 bytes of hfuse written<br />avrdude: verifying hfuse memory against 0xDA:<br />avrdude: load data hfuse data from input file 0xDA:<br />avrdude: input file 0xDA contains 1 bytes<br />avrdude: reading on-chip hfuse data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 1 bytes of hfuse verified<br />avrdude: reading input file &quot;0xFF&quot;<br />avrdude: writing lfuse (1 bytes):<br /><br />Writing | ################################################## | 100% 0.00s<br /><br />avrdude: 1 bytes of lfuse written<br />avrdude: verifying lfuse memory against 0xFF:<br />avrdude: load data lfuse data from input file 0xFF:<br />avrdude: input file 0xFF contains 1 bytes<br />avrdude: reading on-chip lfuse data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 1 bytes of lfuse verified<br /><br />avrdude done.  Thank you.<br /><br />         AVR Part                      : ATmega328P<br />         Chip Erase delay              : 9000 us<br />         PAGEL                         : PD7<br />         BS2                           : PC2<br />         RESET disposition             : dedicated<br />         RETRY pulse                   : SCK<br />         serial program mode           : yes<br />         parallel program mode         : yes<br />         Timeout                       : 200<br />         StabDelay                     : 100<br />         CmdexeDelay                   : 25<br />         SyncLoops                     : 32<br />         ByteDelay                     : 0<br />         PollIndex                     : 3<br />         PollValue                     : 0x53<br />         Memory Detail                 :<br /><br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff<br />           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff<br />           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00<br />           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00<br /><br />         Programmer Type : usbasp<br />         Description     : USBasp, http://www.fischl.de/usbasp/<br /><br />avrdude: auto set sck period (because given equals null)<br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.01s<br /><br />avrdude: Device signature = 0x1e950f (probably m328p)<br />avrdude: NOTE: &quot;flash&quot; memory has been specified, an erase cycle will be performed<br />         To disable this feature, specify the -D option.<br />avrdude: erasing chip<br />avrdude: auto set sck period (because given equals null)<br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br />avrdude: reading input file &quot;C:\Users\THX\Desktop\arduino-1.8.1\hardware\arduino\avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex&quot;<br />avrdude: writing flash (32652 bytes):<br /><br />Writing | ################################################## | 100% 0.00s<br /><br />avrdude: stk500_recv(): programmer is not responding<br />avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x49<br />avrdude: 32652 bytes of flash written<br />avrdude: verifying flash memory against C:\Users\THX\Desktop\arduino-1.8.1\hardware\arduino\avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex:<br />avrdude: load data flash data from input file C:\Users\THX\Desktop\arduino-1.8.1\hardware\arduino\avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex:<br />avrdude: input file C:\Users\THX\Desktop\arduino-1.8.1\hardware\arduino\avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex contains 32652 bytes<br />avrdude: reading on-chip flash data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 32652 bytes of flash verified<br />avrdude: reading input file &quot;0x0F&quot;<br />avrdude: writing lock (1 bytes):<br /><br />Writing | ################################################## | 100% 0.02s<br /><br />avrdude: 1 bytes of lock written<br />avrdude: verifying lock memory against 0x0F:<br />avrdude: load data lock data from input file 0x0F:<br />avrdude: input file 0x0F contains 1 bytes<br />avrdude: reading on-chip lock data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 1 bytes of lock verified<br /><br />avrdude done.  Thank you.<br /><br />avrdude: stk500_recv(): programmer is not responding<br />avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x49<br />         AVR Part                      : ATmega328P<br />         Chip Erase delay              : 9000 us<br />         PAGEL                         : PD7<br />         BS2                           : PC2<br />         RESET disposition             : dedicated<br />         RETRY pulse                   : SCK<br />         serial program mode           : yes<br />         parallel program mode         : yes<br />         Timeout                       : 200<br />         StabDelay                     : 100<br />         CmdexeDelay                   : 25<br />         SyncLoops                     : 32<br />         ByteDelay                     : 0<br />         PollIndex                     : 3<br />         PollValue                     : 0x53<br />         Memory Detail                 :<br /><br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff<br />           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff<br />           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00<br />           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00<br />           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00<br /><br />         Programmer Type : Arduino<br />         Description     : Arduino<br />         Hardware Version: 2<br />         Firmware Version: 1.16<br />         Vtarget         : 0.0 V<br />         Varef           : 0.0 V<br />         Oscillator      : Off<br />         SCK period      : 0.1 us<br /><br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: Device signature = 0x1e950f (probably m328p)<br />avrdude: reading input file &quot;C:\Users\THX\AppData\Local\Temp\arduino_build_771485/DigitalReadSerial.ino.hex&quot;<br />avrdude: writing flash (2068 bytes):<br /><br />Writing | ################################################## | 100% 0.63s<br /><br />avrdude: 2068 bytes of flash written<br />avrdude: verifying flash memory against C:\Users\THX\AppData\Local\Temp\arduino_build_771485/DigitalReadSerial.ino.hex:<br />avrdude: load data flash data from input file C:\Users\THX\AppData\Local\Temp\arduino_build_771485/DigitalReadSerial.ino.hex:<br />avrdude: input file C:\Users\THX\AppData\Local\Temp\arduino_build_771485/DigitalReadSerial.ino.hex contains 2068 bytes<br />avrdude: reading on-chip flash data:<br /><br />Reading | ################################################## | 100% 0.48s<br /><br />avrdude: verifying ...<br />avrdude: 2068 bytes of flash verified<br /><br />avrdude done.  Thank you.<br /><br /></div><br />I wgrany program działa, ku mojemu zdumieniu działają też inne programy wgrane w ten sposób, aczkolwiek nie sądzę by to było dobre rozwiązanie problemu i może popełniłem jakiś błąd?<br />Dodatkowo żeby ta metoda zadziałała to musi zostać spełniona konfiguracja <br /><br />Płytka: &quot;Arduino Mini or Pro Mini&quot;<br />Procesor: &quot;ATmega328 3.3V 8Mhz&quot;<br />Port COM3 (w moim przypadku)<br />Programator: USBasp<br />Pod piny 11 12 13 oraz RES podpięty odpowiednio USBasp oraz pod TX i RX USB to TTL + zasilanie, inaczej nie przejdzie.<br />Kożystam z Arduino IDE 1.8.1<br />Już tydzień szukam rozwiązania i brakuje mi pomysłów. Zastanawiam się czy przypadkiem nie uszkodziłem nieodwracalnie układu, ale programy w użyciem TTL działają poprawnie więc sam już nie wiem i proszę o pomoc.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=17216">proqix</a> — 18 maja 2017, o 22:39</p><hr />
]]></content>
</entry>
</feed>