<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Henrik,<br>
<br>
<blockquote type="cite"
cite="mid:0BDBAA0D-978E-4F4B-A58C-8AEE1D73388C@spjeldager.dk">
<div class="">
<div class="">
<blockquote type="cite" class="">See <a
href="https://github.com/espressif/esptool/wiki/espefuse"
class="" moz-do-not-send="true">https://github.com/espressif/esptool/wiki/espefuse</a>
-- you can try the dump command and send the results to
Espressif. If your ESP32 really lost its efuses,<br class="">
I think that's a warranty issue.</blockquote>
</div>
<div class=""><br class="">
</div>
<div class="">I ran the dump. It did not report CRC error, nor
all1’s or 0’s. Is there any reason not to share the output
from the dump command publicly?<br class="">
</div>
</div>
</blockquote>
<br>
The CRC check is done on the data level. The dump should not contain
sensible data, but unless Mark can read it (?) there is no reason to
post it here. Espressif should check it and possibly tell you what
to do.<br>
<br>
<blockquote type="cite"
cite="mid:0BDBAA0D-978E-4F4B-A58C-8AEE1D73388C@spjeldager.dk">
<div class="">
<div class="">
<div class="">
<div class="">I am guessing the current rebooting issue
could be an issue with my build. It is my first OVMS
build, based on sources pulled Aug 4, and I may have done
something wrong, have the wrong version of some tool
installed, or something may have changed in the repos
since the developer guide was last tested by someone.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Can I download bootloader.bin, ovms3.bin and
partitions.bin from somewhere, and flash those instead
of my build?</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
We normally only publish ovms3.bin, I created a directory with all
three files for you:<br>
<a class="moz-txt-link-freetext" href="https://dexters-web.de/firmware/henrik/">https://dexters-web.de/firmware/henrik/</a><br>
<br>
But I doubt that's the reason.<br>
<br>
<blockquote type="cite"
cite="mid:0BDBAA0D-978E-4F4B-A58C-8AEE1D73388C@spjeldager.dk">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div style="margin: 0px; font-stretch: normal;
font-size: 11px; line-height: normal; font-family:
Menlo; background-color: rgb(255, 255, 255);" class="">Henriks-MBP:OVMS.V3
henrik$ make print_flash_cmd</div>
<div style="margin: 0px; font-stretch: normal;
font-size: 11px; line-height: normal; font-family:
Menlo; background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures;"
class="">--flash_mode dio --flash_freq 40m
--flash_size detect 0x1000 bootloader/bootloader.bin
0x10000 ovms3.bin 0x8000 partitions.bin</span></div>
</div>
<div class=""><br class="">
</div>
</div>
<div class="">Is “make flash” always supposed to bring the
device to a functioning state, when configured and built
as described in the developer config (i.e. by <span style="font-family: "Courier New"; font-size: 8pt; white-space: pre-wrap; text-align: justify;" class="">cp support/sdkconfig.default.hw31 sdkconfig</span><span style="white-space: pre-wrap; text-align: justify;" class=""> and then</span><span style="white-space: pre-wrap; text-align: justify;" class=""> </span><span style="font-family: "Courier New"; font-size: 8pt; white-space: pre-wrap; text-align: justify;" class="">make menuconfig)</span>?</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes.<br>
<br>
<blockquote type="cite"
cite="mid:0BDBAA0D-978E-4F4B-A58C-8AEE1D73388C@spjeldager.dk">
<div class="">
<div class="">
<div class="">
<div class="">I seem to get errors when connecting to the
device, e.g. when flashing:</div>
<div class=""><br>
<span style="font-variant-ligatures: no-common-ligatures"
class="">Flashing binaries to serial port
/dev/tty.SLAB_USBtoUART (app at offset 0x10000 )...</span>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">esptool.py v2.3.1</span></div>
…<br>
<span style="font-variant-ligatures: no-common-ligatures"
class=""> File
"/Library/Python/2.7/site-packages/serial/serialposix.py",
line 438, in _reconfigure_port</span>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""> [iflag, oflag, cflag, lflag, ispeed,
ospeed, cc])</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">termios.error: (22, 'Invalid argument')</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">make: *** [flash] Error 1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Henriks-MBP:OVMS.V3 henrik$ make flash</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Flashing binaries to serial port
/dev/tty.SLAB_USBtoUART (app at offset 0x10000 )...</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">esptool.py v2.3.1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255); min-height: 13px;"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">A fatal error occurred: Failed to connect to
ESP32: Timed out waiting for packet header</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">make: *** [flash] Error 2</span></div>
<div style="margin: 0px; font-stretch: normal; font-size:
11px; line-height: normal; font-family: Menlo;
background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Henriks-MBP:OVMS.V3 henrik$ </span></div>
</div>
<div class=""><br class="">
</div>
<div class="">Could all of this conceivably be caused by
“bad” USB hardware? I connect the device via a cheap Hama
device for converting my thunderbolt port to standard USB.</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes, but maybe you can solve that by using another speed setting for
the port? (see "make menuconfig")<br>
<br>
However, this cannot affect the efuse data.<br>
<br>
Regards,<br>
Michael<br>
<br>
<blockquote type="cite"
cite="mid:0BDBAA0D-978E-4F4B-A58C-8AEE1D73388C@spjeldager.dk">
<div class="">
<div class="">
<div class="">
<div class="">Best regards,</div>
<div class="">Henrik</div>
<div class="">-- </div>
<div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0,
0); font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; text-decoration: none;"><br
class="">
Venlig hilsen / best regards <br class="">
Henrik R. Scheel<br class="">
<br class="">
Spjeldager Consult ApS<br class="">
Spjeldager 9 <br class="">
DK-2630 Taastrup <br class="">
CVR: 34491399 <br class="">
T: +45 2720 9828 <br class="">
<a href="http://www.spjeldager.dk/" class=""
moz-do-not-send="true">http://www.spjeldager.dk/</a><br
class="">
</div>
</div>
<div><br class="">
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/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>