<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Forgot to explain: to fully disable the PSRAM workaround, you also
need to modify main/component.mk:<br>
<br>
<font face="monospace">COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive
-l$(COMPONENT_NAME) -Wl,--no-whole-archive -T main/ovms_boot.ld \<br>
-mfix-esp32-psram-cache-issue</font><br>
<br>
Remove the "-mfix-esp32-psram-cache-issue" here.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 31.01.21 um 08:58 schrieb Michael
Balzer:<br>
</div>
<blockquote type="cite"
cite="mid:e5818ddf-4e99-b6fa-9de4-c74a14c94893@expeedo.de">Craig,
<br>
<br>
congratulations to a successful heart transplantation :-)
<br>
<br>
Regarding RAM, I think you need to enable bank switching
(CONFIG_SPIRAM_BANKSWITCH_ENABLE).
<br>
<br>
Please also disable the PSRAM bug workaround and maybe do some
performance comparison. SPIRAM operations should run much faster
without the workaround.
<br>
<br>
Regards,
<br>
Michael
<br>
<br>
<br>
Am 31.01.21 um 08:29 schrieb Craig Leres:
<br>
<blockquote type="cite">On 1/30/21 9:47 PM, Craig Leres wrote:
<br>
<blockquote type="cite">It doesn't look like ovms knows there is
extra memory?
<br>
</blockquote>
<br>
I think actually the idf assumes 4 MB of SPIRAM and a future
version will allow use of more memory.
<br>
<br>
I also figured out that my oldest ovms module has 16 MB of
flash.
<br>
<br>
Craig
<br>
<br>
ice 6540 % python esptool_py/esptool/esptool.py \
<br>
--chip esp32 \
<br>
--port /dev/tty.SLAB_USBtoUART \
<br>
--baud 921600 \
<br>
flash_id
<br>
esptool.py v2.8
<br>
Serial port /dev/ovms-dev
<br>
Connecting........_
<br>
Chip is ESP32D0WDQ6 (revision 1)
<br>
Features: WiFi, BT, Dual Core, Coding Scheme None
<br>
Crystal is 40MHz
<br>
MAC: 30:ae:a4:??:??:??
<br>
Uploading stub...
<br>
Running stub...
<br>
Stub running...
<br>
Changing baud rate to 921600
<br>
Changed.
<br>
Manufacturer: ef
<br>
Device: 6018
<br>
Detected flash size: 16MB
<br>
Hard resetting via RTS pin...
<br>
_______________________________________________
<br>
OvmsDev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>