view gtm900/fw-reg-config @ 371:c7514c8b5b41

pirelli/headset: plug insertion detection figured out
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Jun 2021 01:33:48 +0000
parents 6791499809e0
children
line wrap: on
line source

Reading the ASIC_CONF_REG, IO_CONF_REG and IO_CNTL_REG registers via ETM when
the firmware is running shows the same values that are set by the Init_Target()
code we have disassembled.

When the firmware is running, reading the ARMIO_LATCH_OUT register via ETM
returns 0x3F07, i.e., GPIO outputs 0, 1 and 2 (RI, DSR, DCD) are 1s, meaning
modem control signals inactive.

APCOFF register setting in the Iota ABB is 0x070, same as in our reference fw.