History of GenBoard/Firmware/BootLoaderLoopback
Older Newer
2019-01-23 15:19:42 . . . . 188-143-125-7.pool.digikabel.hu [tests with abnormally long cable]
2019-01-23 13:57:16 . . . . 188-143-125-7.pool.digikabel.hu [minor: typo]
2019-01-23 13:44:42 . . . . 188-143-125-7.pool.digikabel.hu [should only be needed with extension cable (verified)]
2019-01-23 12:40:23 . . . . 188-143-125-7.pool.digikabel.hu [DB9 capacitive loopback]
2017-06-18 13:25:10 . . . . catv-80-98-142-196.catv.broadband.hu [follow steps; check DSUB9/pin5 ground]
2016-09-14 09:21:44 . . . . catv-80-98-142-196.catv.broadband.hu [minor cleanup; highlighted bootloader mode => "Stay"]
2016-09-14 09:18:09 . . . . catv-80-98-142-196.catv.broadband.hu [minor cleanup; highlighted bootloader mode => "Stay"]
2008-08-23 10:18:33 . . . . 3e70d19f.adsl.enternet.hu [loopback hints]


Changes by last author:

Changed:
* connect the ECU RS232 (serial port) DSUB9 pin2 to pin3, with a wire, a conducting paperclip, or a dedicated loopback connector
* connect the ECU RS232 (serial port) DSUB9 pin2 to pin3, with a wire, a conducting paperclip, or a dedicated loopback connector (=intentional ECU RS232 loopback at powerup)
Added:
----

Prevent unintentional loopback (staying in "boot mode" if RS232 is not connected to BT-RS232 or PC at powerup). Obligatory if DSUB9 extension cable is used

Capacitive coupling can cause unintentional loopback detected (very likely with long RS232 cable,less likely with short cable or no cable, but not impossible), staying in bootloader with stayreason 0x37 (instead of starting firmware).

To prevent unintentional loopback: obligatory when long DSUB9 extension cable is used: (but Vemstune or BT-RS232 is not connected)

* connect a DSUB9/M connector with resistor < 5.6k between RS232DSUB9F/pin3 (ECU RX) and RS232DSUB9F/pin5 (GND).

** it might be tempting to insert a 2k4 throughole resistor and forget about it. It's OK as a test, but not a permanent solution: expected to lose contact.

Summary

* resistor between ECU DB9F/pin3 and pin5 prevent unintentional loopback 2k7 recommended, but 0 Ohm ("short") wire also works.

** This way capacitive coupling (or other noise) cannot cause unintentional loopback. Note that with some random ECUs (having ST232, from 2018-October mainboard batch) we measured 4.17V with 1k pullup to 5.05V indicating 4.17 / (5.05-4.17) = 4.73 k internal pulldown inside ECU (actually inside ST232 chip) which makes unintentional loopback extremely unlikely without real strong capacitive coupling, such as a long DSUB9 extension with no peer device connected. Confirmed by:

** We made tests with long (5 * 1.5m) DB9 cable extension on RS232: ECUs (having ST232) from current mainboard batch (2018-10 picknplace batch): started fw reliably even such abnormally long total 7.5m long cable (capacitive loopback) was attached, unterminated.

* resistor between pin3 and pin2 at powerup causes intentional loopback (see top of this page)

** usually not needed for fw upgrade, or done temporary with a lose resistor (before firmware upload if needed)