Contents |
I started to port the redboot bootloader to the SIMpad CL4/SL4 (first successful startup on my CL4).Therefor I had to find out some information about the internal wiring.
!!! All information without guarantee !!! Please add further information
Information sources:
Something lethal if you set a false configuration. I found the GPIO direction register GPDR value in the Siemens bootloader. GPDR=0xC015A88
| GP Nr | Description | Direction |
|---|---|---|
| 0 | Front side power button or jtag power jumper (between capacitor), low active | IN |
| 1 | PCMCIA IRQ, low active | IN |
| 2 | MQ-200 IRQ, low active | IN |
| 3 | MQ-200 Powerdown, low active (D4 state??) | OUT |
| 4 | Undervoltage | IN |
| 5 | NC (find GPIO5) | IN |
| 6 | UART1 (Dect) DSR | IN |
| 7 | UART1 (Dect) DTR | OUT |
| 8 | UART1 (Dect) CTS | IN |
| 9 | UART1 (Dect) RTS | OUT |
| 10 | TDA8007 IRQ, low active | IN |
| 11 | SIMpad power shutdown (0: shutdown the SIMpad) | OUT |
| 12 | UART3 (Plug) RTS | OUT |
| 13 | UART3 (Plug) CTS | IN |
| 14 | UART1 (Dect) TXD, alternate GPIO function | OUT |
| 15 | UART1 (Dect) RXD, alternate GPIO function | IN |
| 16 | UART3 (Plug) DTR | OUT |
| 17 | UART3 (Plug) DSR | IN |
| 18 | UART3 (Plug) DCD | IN |
| 19 | UART1 (Dect) RING | IN |
| 20 | \INVALID-3 (Plug: RS232 Transceiver) | IN |
| 21 | I2C Data | IN |
| 22 | UCB1300 IRQ | IN |
| 23 | UART1 (Dect) DCD | IN |
| 24 | PCMCIA card detect IRQ, low active | IN |
| 25 | Piggy back bootloader select during bootup, after bootup I2C clock protected with a 330ohm resistor | IN |
| 26 | 0:MIC2179 SKIP for power save (<150mA) / 1:MIC2179 PWM for normal operation (>150mA) ~~ something like a software hard reset during normal operation ;-) | OUT |
| 27 | 32kHz output, alternate GPIO function, I think for MQ-200 Power Management state machine (PMCLK) | OUT |
Bit banged I2C bus:
Write only 2x 74LCX573 -> 16Bit
| CS3 Bit | Description |
|---|---|
| 0x0001 | PCMCIA power control MIC2562-A1 VCC5_EN |
| 0x0002 | PCMCIA power control MIC2562-A1 VCC3_EN |
| 0x0004 | PCMCIA power control MIC2562-A1 VPP_PGM |
| 0x0008 | PCMCIA power control MIC2562-A1 VPP_VCC |
| 0x0010 | high: Display on |
| 0x0020 | low: PCMCIA buffer enabled |
| 0x0040 | high: MQ-200 reset |
| 0x0080 | high: PCMCIA reset |
| 0x0100 | high: DECT power on |
| 0x0200 | high: IRDA shutdown for powersave |
| 0x0400 | high: UART3 level converter force on |
| 0x0800 | high: MQ-200 shutdown (D4 state ??) |
| 0x1000 | high: Green LED on |
| 0x2000 | IRDA mode Fast/Slow |
| 0x4000 | high: Enable 5V power circuit |
| 0x8000 | high: Smart Card reset |
Read only 1x 74LCX244 -> 8Bit
| CS3 Bit | Description |
|---|---|
| 0x01 | PCMCIA BVD1 |
| 0x02 | PCMCIA BVD2 |
| 0x04 | PCMCIA VS1 (PCMCIA card voltage select) |
| 0x08 | PCMCIA VS2 (PCMCIA card voltage select) |
| 0x10 | LOCK_IND ?? |
| 0x20 | charging state |
| 0x40 | PCMCIA_SHORT, low active |
| 0x80 |
If VS1 and VS2 are in high state -> 5V PCMCIA card
| CS Nr | Description |
|---|---|
| 0 | 16Mbyte Intel StrataFlash |
| 1 | 16Mbyte Intel StrataFlash on SIMpad SL4 SLC |
| 2 | Nothing |
| 3 | Simpad CS3 16Bit output latch (check simpad.h in the Linux source) |
| 4 | TDA8007 Smart Card controller |
| 5 | Media-Q MQ-200 graphic controller |
CS2 pin for possible hardware extensions like USB host, FPGA/CPLD accelerated SD card interface ... !!! Pinout NOT CONFIRMED !!! Just checked some BGA pins with an ohmmeter. Bottom PCB