<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Ja netvrdim, ze je spatny ten arduino
      kod, nektere casti knihoven taky pouzivam pro inspiraci nebo i
      vic...</div>
    <div class="moz-cite-prefix">Pokud se to pise v tom arduino editoru,
      tak se da pouzit debugger? To jsem jeste nevidel. Pokud se pro
      psani programu pouzije C++ a nejake standardni IDE, tak OK, proc
      ne.</div>
    <div class="moz-cite-prefix">Ale tipuju, ze vetsina uzivatelu vubec
      netusi, co se pod jejich strankou .ino textu deje.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Taky obcas vnitrne bojuju, jestli
      pouzit arduino nebo si napsat aplikaci pracneji sam, pokud jde o
      takove to domaci hrani, kdysi jsem obcas na neco arduino pouzil
      (ESP8266, ESP32) ale je to IMHO dost omezujici, nakonec jsem
      dopisoval hromadu kodu v C a tak jsem od toho upustil. Nevim,
      jestli uz nejak podporuje multitasking a vyuziti vlastnosti
      FreeRTOS, kdyz jsem to pouzival, tak to nebylo a tim padem to bylo
      dost omezujici. Ale vazne, nic proti, pokud to pouziva nekdo, kdo
      vi, co dela.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Dne 12.12.2018 v 0:16 Tomas Urbanek
      napsal(a):<br>
    </div>
    <blockquote type="cite"
      cite="mid:42CFB26E-8968-49DC-B08E-D2A1B37ABF5D@me.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      to jsou bludy. proc by nemel byt podporovan debuger? jak by ho ti
      arduinosti sakra dokazali vyradit? :)
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">T<br class="">
          <div><br class="">
            <blockquote type="cite" class="">
              <div class="">11. 12. 2018 v 12:07, Jaroslav Buchta <<a
                  href="mailto:jaroslav.buchta@hascomp.cz" class=""
                  moz-do-not-send="true">jaroslav.buchta@hascomp.cz</a>>:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=UTF-8" class="">
                <div text="#000000" bgcolor="#FFFFFF" class="">
                  <div class="moz-cite-prefix">To samozrejme vim, ze je
                    to nadstavba a ze jsou vsechny zdrojaky k dispozici.</div>
                  <div class="moz-cite-prefix">Vadi mi, ze tenhle system
                    vytvari dojem, jak je snadne cokoli naprogramovat,
                    splacaji se ruzne knihovny dohromady a ono to nejak
                    vetsinou funguje. Nikdo nezkouma, proc a jak neco
                    funguje, jak to zatezuje procesor, zere pamet,  a
                    nebo hure, proc neco nefunguje a do hloubky kodu
                    nejde. Uz proto, ze to arduino nepodporuje debugger.
                    Zrovna u toho STM je to IMHO velka skoda nevyuzit,
                    kdyz to jde tak snadno a je k tomu rozhrani celkem
                    zadarmo. Dnes rano me treba zase nas... kdyz jsem
                    hledal neco k ESP32 googlem, zprasili to arduinem a
                    vetsina odkazu vede na debilni otazky a jeste
                    debilnejsi odpovedi ve forech, proc neco nefunguje
                    jak by melo, skoro nikdo neresi podstatu problemu
                    ale rady se omezuji na to co stahnout nebo zkusit
                    prenastavit a mozna... Pritom zase to ESP32 ma
                    skvele API vcetne dokumentace a programuje se v tom
                    luxusne. Jen da samozrejme trosku vic prace se to
                    naucit, to uz se asi nenosi.<br class="">
                  </div>
                  <div class="moz-cite-prefix"><br class="">
                  </div>
                  <div class="moz-cite-prefix">Dne 11.12.2018 v 10:29
                    Tomas Urbanek napsal(a):<br class="">
                  </div>
                  <blockquote type="cite"
                    cite="mid:E378EB91-D26E-469D-9AD6-4F23C8F5169C@me.com"
                    class="">
                    <meta http-equiv="content-type" content="text/html;
                      charset=UTF-8" class="">
                    <div dir="ltr" class="">Pokud pouziva stm32duino tak
                      je to nadstavba nad HALem od ST. A kod je zcela
                      otevreny. Startovaci kod je standartni od ST. Je
                      tedy uplne jedno jestli pouzije arduino, hal nebo
                      ll pokud nezna arm a stm32. Tyhle hrabeci rady
                      vychazeji z cire neznalosti. </div>
                    <div dir="ltr" class=""><br class="">
                    </div>
                    <div dir="ltr" class="">T</div>
                    <div dir="ltr" class=""><br class="">
                      10. 12. 2018 v 19:53, Jaroslav Buchta <<a
                        href="mailto:jaroslav.buchta@hascomp.cz"
                        moz-do-not-send="true" class="">jaroslav.buchta@hascomp.cz</a>>:<br
                        class="">
                      <br class="">
                    </div>
                    <blockquote type="cite" class="">
                      <div dir="ltr" class="">
                        <meta http-equiv="Content-Type"
                          content="text/html; charset=UTF-8" class="">
                        <div class="moz-cite-prefix">Nevim, jak to dela
                          arduino ale standardni startovaci kod data v
                          sekci BSS nuluje, heap zustava nepovsimnut ale
                          tezko asi alokujete stejny blok... Hardwarove
                          by snad reset nemel mit na obsah RAM vliv (az
                          asi na oblasti ktere pouziva pevny bootloader)</div>
                        <div class="moz-cite-prefix">Cistym resenim by
                          IMHO bylo pouzit externi USB/VCP prevodnik na
                          jiny UART a programovadlo nechat na
                          programovani. A nejlip zahodit arduino a mit
                          program pod kontrolou.</div>
                        <div class="moz-cite-prefix"><br class="">
                        </div>
                        <div class="moz-cite-prefix"><br class="">
                        </div>
                        <div class="moz-cite-prefix">Dne 10.12.2018 v
                          19:22 Jirka Mww napsal(a):<br class="">
                        </div>
                        <blockquote type="cite"
cite="mid:CAGNMtu2RmVHLKrrcpyrGduYpr0dvdRBe37=z4phtiYw2Lr_0zQ@mail.gmail.com"
                          class="">
                          <meta http-equiv="content-type"
                            content="text/html; charset=UTF-8" class="">
                          <div dir="auto" class="">Vypadek napajeni
                            urcite nenastal, staci stisknout tlacitko
                            reset na desce a data se prepisou.</div>
                          <div dir="auto" class="">Je to ale asi opravdu
                            arduinem, hodnota je porad stejna . Prestoze
                            je promenna definovana</div>
                          <div dir="auto" class="">jako word tak hodnota
                            vypsana po resetu je asi 10x vyssi. Alespon
                            predpokladam, ze word je</div>
                          <div dir="auto" class="">porad jeste 16bitu
                            bez znamenka.</div>
                          <div dir="auto" class="">Dnes uz se k tomu
                            nedostanu, zitra budu pokracovat. Podstatne
                            je ale, ze po odstraneni</div>
                          <div dir="auto" class="">propojek ST linku to
                            uz neresetuje, tak mi to zatim staci.</div>
                          <div class=""><br class="">
                            <div class="gmail_quote">
                              <div class="">po 10. 12. 2018 v 18:33
                                odesílatel Miroslav Mraz <<a
                                  href="mailto:mrazik@volny.cz"
                                  moz-do-not-send="true" class="">mrazik@volny.cz</a>>
                                napsal:<br class="">
                              </div>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">No jo, po
                                připojení napájení jsou v RAM náhodná
                                data. Je to trochu <br class="">
                                složitější, musíte identifikovat zdroj
                                přerušení - asi i v této řadě <br
                                  class="">
                                bude něco jako RCC_CSR registr, ve
                                kterém jsou flagy zdroje přerušení. <br
                                  class="">
                                Na začátku musíte identifikovat
                                připojení napájení - něco jako BOR a <br
                                  class="">
                                pokud je nastaven, příslušnou proměnnou
                                nastavit na potřebnou hodnotu <br
                                  class="">
                                (asi vynulovat). Pokud je zdroj
                                přerušení jiný, neděláte nic. Tedy nic -
                                <br class="">
                                patrně bude nutné flagy vždy nulovat.
                                Bývá na to speciální bit RMVF. <br
                                  class="">
                                Není to žádná magie.<br class="">
                                <br class="">
                                Mrazík<br class="">
                                <br class="">
                                Dne 10. 12. 18 v 18:14 Jirka Mww
                                napsal(a):<br class="">
                                > Zkusil jsem to  SW řešení<br
                                  class="">
                                > unsigned long   savedTime
                                __attribute__ ((section (".noinit")));<br
                                  class="">
                                > , proměnná se sice neinicializuje
                                na nulu, , ale ani se nezachová obsah  <br
                                  class="">
                                > před resetem, jsou tam nesmysly , 
                                takže budu pokračovat zítra.<br class="">
                                > Zatím díky za pomoc, hodně jsem se
                                dnes naučil.<br class="">
                                > <br class="">
                                > Zdravi<br class="">
                                > Jirka Sloupenský  OK1MWW<br
                                  class="">
                                > <br class="">
_______________________________________________<br class="">
                                HW-list mailing list  -  sponsored by <a
                                  href="http://www.hw.cz/"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true" class="">www.HW.cz</a><br
                                  class="">
                                <a href="mailto:Hw-list@list.hw.cz"
                                  target="_blank" moz-do-not-send="true"
                                  class="">Hw-list@list.hw.cz</a><br
                                  class="">
                                <a
                                  href="http://list.hw.cz/mailman/listinfo/hw-list"
                                  rel="noreferrer" target="_blank"
                                  moz-do-not-send="true" class="">http://list.hw.cz/mailman/listinfo/hw-list</a><br
                                  class="">
                              </blockquote>
                            </div>
                          </div>
                          <div dir="ltr" class="">-- <br class="">
                          </div>
                          <div class="gmail_signature"
                            data-smartmail="gmail_signature">Zdravi<br
                              class="">
                            Jirka Sloupenský  OK1MWW</div>
                          <br class="">
                          <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/" moz-do-not-send="true">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
                        </blockquote>
                        <p class=""><br class="">
                        </p>
                      </div>
                    </blockquote>
                    <blockquote type="cite" class="">
                      <div dir="ltr" class=""><span class="">_______________________________________________</span><br
                          class="">
                        <span class="">HW-list mailing list  -
                           sponsored by <a href="http://www.hw.cz/"
                            moz-do-not-send="true" class="">www.HW.cz</a></span><br
                          class="">
                        <span class=""><a
                            href="mailto:Hw-list@list.hw.cz"
                            moz-do-not-send="true" class="">Hw-list@list.hw.cz</a></span><br
                          class="">
                        <span class=""><a
                            href="http://list.hw.cz/mailman/listinfo/hw-list"
                            moz-do-not-send="true" class="">http://list.hw.cz/mailman/listinfo/hw-list</a></span><br
                          class="">
                      </div>
                    </blockquote>
                    <br class="">
                    <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/" moz-do-not-send="true">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
                  </blockquote>
                  <p class=""><br class="">
                  </p>
                </div>
                _______________________________________________<br
                  class="">
                HW-list mailing list  -  sponsored by <a
                  href="http://www.HW.cz" class=""
                  moz-do-not-send="true">www.HW.cz</a><br class="">
                <a href="mailto:Hw-list@list.hw.cz" class=""
                  moz-do-not-send="true">Hw-list@list.hw.cz</a><br
                  class="">
                <a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a><br class="">
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </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>