<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ardrino Dock2 request reflash recovery proceedure]]></title><description><![CDATA[<p dir="auto">for some reason my onion2+ cannot flash the ardrino dock2. Seems like the atmega328p boot block now has the wrong code. When flashing from IDE 1.8.5,  or flashing manually  using /usr/bin/ardrino-dock,</p>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0xffff03<br />
avrdude: Expected signature for ATmega328P is 1E 95 0F<br />
Double check chip, or use -F to override this check.</p>
<p dir="auto">avrdude done.  Thank you.</p>
<blockquote>
<p dir="auto">ERROR, flash NOT successful</p>
</blockquote>
<p dir="auto">The Device signature changes every attempt! Grr....</p>
<p dir="auto">This is a common problem with atmega chips  yet searching the net gives garbage answers and does not help at all with the onion version.</p>
<p dir="auto">Can the devs please write a recovery procedure to fix this problem and add it to the wiki...I am sure it will help allot of users out there. Also can the devs patch the ardrino-dock script to add the -F option?</p>
]]></description><link>http://community.onion.io/topic/2826/ardrino-dock2-request-reflash-recovery-proceedure</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 22:46:10 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2826.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Apr 2018 19:32:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Thu, 05 Apr 2018 19:32:28 GMT]]></title><description><![CDATA[<p dir="auto">for some reason my onion2+ cannot flash the ardrino dock2. Seems like the atmega328p boot block now has the wrong code. When flashing from IDE 1.8.5,  or flashing manually  using /usr/bin/ardrino-dock,</p>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0xffff03<br />
avrdude: Expected signature for ATmega328P is 1E 95 0F<br />
Double check chip, or use -F to override this check.</p>
<p dir="auto">avrdude done.  Thank you.</p>
<blockquote>
<p dir="auto">ERROR, flash NOT successful</p>
</blockquote>
<p dir="auto">The Device signature changes every attempt! Grr....</p>
<p dir="auto">This is a common problem with atmega chips  yet searching the net gives garbage answers and does not help at all with the onion version.</p>
<p dir="auto">Can the devs please write a recovery procedure to fix this problem and add it to the wiki...I am sure it will help allot of users out there. Also can the devs patch the ardrino-dock script to add the -F option?</p>
]]></description><link>http://community.onion.io/post/16487</link><guid isPermaLink="true">http://community.onion.io/post/16487</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Thu, 05 Apr 2018 19:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Fri, 06 Apr 2018 14:09:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> said in <a href="/post/16487">Ardrino Dock2 request reflash recovery proceedure</a>:</p>
<blockquote>
<p dir="auto">for some reason my onion2+ cannot flash the ardrino dock2. Seems like the atmega328p boot block now has the wrong code.</p>
</blockquote>
<p dir="auto">Presumably you are talking about the Boot Loader Section of the flash. Omgega2(+) with Arduino Dock 2 operates as an ISP programmer - so it doesn't use / doesn't need any bootloader program by default.<br />
The Signature Bytes are stored in another memory space and this special memory space is accessible through special undocumented programming instructions only.</p>
<blockquote>
<p dir="auto">The Device signature changes every attempt! Grr....</p>
<p dir="auto">This is a common problem with atmega chips  yet searching the net gives garbage answers and does not help at all with the onion version.</p>
<p dir="auto">Can the devs please write a recovery procedure to fix this problem and add it to the wiki...I am sure it will help allot of users out there. Also can the devs patch the ardrino-dock script to add the -F option?</p>
</blockquote>
<p dir="auto">("This is a common problem with atmega chips ..." - there are lots of misinformation / fake info on the Internet. <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /><br />
If your hardware, firmware, the installed programs, the Arduino IDE on the host PC and all settings are OK then Omega2(+) with Arduino Dock 2 can identify the ATmega328P always correctly (Device signature = 0x1e950f).</p>
<p dir="auto">You should check your on-board AVR chip in a clean state again (after a Factory Reset).</p>
<hr />
<p dir="auto">About the -F option:</p>
<pre><code>BusyBox v1.26.2 () built-in shell (ash)

   ____       _             ____
  / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
 / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
 \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
 W H A T  W I L L  Y O U  I N V E N T ? /___/
 -----------------------------------------------------
   Ω-ware: 0.1.10 b160
 -----------------------------------------------------
root@Omega-99A5:~# avrdude
Usage: avrdude [options]
Options:
  -p &lt;partno&gt;                Required. Specify AVR device.
  -b &lt;baudrate&gt;              Override RS-232 baud rate.
  -B &lt;bitclock&gt;              Specify JTAG/STK500v2 bit clock period (us).
  -C &lt;config-file&gt;           Specify location of configuration file.
  -c &lt;programmer&gt;            Specify programmer type.
  -D                         Disable auto erase for flash memory
  -i &lt;delay&gt;                 ISP Clock Delay [in microseconds]
  -P &lt;port&gt;                  Specify connection port.
  -F                         Override invalid signature check.
  -e                         Perform a chip erase.
  -O                         Perform RC oscillator calibration (see AVR053). 
  -U &lt;memtype&gt;:r|w|v:&lt;filename&gt;[:format]
                             Memory operation specification.
                             Multiple -U options are allowed, each request
                             is performed in the order specified.
  -n                         Do not write anything to the device.
  -V                         Do not verify.
  -u                         Disable safemode, default when running from a script.
  -s                         Silent safemode operation, will not ask you if
                             fuses should be changed back.
  -t                         Enter terminal mode.
  -E &lt;exitspec&gt;[,&lt;exitspec&gt;] List programmer exit specifications.
  -x &lt;extended_param&gt;        Pass &lt;extended_param&gt; to programmer.
  -y                         Count # erase cycles in EEPROM.
  -Y &lt;number&gt;                Initialize erase cycle # in EEPROM.
  -v                         Verbose output. -v -v for more.
  -q                         Quell progress output. -q -q for less.
  -l logfile                 Use logfile rather than stderr for diagnostics.
  -?                         Display this usage.

avrdude version 6.1, URL: &lt;http://savannah.nongnu.org/projects/avrdude/&gt;
</code></pre>
]]></description><link>http://community.onion.io/post/16489</link><guid isPermaLink="true">http://community.onion.io/post/16489</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Fri, 06 Apr 2018 14:09:26 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Fri, 06 Apr 2018 17:14:41 GMT]]></title><description><![CDATA[<p dir="auto">thanks can you expand on</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2619">@György-Farkas</a> said in <a href="/post/16489">Ardrino Dock2 request reflash recovery proceedure</a>:</p>
<blockquote>
<p dir="auto">If your hardware, firmware, the installed programs, the Arduino IDE on the host PC and all settings are OK then Omega2(+) with Arduino Dock 2 can identify the ATmega328P always correctly (Device signature = 0x1e950f).<br />
You should check your on-board AVR chip in a clean state again (after a Factory Reset).</p>
</blockquote>
<p dir="auto">could you explain  how to do a factory reset?</p>
<p dir="auto">and the avrdude command line switches for the omega2(+) with the ardrino dock2 (to reset it or manually program it)</p>
<p dir="auto">I've tried different combinations of</p>
<p dir="auto">root@Omega-:~#avrdude -c avrispmkII [and others] -p m328p -P /dev/ttyS1 /tmp/sketch.hex</p>
<p dir="auto">which errors out with:</p>
<p dir="auto">avrdude: stk500v2_ReceiveMessage(): timeout</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/post/16490</link><guid isPermaLink="true">http://community.onion.io/post/16490</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Fri, 06 Apr 2018 17:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Fri, 06 Apr 2018 18:13:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> If I were you I'd do this on the CLI - for example with these commands:<br />
<code>firstboot -y</code><br />
<code>reboot</code><br />
...<br />
<code>ssh root@192.168.3.1</code><br />
...<br />
<code>wifisetup</code><br />
...<br />
<code>opkg update</code><br />
<code>opkg install arduino-dock-2</code><br />
<code>avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c linuxgpio -P gpio -n -v</code></p>
<p dir="auto">This is my config: Omega2+ 0.1.10 b160 with Arduino Dock 2</p>
<pre><code>root@Omega-99A5:~# avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c linuxgpio -P gpio -n -v

avrdude: Version 6.1, compiled on Mar 27 2018 at 01:00:08
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino-dock/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : gpio
         Using Programmer              : linuxgpio
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : linuxgpio
         Description     : Use the Linux sysfs interface to bitbang GPIO lines
         Pin assignment  : /sys/class/gpio/gpio{n}
           RESET   = ~19
           SCK     =  15
           MOSI    =  16
           MISO    =  17

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5

avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK (E:05, H:DA, L:FF)

avrdude done.  Thank you.
</code></pre>
<p dir="auto">Good luck!</p>
]]></description><link>http://community.onion.io/post/16493</link><guid isPermaLink="true">http://community.onion.io/post/16493</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Fri, 06 Apr 2018 18:13:12 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Fri, 06 Apr 2018 18:22:02 GMT]]></title><description><![CDATA[<p dir="auto">root@Omega-:~# avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c<br />
linuxgpio -P gpio -n -v</p>
<p dir="auto">avrdude: Version 6.1, compiled on Mar 27 2018 at 01:00:08<br />
Copyright (c) 2000-2005 Brian Dean, <a href="http://www.bdmicro.com/" rel="nofollow">http://www.bdmicro.com/</a><br />
Copyright (c) 2007-2014 Joerg Wunsch</p>
<pre><code>     System wide configuration file is "/usr/share/arduino-dock/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : gpio
     Using Programmer              : linuxgpio
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : linuxgpio
     Description     : Use the Linux sysfs interface to bitbang GPIO lines
     Pin assignment  : /sys/class/gpio/gpio{n}
       RESET   = ~19
       SCK     =  15
       MOSI    =  16
       MISO    =  17
</code></pre>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0xff8dff<br />
avrdude: Expected signature for ATmega328P is 1E 95 0F<br />
Double check chip, or use -F to override this check.</p>
<p dir="auto">avrdude done.  Thank you.</p>
]]></description><link>http://community.onion.io/post/16494</link><guid isPermaLink="true">http://community.onion.io/post/16494</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Fri, 06 Apr 2018 18:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Sat, 07 Apr 2018 16:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> Bad news. Is the signature <strong>0xff8dff</strong> on each attempt - or does it change to a different value with every attempt?</p>
]]></description><link>http://community.onion.io/post/16495</link><guid isPermaLink="true">http://community.onion.io/post/16495</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Sat, 07 Apr 2018 16:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Sat, 07 Apr 2018 00:37:28 GMT]]></title><description><![CDATA[<p dir="auto">it changes:</p>
<p dir="auto">executing avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c linuxgpio -P gpio -n -v</p>
<p dir="auto">3x gives:</p>
<p dir="auto">1st run: avrdude: Device signature = 0xfff1ff<br />
next run: avrdude: Device signature = 0x318f7a<br />
final run: avrdude: Device signature = 0xffc840</p>
]]></description><link>http://community.onion.io/post/16501</link><guid isPermaLink="true">http://community.onion.io/post/16501</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Sat, 07 Apr 2018 00:37:28 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Mon, 09 Apr 2018 07:34:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> (If I were you) Before I'd say that your ATmega chip (or your Dock or both) is corrupted I'd check it in another way too - for example with an USB ISP programmer or with another Arduino (as ISP programmer). Perhaps I'd try to read the signature of another ATmega328P with the Dock.</p>
<p dir="auto">I'm afraid the signature bytes on an ATmega328P (on any ATmega) are not writable with normal programming instructions. Please correct me if I'm wrong.<br />
I haven't tested the next <strong>speculative</strong> command - if you think you can try it <strong>on your own risk</strong> :<br />
<code>avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c linuxgpio -P gpio -v -U signature:w:0x1E,0x95,0x0F:m</code><br />
Most probably it'll fail:<br />
avrdude: writing signature (3 bytes)<br />
avrdude: verification error</p>
<p dir="auto">I'm very sorry - I have no more idea.<br />
Maybe one of our <a class="plugin-mentions-group plugin-mentions-a" href="http://community.onion.io/groups/administrators">@administrators</a> will say some cleverness to you.</p>
<p dir="auto">Good luck.</p>
]]></description><link>http://community.onion.io/post/16506</link><guid isPermaLink="true">http://community.onion.io/post/16506</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Mon, 09 Apr 2018 07:34:59 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Sun, 08 Apr 2018 01:42:46 GMT]]></title><description><![CDATA[<p dir="auto">I added  the -F switch:</p>
<p dir="auto">root@Omega-:~# avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c<br />
linuxgpio -P gpio -v -F -U signature:w:0x1E,0x95,0x0F:m</p>
<p dir="auto">avrdude: Version 6.1, compiled on Mar 27 2018 at 01:00:08<br />
Copyright (c) 2000-2005 Brian Dean, <a href="http://www.bdmicro.com/" rel="nofollow">http://www.bdmicro.com/</a><br />
Copyright (c) 2007-2014 Joerg Wunsch</p>
<pre><code>     System wide configuration file is "/usr/share/arduino-dock/avrdude.conf"
     User configuration file is "/root/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : gpio
     Using Programmer              : linuxgpio
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : linuxgpio
     Description     : Use the Linux sysfs interface to bitbang GPIO lines
     Pin assignment  : /sys/class/gpio/gpio{n}
       RESET   = ~19
       SCK     =  15
       MOSI    =  16
       MISO    =  17
</code></pre>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0xff6323<br />
avrdude: Expected signature for ATmega328P is 1E 95 0F<br />
avrdude: safemode: lfuse reads as FF<br />
avrdude: safemode: hfuse reads as DA<br />
avrdude: safemode: efuse reads as 5<br />
avrdude: reading input file "0x1E,0x95,0x0F"<br />
avrdude: writing signature (3 bytes):</p>
<p dir="auto">Writing | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: 3 bytes of signature written<br />
avrdude: verifying signature memory against 0x1E,0x95,0x0F:<br />
avrdude: load data signature data from input file 0x1E,0x95,0x0F:<br />
avrdude: input file 0x1E contains 3 bytes<br />
avrdude: reading on-chip signature data:</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: verifying ...<br />
avrdude: 3 bytes of signature verified</p>
<p dir="auto">avrdude: safemode: lfuse reads as FF<br />
avrdude: safemode: hfuse reads as DA<br />
avrdude: safemode: efuse reads as 5<br />
avrdude: safemode: Fuses OK (E:05, H:DA, L:FF)</p>
<p dir="auto">avrdude done.  Thank you.</p>
<p dir="auto"><strong>BUT, it didn't change anything:</strong></p>
<p dir="auto">root@Omega-:~# avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c<br />
linuxgpio -P gpio -v</p>
<p dir="auto">(output muted for brevity)</p>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0xe01cff<br />
avrdude: Expected signature for ATmega328P is 1E 95 0F<br />
Double check chip, or use -F to override this check.</p>
<p dir="auto">avrdude done.  Thank you.</p>
<p dir="auto">Seems like i need to burn a new boot loader, by using a 2nd ardrino as an "Ardino as ISP" programmer.</p>
<p dir="auto"><a href="https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader" rel="nofollow">https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader</a>.</p>
<p dir="auto">The correct bootloader code is required for the atmega328p  to accept programming from the serial port.</p>
<p dir="auto">I wonder if the omega has access to the ICSP port. If not, i have a spare uno i could use as a programmer,  but i am unsure which IDE  settings to use, as the example in the link is for uno to uno.</p>
]]></description><link>http://community.onion.io/post/16510</link><guid isPermaLink="true">http://community.onion.io/post/16510</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Sun, 08 Apr 2018 01:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Fri, 13 Apr 2018 18:47:59 GMT]]></title><description><![CDATA[<p dir="auto">i fixed it by following this:</p>
<p dir="auto"><a href="https://www.arduino.cc/en/Tutorial/ArduinoISP" rel="nofollow">https://www.arduino.cc/en/Tutorial/ArduinoISP</a></p>
<p dir="auto">the procedure i used was:</p>
<p dir="auto">upload ardrinoISP sketch to a spare Ardrino uno.</p>
<p dir="auto">remove all connections and omega2+ from the ardino dock2.</p>
<p dir="auto">connected the uno to the dock2 icsp port as shown in the 1st link.</p>
<p dir="auto">set ardrino IDE to board "Ardrino/Genuino Uno"<br />
set ardrino IDE programmer to "Ardino as ISP"<br />
set port to /dev/tty/ACMO</p>
<p dir="auto">selected "burn bootloader"</p>
<p dir="auto">disconnected the uno.</p>
<p dir="auto">reinstalled the omega2+</p>
<p dir="auto">now the dock2 is programmable via the omega2+ using</p>
<p dir="auto">set ardrino IDE to board "Ardrino/Genuino Uno"</p>
<p dir="auto">and</p>
<p dir="auto">Programmer "AVRISP mII"</p>
<p dir="auto">via the network port</p>
<p dir="auto">root@Omega-:~# avrdude -C /usr/share/arduino-dock/avrdude.conf -p atmega328p -c linuxgpio -P gpio -n -v</p>
<p dir="auto">reports consistently:</p>
<p dir="auto">avrdude: AVR device initialized and ready to accept instructions</p>
<p dir="auto">Reading | ################################################## | 100% 0.00s</p>
<p dir="auto">avrdude: Device signature = 0x1e950f<br />
avrdude: safemode: lfuse reads as FF<br />
avrdude: safemode: hfuse reads as DA<br />
avrdude: safemode: efuse reads as 5</p>
<p dir="auto">avrdude: safemode: lfuse reads as FF<br />
avrdude: safemode: hfuse reads as DA<br />
avrdude: safemode: efuse reads as 5<br />
avrdude: safemode: Fuses OK (E:05, H:DA, L:FF)</p>
<p dir="auto">avrdude done.  Thank you.</p>
]]></description><link>http://community.onion.io/post/16548</link><guid isPermaLink="true">http://community.onion.io/post/16548</guid><dc:creator><![CDATA[C G]]></dc:creator><pubDate>Fri, 13 Apr 2018 18:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Mon, 16 Apr 2018 13:34:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> Congratulations!<br />
So the external programmer (the other Arduino) was reading the correct signature and that's how it was able to (re)write the chip.<br />
I don't fully understand the way your method works but that's not the point. The main thing is that everything is working fine now.</p>
<p dir="auto">Onion's official Arduino IDE setting (IDE &gt;&gt; Tools) is different than yours:</p>
<blockquote>
<p dir="auto">Board: "Onion Arduino Dock"<br />
Port: "Omega-XXXX at_IP_address (Arduino/Genuino Uno)"<br />
Programmer: "irrelevant"</p>
</blockquote>
<p dir="auto">vs.</p>
<blockquote>
<p dir="auto">Board "Ardrino/Genuino Uno"<br />
Port: "network port"<br />
Programmer "AVRISP mII"</p>
</blockquote>
<p dir="auto">But if this is working out for you ... that's your call. <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":-)" alt="🙂" /></p>
<p dir="auto">Footnote:<br />
I'm sorry the original cause of the error was not revealed after all. I wouldn't want to reproduce it intentionally but if I accidentally stumble upon this error I'll try your method too.</p>
]]></description><link>http://community.onion.io/post/16568</link><guid isPermaLink="true">http://community.onion.io/post/16568</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Mon, 16 Apr 2018 13:34:52 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Mon, 12 Nov 2018 03:02:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4948">@C-G</a> Thanks so much. This totally worked. Don't forget the 10 micro-f capacitor between ground and reset on the programming Arduino.</p>
]]></description><link>http://community.onion.io/post/18172</link><guid isPermaLink="true">http://community.onion.io/post/18172</guid><dc:creator><![CDATA[Matthew Lousteau]]></dc:creator><pubDate>Mon, 12 Nov 2018 03:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Mon, 12 Nov 2018 03:11:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5620">@Matthew-Lousteau</a> Take that back. I reacted too quickly.</p>
]]></description><link>http://community.onion.io/post/18173</link><guid isPermaLink="true">http://community.onion.io/post/18173</guid><dc:creator><![CDATA[Matthew Lousteau]]></dc:creator><pubDate>Mon, 12 Nov 2018 03:11:27 GMT</pubDate></item><item><title><![CDATA[Reply to Ardrino Dock2 request reflash recovery proceedure on Mon, 12 Nov 2018 03:49:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5620">@Matthew-Lousteau</a> OK. so it works, but if I have a ground pin connected into my project, it won't let me flash my sketch. If I disconnect the ground pin, I can flash the sketch and reconnect the pin afterwards and the sketch runs as I expected.</p>
]]></description><link>http://community.onion.io/post/18174</link><guid isPermaLink="true">http://community.onion.io/post/18174</guid><dc:creator><![CDATA[Matthew Lousteau]]></dc:creator><pubDate>Mon, 12 Nov 2018 03:49:34 GMT</pubDate></item></channel></rss>