<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Kind of.<div class=""><br class=""></div><div class="">The DB26 expansion connector has 7 GEP lines, plus 2 EXP lines.</div><div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">The EXP lines are GPIOs directly from the ESP32 and very valuable (only two are free).</li><li class="">The GEP lines are generic pins that are mapped to the internal expansion slot. That slot also has all the EGPIOs (which are more plentiful). An expansion board can jumper connect any EGPIO to any GEP. Expansion boards can also do things more sophisticated (such as relays, opto-isolaters, etc) in their mapping.</li></ul></div><div class=""><br class=""></div><div class="">Regards, Mark.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28 Feb 2018, at 4:44 AM, Greg D. <<a href="mailto:gregd2350@gmail.com" class="">gregd2350@gmail.com</a>> wrote:</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="">
I forget... Are any of these available GPIO lines accessible
through the 26-pin connector? It would be great to be able to
create a script to twiddle a GPIO pin as a result of some
car-related event. Extra credit for having the GPIO as an Input,
triggering an event script that would alter some car-related state.<br class="">
<br class="">
Greg<br class="">
<br class="">
<br class="">
<div class="moz-cite-prefix">Mark Webb-Johnson wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:DFDB4BFD-D579-4484-910C-EBF6081B99CF@webb-johnson.net" class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div class=""><br class="">
</div>
<div class="">I fixed the issue with SIMCOM UART.
<div class=""><br class="">
</div>
<div class="">It was another compatibility issue with SDCARD.
The GPIO4 and GPIO13 we are using for v3.1 simcom modem are
SD_DATA1 and SD_DATA3. Even though I had set SDCARD to 1-line
mode, the ESP IDF driver was still reserving all those GPIO
pins for itself (at hardware controller level). A 1-line (sic)
change to our SD-CARD component fixes this and frees SD_DATA1,
SD_DATA2, SD_DATA3 for our other uses.</div>
<div class=""><br class="">
</div>
<div class="">With firmware fix made, I can mount the SD CARD,
and run ‘test sd’ while talking to simcom modem. All ok.</div>
<div class=""><br class="">
</div>
<div class="">CAN2 is now also ok. I re-flowed the solder on
that part of the board, and all looks good now.</div>
</div>
<div class="">
<div class=""><br class="">
</div>
<blockquote style="margin: 0px 0px 0px 40px; border: none;
padding: 0px;" class="">
<div class="">
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can1
start active 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Can bus can1 started
in mode active at speed 1000000Kbps</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can2
start active 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Can bus can2 started
in mode active at speed 1000000Kbps</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can3
start active 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Can bus can3 started
in mode active at speed 1000000Kbps</span></font></div>
</div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class="">
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can log
trace</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">CAN logging active:
Type:trace; Path:''; Filter:off; Vehicle:;</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Note: info logging
is done at log level debug, frame logging at verbose</span></font></div>
</div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class="">
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > log level
verbose</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Logging level for *
set to verbose</span></font></div>
</div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class="">
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can1
tx standard 100 01 02 03 04</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (66710) canlog: TX
can1 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (66710) canlog: RX
can2 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (66710) canlog: RX
can3 id 100 len 4: 01 02 03 04 | ….</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can2
tx standard 100 01 02 03 04</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (73230) canlog: TX
can2 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (73230) canlog: RX
can1 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (73230) canlog: RX
can3 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can3
tx standard 100 01 02 03 04</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (80380) canlog: TX
can3 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (80380) canlog: RX
can1 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">V (80380) canlog: RX
can2 id 100 len 4: 01 02 03 04 | ....</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can1
status</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">CAN: can1</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Mode: Active</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Speed: 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Interrupts:
4</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx pkt:
2</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx pkt:
2</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx delays:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Err flags: 0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">D (88210) canlog:
Status can1 intr=4 rxpkt=2 txpkt=2 errflags=0 rxerr=0
txerr=0 rxovr=0 txovr=0 txdelay=0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can2
status</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">CAN: can2</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Mode: Active</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Speed: 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Interrupts:
4</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx pkt:
3</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx pkt:
1</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx delays:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Err flags: 0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">D (90770) canlog:
Status can2 intr=4 rxpkt=3 txpkt=1 errflags=0 rxerr=0
txerr=0 rxovr=0 txovr=0 txdelay=0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">OVMS > can can3
status</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">CAN: can3</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Mode: Active</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Speed: 1000000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Interrupts:
4</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx pkt:
3</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Rx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx pkt:
1</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx delays:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx err:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Tx ovrflw:
0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">Err flags: 0</span></font></div>
<div class=""><font class="" face="Andale Mono"><span style="font-size: 14px;" class="">D (92910) canlog:
Status can3 intr=4 rxpkt=3 txpkt=1 errflags=0 rxerr=0
txerr=0 rxovr=0 txovr=0 txdelay=0</span></font></div>
</div>
<div class=""><br class="">
</div>
</blockquote>
<div class="">So 16MB Flash, 4MB SPIRAM, ESP32, modem, CAN,
EGPIO, and SDCARD are all ok. I will test the remaining few
peripherals tonight (need 12v power). I think we are going to
be ok now.</div>
</div>
<div class=""><br class="">
</div>
<div class="">Component orders have been placed. I’m going to
order a first batch of 120 modules tonight (assuming no issues
with the last few peripherals).</div>
<div class=""><br class="">
</div>
<div class="">Regards, Mark.</div>
<div class=""><br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
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 class="">
</div>
_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>