<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Please try 125000, just to be sure.<br>
    <br>
    At these rates many transceivers should be able to silently correct
    the timing, maybe the MCP2515 gives up on this after some frames.<br>
    <br>
    Multiframe responses are just plain frames to the CAN driver, if
    there's a bug it would be in the application, the can trace logging
    would continue to work.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 30.12.2017 um 19:01 schrieb Geir
      Øyvind Vælidalo:<br>
    </div>
    <blockquote type="cite"
      cite="mid:88F2F913-4354-4644-ACB3-36348F043840@validalo.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      I’m pretty sure it’s 100kbit. I’ve decoded a lot of data with
      another can-logger.
      <div class="">I’ve been restarting the can-bus some times now and
        there’s two «special» PIDs that aren’t among the ones the trace
        have printed out.</div>
      <div class="">On of these messages can look like this:</div>
      <div class="">
        <div class="">49bh 10 31 f0 32 00 30 00 31<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 21 00 2c 00 20 00 46 00<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 22 72 00 69 00 64 00 74<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 23 00 6a 00 6f 00 66 00<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 24 20 00 4e 00 61 00 6e<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 25 00 73 00 65 00 6e 00<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 26 73 00 20 00 76 00 2e<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div class="">49bh 27 00 aa aa aa aa aa aa<span class="Apple-tab-span" style="white-space:pre">      </span></div>
        <div><br class="">
        </div>
        <div>It is a «multiframe» response containing text. Don’t know
          if that might be a problem? </div>
        <div><br class="">
        </div>
        <div>Geir</div>
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">30. des. 2017 kl. 18:52 skrev Michael Balzer
              <<a href="mailto:dexter@expeedo.de" class=""
                moz-do-not-send="true">dexter@expeedo.de</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=""> That's RX
                buffer 0 overflow:<br class="">
                <br class="">
                <span id="cid:part1.1113C73D.16909EE0@expeedo.de"><epbaejkifcjkiahk.png></span><br
                  class="">
                <br class="">
                …and the new code should have reset it automatically --
                the status output shows the last error state that
                occurred.<br class="">
                <br class="">
                Maybe that's a timing issue?<br class="">
                <br class="">
                Are you sure about the 100 kbit? I've found 125 kbit in
                a forum:<br class="">
                <br class="">
                <a class="moz-txt-link-freetext"
                  href="http://www.mykiasoulev.com/forum/viewtopic.php?t=135#p1772"
                  moz-do-not-send="true">http://www.mykiasoulev.com/forum/viewtopic.php?t=135#p1772</a><br
                  class="">
                <br class="">
                Regards,<br class="">
                Michael<br class="">
                <br class="">
                <br class="">
                <div class="moz-cite-prefix">Am 30.12.2017 um 18:45
                  schrieb Geir Øyvind Vælidalo:<br class="">
                </div>
                <blockquote type="cite"
                  cite="mid:BE2FD85F-6495-405E-8E67-A6E5FA439313@validalo.net"
                  class="">
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=utf-8" class="">
                  Looks correct now, but as you guessed, it still stops.
                  <div class="">What does error flag 0x40 mean? Is the
                    CAN_IRQ_ARB_LOST? </div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Geir<br class="">
                    <div class=""><br class="">
                      <blockquote type="cite" class="">
                        <div class="">30. des. 2017 kl. 18:38 skrev
                          Michael Balzer <<a
                            href="mailto:dexter@expeedo.de" class=""
                            moz-do-not-send="true">dexter@expeedo.de</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="">
                            OK, I found & fixed the cause for the
                            invalid frames.<br class="">
                            <br class="">
                            Please pull & try again -- but I doubt
                            it's the fix for the stopping.<br class="">
                            <br class="">
                            <br class="">
                            <div class="moz-cite-prefix">Am 30.12.2017
                              um 18:33 schrieb Michael Balzer:<br
                                class="">
                            </div>
                            <blockquote type="cite"
                              cite="mid:18026590-c34f-b858-02d2-b85b8404a982@expeedo.de"
                              class="">
                              <meta http-equiv="Content-Type"
                                content="text/html; charset=utf-8"
                                class="">
                              Do you get valid messages with the
                              previous version?<br class="">
                              <br class="">
                              Regards,<br class="">
                              Michael<br class="">
                              <br class="">
                              <br class="">
                              <div class="moz-cite-prefix">Am 30.12.2017
                                um 18:30 schrieb Geir Øyvind Vælidalo:<br
                                  class="">
                              </div>
                              <blockquote type="cite"
                                cite="mid:85E38BDD-C920-4996-899A-CE599FC0187B@validalo.net"
                                class="">
                                <meta http-equiv="Content-Type"
                                  content="text/html; charset=utf-8"
                                  class="">
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">Ok, this
                                  is what I get. As you can see, it is
                                  the same.</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><br
                                    class="">
                                </div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures; color: #34bc26"
                                    class="">OVMS ></span><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class=""> can
                                    can2 start active 100000</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class="">Can
                                    bus can2 started in mode active at
                                    speed 100000Kbps</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class="">V
                                    (740558) can: rx can2 id 1fffff44
                                    len 8: 43 02 00 00 00 00 ff ff |
                                    C.......</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740618) can: rx can2 id 000 len 8: b6
                                  78 00 00 00 00 00 00 | .x......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740618) can: rx can2 id 000 len 8: ff
                                  fc 0f 03 ff 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740628) can: rx can2 id 000 len 8: ff
                                  ff ff ff ff ff 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class="">V
                                    (740638) can: rx can2 id 000 len 8:
                                    54 00 ff 00 00 00 00 00 | T.......</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740648) can: rx can2 id 1fffffbe len
                                  8: 4d 02 00 00 00 00 ff ff | M.......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740678) can: rx can2 id 000 len 8: 00
                                  00 00 00 00 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740748) can: rx can2 id 1fffff44 len
                                  8: 40 02 00 00 00 00 ff ff | @.......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740818) can: rx can2 id 000 len 8: b6
                                  78 00 00 00 00 00 00 | .x......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740818) can: rx can2 id 000 len 8: ff
                                  fc 0f 03 ff 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740828) can: rx can2 id 000 len 8: ff
                                  ff ff ff ff ff 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class="">V
                                    (740838) can: rx can2 id 1fffff13
                                    len 8: 43 02 00 00 00 00 ff ff |
                                    C.......</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740848) can: rx can2 id 000 len 8: 54
                                  00 ff 00 00 00 00 00 | T.......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (740878) can: rx can2 id 000 len 8: 00
                                  00 00 00 00 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (741018) can: rx can2 id 000 len 8: b6
                                  78 00 00 00 00 00 00 | .x......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (741018) can: rx can2 id 000 len 8: ff
                                  fc 0f 03 ff 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (741028) can: rx can2 id 1fffff44 len
                                  8: 40 02 00 00 00 00 ff ff | @.......</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class="">V
                                    (741038) can: rx can2 id 000 len 8:
                                    54 00 ff 00 00 00 00 00 | T.......</span></div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class="">V
                                  (741078) can: rx can2 id 000 len 8: 00
                                  00 00 00 00 00 00 00 | ........</div>
                                <div style="margin: 0px; font-stretch:
                                  normal; line-height: normal;
                                  font-family: Menlo; background-color:
                                  rgb(255, 255, 255);" class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures; color: rgb(52,
                                    188, 38);" class="">OVMS ></span><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures;" class="">     
                                                  </span></div>
                                <div class=""><span
                                    style="font-variant-ligatures:
                                    no-common-ligatures" class=""><br
                                      class="">
                                  </span></div>
                                <div class=""><br class="">
                                  <blockquote type="cite" class="">
                                    <div class="">30. des. 2017 kl.
                                      18:24 skrev Michael Balzer <<a
                                        href="mailto:dexter@expeedo.de"
                                        class="" moz-do-not-send="true">dexter@expeedo.de</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=""> OK,
                                        and as your log output was from
                                        your vehicle module, please also
                                        do…<br class="">
                                        <br class="">
                                        level verbose<br class="">
                                        can can2 trace on<br class="">
                                        <br class="">
                                        …before activating the bus.<br
                                          class="">
                                        <br class="">
                                        Thanks,<br class="">
                                        Michael<br class="">
                                        <br class="">
                                        <br class="">
                                        <div class="moz-cite-prefix">Am
                                          30.12.2017 um 18:22 schrieb
                                          Geir Øyvind Vælidalo:<br
                                            class="">
                                        </div>
                                        <blockquote type="cite"
                                          cite="mid:9AC60198-FE36-460C-A708-A0602F5DDABD@validalo.net"
                                          class="">
                                          <meta
                                            http-equiv="Content-Type"
                                            content="text/html;
                                            charset=utf-8" class="">
                                          <div style="margin: 0px;
                                            font-stretch: normal;
                                            line-height: normal;
                                            font-family: Menlo;
                                            background-color: rgb(255,
                                            255, 255);" class=""><span
                                              style="font-variant-ligatures:
                                              no-common-ligatures"
                                              class="">Can status gave
                                              this:</span></div>
                                          <div style="margin: 0px;
                                            font-stretch: normal;
                                            line-height: normal;
                                            font-family: Menlo;
                                            background-color: rgb(255,
                                            255, 255);" class=""><span
                                              style="font-variant-ligatures:
                                              no-common-ligatures"
                                              class=""><br class="">
                                            </span></div>
                                          <div style="margin: 0px;
                                            font-stretch: normal;
                                            line-height: normal;
                                            font-family: Menlo;
                                            background-color: rgb(255,
                                            255, 255);" class="">
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">CAN:       can2</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Mode:     
                                                Active</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Speed:    
                                                100000</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Rx pkt:        
                                                            104</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Rx err:        
                                                              0</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Tx pkt:        
                                                              0</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Tx err:        
                                                              0</span></div>
                                            <div style="margin: 0px;
                                              font-stretch: normal;
                                              line-height: normal;"
                                              class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class="">Err flags: 0x40</span></div>
                                            <div class=""><span
                                                style="font-variant-ligatures:
                                                no-common-ligatures"
                                                class=""><br class="">
                                              </span></div>
                                          </div>
                                          <div style="" class=""><br
                                              class="">
                                            <blockquote type="cite"
                                              class="">
                                              <div class="">30. des.
                                                2017 kl. 18:13 skrev
                                                Geir Øyvind Vælidalo
                                                <<a
                                                  href="mailto:geir@validalo.net"
                                                  class=""
                                                  moz-do-not-send="true">geir@validalo.net</a>>:</div>
                                              <br
                                                class="Apple-interchange-newline">
                                              <div class="">
                                                <meta
                                                  http-equiv="Content-Type"
                                                  content="text/html;
                                                  charset=utf-8"
                                                  class="">
                                                <div style="word-wrap:
                                                  break-word;
                                                  -webkit-nbsp-mode:
                                                  space; line-break:
                                                  after-white-space;"
                                                  class="">Fantastic!
                                                  I’m in my car right
                                                  now, so I’ll test it
                                                  right now 🙂
                                                  <div class=""><br
                                                      class="">
                                                  </div>
                                                  <div class="">Geir<br
                                                      class="">
                                                    <div class=""><br
                                                        class="">
                                                      <blockquote
                                                        type="cite"
                                                        class="">
                                                        <div class="">30.
                                                          des. 2017 kl.
                                                          17:59 skrev
                                                          Michael Balzer
                                                          <<a
                                                          href="mailto:dexter@expeedo.de"
                                                          class=""
                                                          moz-do-not-send="true">dexter@expeedo.de</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=""> Geir,<br class="">
                                                          <br class="">
                                                          I've had a
                                                          look into the
                                                          mcp2515 driver
                                                          and found some
                                                          possible
                                                          causes for
                                                          your issue.
                                                          Main possible
                                                          cause would be
                                                          there was no
                                                          check or
                                                          clearing of RX
                                                          buffer
                                                          overflows.<br
                                                          class="">
                                                          <br class="">
                                                          There also was
                                                          a chance the
                                                          driver would
                                                          read invalid
                                                          frames, as the
                                                          RX interrupts
                                                          got cleared
                                                          before the
                                                          buffer content
                                                          was fetched.<br
                                                          class="">
                                                          <br class="">
                                                          I think I've
                                                          solved those
                                                          issues, and I
                                                          also added
                                                          retrieving the
                                                          tx/rx error
                                                          counts and
                                                          flags, so "can
                                                          status" can
                                                          actually show
                                                          you errors
                                                          that occurred.<br
                                                          class="">
                                                          <br class="">
                                                          I've got no
                                                          simple means
                                                          to check if my
                                                          changes work
                                                          and if they
                                                          are more
                                                          stable, I
                                                          don't have a
                                                          cable for
                                                          can2/3.<br
                                                          class="">
                                                          <br class="">
                                                          Can you please
                                                          pull &
                                                          test?<br
                                                          class="">
                                                          <br class="">
                                                          Regards,<br
                                                          class="">
                                                          Michael<br
                                                          class="">
                                                          <br class="">
                                                          <br class="">
                                                          <div
                                                          class="moz-cite-prefix">Am
                                                          30.12.2017 um
                                                          10:19 schrieb
                                                          Geir Øyvind
                                                          Vælidalo:<br
                                                          class="">
                                                          </div>
                                                          <blockquote
                                                          type="cite"
                                                          cite="mid:1AA896EE-296C-4862-8598-659605729CE1@validalo.net"
                                                          class="">
                                                          <meta
                                                          http-equiv="Content-Type"
content="text/html; charset=utf-8" class="">
                                                          <font class=""
                                                          face="Courier
                                                          New">can can2
                                                          status</font>
                                                          gave me the
                                                          same result.
                                                          Once it
                                                          stopped after
                                                          receiving just
                                                          4 frames on
                                                          Can2. During
                                                          the few
                                                          restarts I did
                                                          this morning,
                                                          251 was the
                                                          most I got
                                                          before it
                                                          stopped. 
                                                          <div class="">Can1
                                                          recieved 50000
                                                          frames in no
                                                          time and kept
                                                          on going. It
                                                          seems Can2 is
                                                          the problem.
                                                          Don’t know
                                                          what happened
                                                          yesterday when
                                                          can1 stopped… </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">Geir
                                                            <br class="">
                                                          <div class=""><br
                                                          class="">
                                                          <blockquote
                                                          type="cite"
                                                          class="">
                                                          <div class="">29.
                                                          des. 2017 kl.
                                                          22:23 skrev
                                                          Michael Balzer
                                                          <<a
                                                          href="mailto:dexter@expeedo.de"
                                                          class=""
                                                          moz-do-not-send="true">dexter@expeedo.de</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=""> Geir,<br class="">
                                                          <br class="">
                                                          can you check
                                                          the output of
                                                          "can … status"
                                                          before and
                                                          after death?
                                                          Do the rx/tx
                                                          counters still
                                                          grow after
                                                          death?<br
                                                          class="">
                                                          <br class="">
                                                          Regards,<br
                                                          class="">
                                                          Michael<br
                                                          class="">
                                                          <br class="">
                                                          <br class="">
                                                          <div
                                                          class="moz-cite-prefix">Am
                                                          29.12.2017 um
                                                          22:14 schrieb
                                                          Geir Øyvind
                                                          Vælidalo:<br
                                                          class="">
                                                          </div>
                                                          <blockquote
                                                          type="cite"
                                                          cite="mid:F5276F08-CBF3-453B-AEED-C765CDAA9B6F@validalo.net"
                                                          class="">I’m
                                                          having
                                                          problems with
IncomingFrameCan when reading from two can buses from the Kia Soul. One
                                                          of the can
                                                          buses dies
                                                          prematurely,
                                                          and quite
                                                          fast, with no
                                                          visible
                                                          errors. Most
                                                          of the time it
                                                          is Can2 that
                                                          dies, however
                                                          that is not
                                                          always the
                                                          case.
                                                          <div class="">I
                                                          tried with an
                                                          almost empty
                                                          IncomingFrameCan2,
                                                          containing
                                                          just a counter
                                                          to see how
                                                          many times it
                                                          is called, and
                                                          it varied from
                                                          15 to  almost
                                                          200 before it
                                                          dies. </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">This
                                                          is the code:</div>
                                                          <div class="">
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class=""><br
                                                          class="">
                                                          </div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">RegisterCanBus(1,
CAN_MODE_ACTIVE, CAN_SPEED_500KBPS);</div>
                                                          </div>
                                                          <div class="">
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">RegisterCanBus(2,
CAN_MODE_ACTIVE, CAN_SPEED_100KBPS);</div>
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">…</div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class=""><span
                                                          style="color:
                                                          #931a68"
                                                          class="">void</span>
OvmsVehicleKiaSoulEv::IncomingFrameCan2(CAN_frame_t* p_frame)</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">{</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class=""><span class="Apple-tab-span" style="white-space:pre"> </span>uint8_t
                                                          *d =
                                                          p_frame->data.u8;</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class=""><span class="Apple-tab-span" style="white-space:pre"> </span>m_counter->SetValue(
m_counter->AsInt()+1 );</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">}</div>
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">IncomingFrameCan1
                                                          is quite
                                                          verbose, but
                                                          should not
                                                          take too long
                                                          time to
                                                          process. But I
                                                          have a lot of
                                                          Polls on Can1:</div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class=""><span
                                                          style="color:
                                                          #931a68"
                                                          class="">static</span>
                                                          <span
                                                          style="color:
                                                          #931a68"
                                                          class="">const</span>
OvmsVehicle::poll_pid_t vehicle_kiasoulev_polls[] =</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">  {</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e2, 0x7ea,
VEHICLE_POLL_TYPE_OBDIIVEHICLE,  0x02, {  30,  30,  30 } }, <span class="Apple-tab-span" style="white-space:pre"> </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          VIN</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e4, 0x7ec,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x01,
                                                          {  30,  10, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          BMC </span><span
style="text-decoration: underline ; color: #4e9072" class="">Diag</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class=""> page
                                                          01</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e4, 0x7ec,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x02,
                                                          {  30,  30, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          BMC </span><span
style="text-decoration: underline ; color: #4e9072" class="">Diag</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class=""> page
                                                          02</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e4, 0x7ec,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x03,
                                                          {  30,  30, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          BMC </span><span
style="text-decoration: underline ; color: #4e9072" class="">Diag</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class=""> page
                                                          03</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e4, 0x7ec,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x04,
                                                          {  30,  30, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          BMC </span><span
style="text-decoration: underline ; color: #4e9072" class="">Diag</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class=""> page
                                                          04</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e4, 0x7ec,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x05,
                                                          {  30,  30, 
                                                          10 } },<span class="Apple-tab-span" style="white-space:pre">        </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          BMC </span><span
style="text-decoration: underline ; color: #4e9072" class="">Diag</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class=""> page
                                                          05</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x794, 0x79c,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x02,
                                                          {  30,  30, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          OBC - On board
                                                          charger</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e2, 0x7ea,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x00,
                                                          {  30,  10, 
                                                          10 } }, <span class="Apple-tab-span" style="white-space:pre">       </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          VMCU
                                                          Shift-stick</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7e2, 0x7ea,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x02,
                                                          {  30,  10,  
                                                          0 } }, <span class="Apple-tab-span" style="white-space:pre">        </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          VMCU Motor </span><span
style="text-decoration: underline ; color: #4e9072" class="">temp</span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">++</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7df, 0x7de,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x06,
                                                          {  30,  10,  
                                                          0 } }, <span class="Apple-tab-span" style="white-space:pre">        </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          TMPS</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0x7c5, 0x7cd,
VEHICLE_POLL_TYPE_OBDIIGROUP,  <span class="Apple-tab-span" style="white-space:pre"> </span>0x01,
                                                          {  30,  10,  
                                                          0 } }, <span class="Apple-tab-span" style="white-space:pre">        </span><span
                                                          style="color:
                                                          #4e9072"
                                                          class="">//
                                                          LDC - Low
                                                          voltage DC-DC</span></div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">    {
                                                          0, 0, 0, 0, {
                                                          0, 0, 0 } }</div>
                                                          <div
                                                          style="margin:
                                                          0px;
                                                          font-stretch:
                                                          normal;
                                                          font-size:
                                                          10px;
                                                          line-height:
                                                          normal;
                                                          font-family:
                                                          Monaco;"
                                                          class="">  };</div>
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">The
                                                          few times that
                                                          Can2 is the
                                                          one that lives
                                                          on, I can’t
                                                          see any
                                                          metrics from
                                                          Can1.</div>
                                                          <div class=""> </div>
                                                          <div class="">Current
                                                          source can be
                                                          seen here: <a
href="https://github.com/goev/Open-Vehicle-Monitoring-System-3" class=""
moz-do-not-send="true">https://github.com/goev/Open-Vehicle-Monitoring-System-3</a> in
                                                          case someone
                                                          can take a
                                                          look.</div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">Any
                                                          pointers to
                                                          where I can
                                                          start looking,
                                                          or tips to
                                                          what I can
                                                          try?</div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class="">Best
                                                          regards,</div>
                                                          <div class="">Geir</div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <div class=""><br
                                                          class="">
                                                          </div>
                                                          <br class="">
                                                          <fieldset
                                                          class="mimeAttachmentHeader"></fieldset>
                                                          <br class="">
                                                          <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                                                          </blockquote>
                                                          <br class="">
                                                          <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                                                          </div>
_______________________________________________<br class="">
                                                          OvmsDev
                                                          mailing list<br
                                                          class="">
                                                          <a
                                                          href="mailto:OvmsDev@lists.teslaclub.hk"
                                                          class=""
                                                          moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                                                          class="">
                                                          <a
                                                          class="moz-txt-link-freetext"
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                                                          moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                                                          class="">
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br class="">
                                                          </div>
                                                          <br class="">
                                                          <fieldset
                                                          class="mimeAttachmentHeader"></fieldset>
                                                          <br class="">
                                                          <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                                                          </blockquote>
                                                          <br class="">
                                                          <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                                                          </div>
_______________________________________________<br class="">
                                                          OvmsDev
                                                          mailing list<br
                                                          class="">
                                                          <a
                                                          href="mailto:OvmsDev@lists.teslaclub.hk"
                                                          class=""
                                                          moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                                                          class="">
                                                          <a
                                                          href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                                                          class=""
                                                          moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                                                          class="">
                                                        </div>
                                                      </blockquote>
                                                    </div>
                                                    <br class="">
                                                  </div>
                                                </div>
_______________________________________________<br class="">
                                                OvmsDev mailing list<br
                                                  class="">
                                                <a
                                                  href="mailto:OvmsDev@lists.teslaclub.hk"
                                                  class=""
                                                  moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                                                  class="">
                                                <a
                                                  class="moz-txt-link-freetext"
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                                                  moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                                                  class="">
                                              </div>
                                            </blockquote>
                                          </div>
                                          <br class="">
                                          <br class="">
                                          <fieldset
                                            class="mimeAttachmentHeader"></fieldset>
                                          <br class="">
                                          <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                                        </blockquote>
                                        <br class="">
                                        <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                                      </div>
_______________________________________________<br class="">
                                      OvmsDev mailing list<br class="">
                                      <a
                                        href="mailto:OvmsDev@lists.teslaclub.hk"
                                        class="" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                                        class="">
                                      <a class="moz-txt-link-freetext"
                                        href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                                        moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                                        class="">
                                    </div>
                                  </blockquote>
                                </div>
                                <br class="">
                                <br class="">
                                <fieldset class="mimeAttachmentHeader"></fieldset>
                                <br class="">
                                <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                              </blockquote>
                              <br class="">
                              <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                              <br class="">
                              <fieldset class="mimeAttachmentHeader"></fieldset>
                              <br class="">
                              <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                            </blockquote>
                            <br class="">
                            <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
                          </div>
_______________________________________________<br class="">
                          OvmsDev mailing list<br class="">
                          <a href="mailto:OvmsDev@lists.teslaclub.hk"
                            class="" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                            class="">
                          <a class="moz-txt-link-freetext"
                            href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                            moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                            class="">
                        </div>
                      </blockquote>
                    </div>
                    <br class="">
                  </div>
                  <br class="">
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br class="">
                  <pre class="" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
                </blockquote>
                <br class="">
                <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
              </div>
              _______________________________________________<br
                class="">
              OvmsDev mailing list<br class="">
              <a href="mailto:OvmsDev@lists.teslaclub.hk" class=""
                moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                class="">
              <a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                class="">
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>