OpenWrt Forum Archive

Topic: h/w question: Serial cable on Siemens SE505

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all!

If you followed the other threads in this forum, you'd know that others and I need a way to have a serial console on the infamous Siemens SE505 dsl/cable router (V2) :-)

My question is: Has anyone found the location on the board were to "grab" the RX, TX, (perhaps RTS/CTS?) lines and some voltage and ground? I have come along a lot of photos of other hardware and guides to connect a serial cable to these devices but not yet for a SE505... :-(

On this board there is a "normal" 5x2 header and 4-pin header in a (Molex?) socket like they are from these CD-ROM audio cables in a PC... (I believe that the 5x2 is JTAG and the 4-pin is serial. But who knows? And what may be the pin-assignment?)

If someone needs photos of my board (v2) I could send them via PM. (No official space on the web to put them on...)

I hope somebody could help me to help the community preparing OpenWrt for the large(?) market of SE505 owners...

Salut, Jörg

jsl123 wrote:

Hi all!

If you followed the other threads in this forum, you'd know that others and I need a way to have a serial console on the infamous Siemens SE505 dsl/cable router (V2) :-)

My question is: Has anyone found the location on the board were to "grab" the RX, TX, (perhaps RTS/CTS?) lines and some voltage and ground? I have come along a lot of photos of other hardware and guides to connect a serial cable to these devices but not yet for a SE505... :-(

On this board there is a "normal" 5x2 header and 4-pin header in a (Molex?) socket like they are from these CD-ROM audio cables in a PC... (I believe that the 5x2 is JTAG and the 4-pin is serial. But who knows? And what may be the pin-assignment?)

If someone needs photos of my board (v2) I could send them via PM. (No official space on the web to put them on...)

I hope somebody could help me to help the community preparing OpenWrt for the large(?) market of SE505 owners...

Salut, Jörg

Hi ,
I owned a SE 505 V2 and the RS232 pins are on the 4 pin ( maybe Molex ??? ) Connector .
I can not make pictures , but here a little ascii diagram who show you the pinout of this connector


|           0 0 0 0                                                                     |
|           1 2 3 4                                                                     |
|---------------------------------------------------------------------|
      front of the se 505

pin 1 = Ground  ( GND )
pin 2 = TX
pin 3 = RX ( attention , this pin is not tested , the orginal firmware give you no login to test this )
pin 4 = Vcc ( + 3,3 V )

Believe me , you cannot connect the pins directly to your RS 232 at your PC , instead you have to use a RS232
level shifter  circuit  with a MAX 3232 IC or similar to convert the 3,3 V to the 12 V of the RS 232 and reverse .
I have connected such a circuit to the router , baudrate was 115200 bd , 8 N 1 , and at boot i got this :

Decompressing..........done
Here we try to capture the default reset button: None.


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri May 14 09:44:24 CST 2004 (denny@dnylinux)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.9.0
CPU type 0x29007: 200MHz
Total memory: 0x800000 bytes (8MB)

Total memory used by CFE:  0x80300000 - 0x80434F90 (1265552)
Initialized Data:          0x8032F0A0 - 0x803313D0 (9008)
BSS Area:                  0x803313D0 - 0x80332F90 (7104)
Local Heap:                0x80332F90 - 0x80432F90 (1048576)
Stack Area:                0x80432F90 - 0x80434F90 (8192)
Text (code) segment:       0x80300000 - 0x8032F0A0 (192672)
Boot area (physical):      0x00435000 - 0x00475000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr 00-01-E3-0F-B6-C4, ipaddr 192.168.2.1, mask 255.255.255.0
        gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: ..... 1433600 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029007

Primary instruction cache 8kb, linesize 16 bytes (2 ways)

Primary data cache 4kb, linesize 16 bytes (2 ways)

Linux version 2.4.20 (root@localhost.localdomain) (gcc version 3.2.3 with Broadcom modifications) #17 Thu Jul 15 13:58:34 CST 2004

Determined physical RAM map:

memory: 00800000 @ 00000000 (usable)

On node 0 totalpages: 2048

zone(0): 2048 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200

CPU: BCM4712 rev 1 at 200 MHz

Calibrating delay loop... 199.47 BogoMIPS

Memory: 6472k/8192k available (1206k kernel code, 1720k reserved, 108k data, 64k init, 0k highmem)

Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)

Inode cache hash table entries: 512 (order: 0, 4096 bytes)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 2048 (order: 1, 8192 bytes)

Checking for 'wait' instruction...  unavailable.

POSIX conformance testing by UNIFIX

PCI: Fixing up bus 0

PCI: Fixing up bridge

PCI: Fixing up bus 1

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)

devfs: boot_options: 0x1

pty: 256 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled

ttyS00 at 0xb8000300 (irq = 3) is a 16550A

ttyS01 at 0xb8000400 (irq = 0) is a 16550A

Amd/Fujitsu Extended Query Table v1.1 at 0x0040

number of CFI chips: 1

Flash device: 0x400000 at 0x1c000000

Physically mapped flash: cramfs filesystem found at block 850

Creating 5 MTD partitions on "Physically mapped flash":

0x00000000-0x00040000 : "pmon"

0x00040000-0x003c0000 : "linux"

0x000d4b34-0x003c0000 : "rootfs"

0x003c0000-0x003e0000 : "profile"

0x003e0000-0x00400000 : "nvram"

sflash: found no supported devices

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 512 bind 1024)

ip_conntrack version 2.1 (64 buckets, 512 max) - 344 bytes per conntrack

ip_tables: (C) 2000-2002 Netfilter core team

ipt_time loading

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NET4: Ethernet Bridge 008 for NET4.0

802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>

All bugs added by David S. Miller <davem@redhat.com>

VFS: Mounted root (cramfs filesystem) readonly.

Mounted devfs on /dev

Freeing unused kernel memory: 64k freed

upgrade_wireless_nvram(): This firmware support WPA
setup_4712(): Enable VLAN
check_version_migration(): No need to process NVRAM migration
Using /lib/modules/2.4.20/kernel/drivers/net/et/et.o
Using /lib/modules/2.4.20/kernel/drivers/net/wl/wl.o
Using /lib/modules/2.4.20/kernel/drivers/net/slhc.o
Using /lib/modules/2.4.20/kernel/drivers/net/ppp_generic.o
Using /lib/modules/2.4.20/kernel/drivers/net/pppox.o
Using /lib/modules/2.4.20/kernel/drivers/net/pppoe.o
Using /lib/modules/2.4.20/kernel/drivers/net/ppp_async.o
Using /lib/modules/2.4.20/misc/mppe.o
Using /lib/modules/2.4.20/kernel/drivers/net/led/led.o
powerled_ctl(): WAN is  disconnected, turn power LED(GPIO 5) off!
led_ctl(): WAN is  disconnected, turn LED2(GPIO 0) off!
Hit enter to continue...rc: No need to start PPPoE
main_loop(): don't need to touch /tmp/pptp_man
CONSOLE connected!
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Added VLAN with VID == 0 to IF -:eth0:-
Added VLAN with VID == 1 to IF -:eth0:-
WARNING:  VLAN 1 does not work with many switches,
consider another number if you have problems.
TURN ON POWER LED!
powerled_ctl(): WAN is  connected, turn power LED(GPIO 5) on!
PRESTART
PRESTART for level 0
PRESTART for all services
killall: ntpclient: no process killed
killall: udhcpd: no process killed
killall: udhcpd: no process killed
killall: iapp: no process killed
ppp0 pppoe
cp: /tmp/fw_rules: No such file or directory
stop_firewall():create /tmp/fw_rules
stop_firewall():
killall: url_filter: no process killed
stop_wan():PRESTART for level 0
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
stop_firewall(): end
killall: ip-up: no process killed
killall: ip-down: no process killed
killall: pppoecd: no process killed
killall: pppd: no process killed
killall: udhcpc: no process killed
killall: stats: no process killed
killall: ntpclient: no process killed
killall: upnp: no process killed
killall: wan_test: no process killed
killall: route_check: no process killed
killall: set_dyndns: no process killed
killall: url_filter: no process killed
killall: auth: no process killed
ppp0: No such device
killall: httpd: no process killed
stop_lan():PRESTART for level 0
br0: No such device
wlconf: vlan0 failed (-1)
bridge br0 doesn't exist!
bridge br0 doesn't exist!
wlconf: wlanb0 failed (-1)
wlanb0: No such device
bridge br0 doesn't exist!
wlconf: wlana0 failed (-1)
wlana0: No such device
bridge br0 doesn't exist!
bridge br0 doesn't exist; can't delete it
killall: auth: no process killed
killall: netfilter_log: no process killed
eval_killall(nas): no process killedstart_lan():PRESTART for level 0
start_lan(): copy wan_ from m_wan
wlanb0: No such device
interface wlanb0 does not exist!
wlana0: No such device
interface wlana0 does not exist!
killall: udhcpd: no process killed
iapp: No such file or directory
start_dhcpd():  begin
start_dhcpd():  set_dhcp_static
info, Moreton Bay DHCP Server (v0.9.5) started
info, read_config(DHCPD_CONF_FILE(v0.9.5)
No interface specified. Quitting...
info, leases = malloc(v0.9.5)
info, static_removed(v0.9.5)
info, read_static_table(v0.9.5)
info, log_pid(v0.9.5)
info, write_leases(v0.9.5)
killall: upnp: no process killed
pre_firewall(): protocol(pppoe)
pre_firewall():pppoe/pptp
pre_firewall(): PPPoE in COD or manaul mode, drop NTP packets
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
pre_firewall(): end
start_wan(): don't execute in PPPoE manual mode after booting
ppp0: No such device
cannot use WAN interface "ppp0"
killall: dnsmasq: no process killed
start_dns():  fork process(0) to execute dnsmasq
forward_init(): /tmp/hosts not supported
killall: mac_2_ip: no process killed
Start virtual domain
start_virtual_domain():  fork process(86) to execute mac_2_ip
PRESTART level(0) end
Hit enter to continue...Hit enter to continue...Hit enter to continue...No interface specified. Quitting...
Hit enter to continue...no_same_process(): open /tmp/mac_2_ip.pid  successfully
no_same_process():Got non-killed mac_2_ip with pid(89)
mac_2_ip(): don't kill myself!
init_dnat_mac_list: start 1
init_dnat_mac_list: start 2
init_dnat_mac_list: start 3
DMZ: NULL dmz_macaddr()

this is the boot message (s) of the orginal Firmware

I think we can not use Openwrt on this router without modification , because the led - driver module of this unit
is working totally different .
BTW : anyone out there who know the location of the pins at the second rs232 port ????

The easiest way to add a serial cable is to buy one! ;-)

Okay sounds silly but why the hassle when it's incredible cheap? Check this http://www.pollin.de/shop/tabelle.php?t … w=Nzk1OTU5 - just pick one for 2,95€ and you already have the serial connector attached to it. If you have such a CD-Rom Audio cable floating around would be brilliant. Not? Okay get this http://www.pollin.de/shop/detail.php?pg … 5&ts=0 (0,45€)! Soldering the datalink with the audio connector avoids you to solder your router directly. The SE505 (v2) and SE515 have the same connector and both work fine at 115200-8N1.

I bet there are similar electronic online shops in other countries too (though Pollin sends to other countries but I'm not aware of the costs).

Kind regards,
Heinz Peter

(Last edited by hph on 18 Aug 2005, 08:46)

The discussion might have continued from here.