<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Asi rozumne reseni, stejne si myslim,
      ze nelze s jistotou ocekavat, ze po tvrdem RESETu se zachovaji
      jakakoli data, krome RTC zony, kde je to tak nejak zaruceno.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Dne 12.12.2018 v 22:19 Jirka Mww
      napsal(a):<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGNMtu35w6BkuKjOO8s_EQu20WAAtw0JdyJL5cAoKqpOt_=eHw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>No data jsem zatim neresil. Po rade pana Waclawka jsem
          odpojil reset  STlinku (SWD)  a chodi to jak potrebuju, <br>
        </div>
        <div>Data i index se zachovaji po pripojeni USB portu k PC a
          nebo jen po zapnuti PC protoze kresetu vubec nedojde. <br>
        </div>
        <div>Pro programovani tam ty dvba jumpery co odpoji ST link zase
          strcim. Neni to uplne pohodlne,</div>
        <div>ale pro ten muj ucel to bude takto stacit. <br>
        </div>
        <div>  Takze co se tyka to0ho resetu, ted uz je to jen snaha
          pochopit, co se tam vlastne deje. <br>
        </div>
        <div>Nemam moc rad cerne skrinky, i kdyz to Arduino vlastne
          takova cerna skrinka je. <br>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">Zdravi<br>
              Jirka Sloupenský  OK1MWW</div>
          </div>
          <br>
        </div>
      </div>
      <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top:1px solid #d3d4de">
          <tbody>
            <tr>
              <td style="width:55px;padding-top:18px"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                  target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
                    alt="" style="width: 46px; height: 29px;"
                    moz-do-not-send="true" width="46" height="29"></a></td>
              <td
style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Bez
                virů. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                  target="_blank" style="color:#4453ea"
                  moz-do-not-send="true">www.avast.com</a> </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">st 12. 12. 2018 v 22:12 odesílatel Jaroslav
          Buchta <<a href="mailto:jaroslav.buchta@hascomp.cz"
            moz-do-not-send="true">jaroslav.buchta@hascomp.cz</a>>
          napsal:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF">
            <div class="gmail-m_-684437663917610521moz-cite-prefix">Ono
              to muze byt slozitejsi, po RESETu se spusti interni
              program v MCU, u ktereho neni znamo, co dela a jakou pamet
              pouziva. Potom startovaci kod vaseho programu, ktery by uz
              neinicializovanou sekci mel zohlednit a pak kdo vi...</div>
            <div class="gmail-m_-684437663917610521moz-cite-prefix">Pochopil
              jsem, ze resite nejaky index do dat, ale co ta vlastni
              data, ta se zachovaji?<br>
            </div>
            <div class="gmail-m_-684437663917610521moz-cite-prefix"><br>
            </div>
            <div class="gmail-m_-684437663917610521moz-cite-prefix">Dne
              12.12.2018 v 22:04 Jirka Mww napsal(a):<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div>Urcite to jde, ale ja tento druh zapisu definice
                  promennych z duse nenavidim.  Vystudoval jsem na
                  Pascalu a tak byte a word jsou moje oblibene definice.
                  <br>
                </div>
                <div>Ja jsem si prave pokusne psal do te
                  neinicializovane promenne, definovane jako word 
                  0xaa55 a po resetu mi to vracelo cislo, ktere odpovida
                  zrejme nejakemu long int. <br>
                </div>
                <div>Zitra to jeste  vyzkousim , byl jsem pryc.   <br>
                </div>
                <div><br>
                </div>
                <div>
                  <div>
                    <div dir="ltr"
                      class="gmail-m_-684437663917610521gmail_signature">Zdravi<br>
                      Jirka Sloupenský  OK1MWW</div>
                  </div>
                  <br>
                </div>
              </div>
              <div
                id="gmail-m_-684437663917610521DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
                <table style="border-top:1px solid rgb(211,212,222)">
                  <tbody>
                    <tr>
                      <td style="width:55px;padding-top:18px"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                          target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
                            alt="" style="width: 46px; height: 29px;"
                            moz-do-not-send="true" width="46"
                            height="29"></a></td>
                      <td
style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Bez
                        virů. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                          style="color:rgb(68,83,234)" target="_blank"
                          moz-do-not-send="true">www.avast.com</a> </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">st 12. 12. 2018 v 20:35 odesílatel
                  Jaroslav Buchta <<a
                    href="mailto:jaroslav.buchta@hascomp.cz"
                    target="_blank" moz-do-not-send="true">jaroslav.buchta@hascomp.cz</a>>
                  napsal:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF">
                    <div
class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-cite-prefix">Urcite
                      prectete to same at to ma 16 nebo 32 bitu, vetsi
                      rozsah az na specialni algoritmicke konstrukce
                      nicemu nevadi.</div>
                    <div
class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-cite-prefix">Ale
                      co to v tom konkretnim portu arduina znamena povi
                      snad nekdo jiny, aby v tom nebyl bordel, tak se
                      spise pouzivaji typy z knihovny stdint, jako
                      uint8_t, int16_t, uint16_t, uint32_t atd, tam je
                      vse na prvni pohled jasne a je to dokonale
                      prenositelne. Nevim, jestli to jde v ramci toho
                      ino souboru, zkusil bych to.<br>
                    </div>
                    <div
class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-cite-prefix"><br>
                    </div>
                    <div
class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-cite-prefix">Dne
                      12.12.2018 v 20:05 Jirka Mww napsal(a):<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div>Ale ja jakozto vyuceny Pascalista mam
                          definici jako word. To je taky 32 bitu ?   A
                          kdyz do toho zapisu 0xAA55  a pak to prectu
                          tak dostanu co ?</div>
                        <div>Jsem z toho volajako zmeteny, jako major
                          Haluska. <br>
                        </div>
                        <div>
                          <div>
                            <div dir="ltr"
class="gmail-m_-684437663917610521gmail-m_2997830784432599654gmail_signature">Zdravi<br>
                              Jirka Sloupenský  OK1MWW</div>
                          </div>
                          <br>
                        </div>
                      </div>
                      <div
id="gmail-m_-684437663917610521gmail-m_2997830784432599654DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
                        <table style="border-top:1px solid
                          rgb(211,212,222)">
                          <tbody>
                            <tr>
                              <td style="width:55px;padding-top:18px"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                                  target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
                                    alt="" style="width: 46px; height:
                                    29px;" moz-do-not-send="true"
                                    width="46" height="29"></a></td>
                              <td
style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Bez
                                virů. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
                                  style="color:rgb(68,83,234)"
                                  target="_blank" moz-do-not-send="true">www.avast.com</a>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr">st 12. 12. 2018 v 13:01
                          odesílatel Jan Waclawek <<a
                            href="mailto:konfera@efton.sk"
                            target="_blank" moz-do-not-send="true">konfera@efton.sk</a>>
                          napsal:<br>
                        </div>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex">unsigned
                          long je vo svete ARMov 32 bitov.<br>
                          <br>
                          wek<br>
                          <br>
                          <br>
                          ----- Original Message ---------------<br>
                          <br>
                          >Nejvic mi ted vrta hlavou, proc je ta
                          neinicializovana promenna typu word<br>
                          >vypsana hned na zacatku programu asi 10x
                          vetsi nez  word (16 bitu )<br>
                          <br>
_______________________________________________<br>
                          HW-list mailing list  -  sponsored by <a
                            href="http://www.HW.cz" rel="noreferrer"
                            target="_blank" moz-do-not-send="true">www.HW.cz</a><br>
                          <a href="mailto:Hw-list@list.hw.cz"
                            target="_blank" moz-do-not-send="true">Hw-list@list.hw.cz</a><br>
                          <a
                            href="http://list.hw.cz/mailman/listinfo/hw-list"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
                        </blockquote>
                      </div>
                      <br>
                      <fieldset
class="gmail-m_-684437663917610521gmail-m_2997830784432599654mimeAttachmentHeader"></fieldset>
                      <pre class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-quote-pre">_______________________________________________
HW-list mailing list  -  sponsored by <a class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-txt-link-abbreviated" href="http://www.HW.cz" target="_blank" moz-do-not-send="true">www.HW.cz</a>
<a class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz" target="_blank" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="gmail-m_-684437663917610521gmail-m_2997830784432599654moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
                    </blockquote>
                    <p><br>
                    </p>
                  </div>
                  _______________________________________________<br>
                  HW-list mailing list  -  sponsored by <a
                    href="http://www.HW.cz" rel="noreferrer"
                    target="_blank" moz-do-not-send="true">www.HW.cz</a><br>
                  <a href="mailto:Hw-list@list.hw.cz" target="_blank"
                    moz-do-not-send="true">Hw-list@list.hw.cz</a><br>
                  <a href="http://list.hw.cz/mailman/listinfo/hw-list"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
                </blockquote>
              </div>
              <br>
              <fieldset
                class="gmail-m_-684437663917610521mimeAttachmentHeader"></fieldset>
              <pre class="gmail-m_-684437663917610521moz-quote-pre">_______________________________________________
HW-list mailing list  -  sponsored by <a class="gmail-m_-684437663917610521moz-txt-link-abbreviated" href="http://www.HW.cz" target="_blank" moz-do-not-send="true">www.HW.cz</a>
<a class="gmail-m_-684437663917610521moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz" target="_blank" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="gmail-m_-684437663917610521moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
            </blockquote>
            <p><br>
            </p>
          </div>
          _______________________________________________<br>
          HW-list mailing list  -  sponsored by <a
            href="http://www.HW.cz" rel="noreferrer" target="_blank"
            moz-do-not-send="true">www.HW.cz</a><br>
          <a href="mailto:Hw-list@list.hw.cz" target="_blank"
            moz-do-not-send="true">Hw-list@list.hw.cz</a><br>
          <a href="http://list.hw.cz/mailman/listinfo/hw-list"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>