|
Linksys WRT54G路由器板子串口焊接出串口和JTAG口。
板子串口为TTL电平,接到PC串口需要经过转换。
但我为了省事,我用Simens 2118的串口数据线C35 cable改造。
可惜这组装线省掉了转换芯片,当我把Tx,Rx,GND都接上后,输出只有1.75v
没办法,改用Simens M65的USB cable 510,猜想应该会好点。
按照接口定义接好后发现输出部分乱码,没办法,国内组装线得怀疑一切,
拆开接口后发现11脚GND居然是悬空的
没办法,把地联上黑色的GND线,可是最后的结果居然还是一样的!
有兄弟知道这个现象是啥原因吗?线过长?大概1米。
难不成还是要我找MAX232焊?
[PHP]root@control ~# minicom
l
Welcome to minicom 2.2
OPTIONS: I18n
Compiled on Jan 7 2007, 18:00:43.
Port /dev/ttyUSB0
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
CFE version 1.0.37`n�.BCM947XX (32bit,SP,LE)
Build Date: Fri Feb 27 15:20:59 CST 2004 (root@honor)
Copyright (C) 2000,2001,2002,2003 ��oadcom Corporation.
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.0
CPU type 0x29007: 200MHz
Total memory: 0x2�0�000 bytes (32MB)
Total memory used by CFE: 0x80334DC0 - 0x8043A310 (1070416)
Initialized Data: 0x80334LC0 - 0x80336F40 (8576)
BSS Area: 0x80336F40 - 0x80338310 (5072)
Local Heap: 0x8�;s.|..j..��0438310 (1048576)
Stack Area: 0x80438310 - 0x8043A310 (8192)
Text (code) segment: 0x........j..��030F220 (61984)
Boot area (physical): 0x0043B000 - 0x0047B000
Relocation Factor: M�........j."�00000000
Boot version: v2.3
The boot is CFE
mac_init(): Find mac [00:0F:66:C3:6D:79] in location 0
Nothing...
Device eth0: hwaddr 00-0F-66-C3-6D-79, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: ...... 1601536 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 versi.n 3.2.3 with Broadcom modifications) #46 Fri Sep 16 16:47:41 C5Setting the PFC value as 0x15
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 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: 14404k/16384k available (1370k kernel code, 1980k reserved, 112k data, 64k init, 0k highmem)
Dentry cache hash table entries: 2048 horder: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash.table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 409>.bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI:�Mi�abled
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c *�.020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 U�ix98 ptys configured
ttyS00 at 0xb8000300 (irq = 3) is a 16550Aith MANY_PORTS SHARE_IRQ SERIAL_P[�f�[.c+#S
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
HDLC line discipline: version $Revision: 1.1.1.4 $, maxframe=4096
N_HDLC line discipline registered.
PPP generic driver version 2.4.2
Flash device: 0x400000 at 0x1c000000
Physical�y mapped flash: squashfs filesystem found at block 926
le32_to_cpu(trx->magic)=0x30524448 trx-~m�gic=0x30524448
bcm947xx_parts[1].offset=0x0 trx->offsets[1]=0x1 off
off=0xe7af0 off1=0x400000 size=0x400000
(Not Found Lang Block)off=0xe7af0 off1=0x3a0000 size=0y400000
nvram: offset=0x3f0000 size=0x10000
Creating 5 MTD partitions on "hysically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003a0000 : "linux"
0x000e7af0-0x003a0000 : "rootfs"
mtd�(�artition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003a0000-0x003f0000 : "lano"
0x003f0000-0x00400000 : "nvram"
sflash: found no supported devices
NET4: Linux TCP/IP 1�y for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (established 1024 bind 204x)
Linux IP multicast router 0.�6 plus PIM-SM
ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ipt_time loading000-2002 Netfilter core te��
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>
cramfs: wrong magic
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed
����������������������SQUASHFS error: Can��'t find a SQUASHFS superblock on mtdblock(31,3)
ret = -1
www -> /www
�mount: Inappropriate ioctl for device
Language Package: SC
modules[0]=et buf=[et ]
modules[1]=ctmisc buf=[et ctmisc ]
modules[2]=port_based_qos_mod buf=[et ctmisc port_basgd_qos_mod ]
modules[3]=wl buf=[et ctmisc port_based_qos_moj wl ]
Needed �odules: et ctmisc port_based_qos_mod,. �����������Using /lib/modules/2.4.20/kernel/drivers/net/et/et.o
��������������������������Using /lib/modules/2.4.20/kernel/drivers/net/ctmis��ctmisc.o
�����Using /lib/modules/2.4.20/kernel/drivers/net/port_based_qos/port_based_qos_mod.o
�����.�������������Using /lib/modules/2.4.20/kernel/drivers/net/wl/wl.o
���������������������������Hit enter to continue...������������������������������������������������������������������������]get_data(): cmd=0x11 count=8 len=18
get_data(): Get MAC count is [1]
get_data(): MAC 0: [00:0F:66:C3:6D:79]
get_data(): done
����type = [get_eou]�
get_data(): cmd=0x13 count=5 len=522
get_data(): Get EOU count is [0]
get_data(): done
���type = [get_sn]
get_data(): cmd=0x15 count=8 len=20
�get_data(): Get SN count is [0]
get_data(): done
���t��Y�.�..�}.�.��}���.u5
get_flash_type(): cmd=0x17 count=0 len=0
Get FLASH TYPE is [Intel 28F320C3 2Mx16 BotB]
���The boot is CFE
�����insmod: writemac.o: no module by that name found
����rmmod: writemac:��o.���.file or directory
��killall: httpd: no process killed
�������������������������.����������������.�������������name=[vlan0] lan_ifname=[br0]
=====> set br0 hwaddr to vlan0
.������name=[eth1] lan_ifname=[br0]
Write wireless �ac successfully
br0: No such file or directory
������������������������name=[eth2] lan_ifname=[br0]
eth2: No such device
name=[eth3] lan_ifname=[br0]
eth3: No such deviceMlo: File exists
����������The boot is CFE
tftp server started
tftpd: standalone so�-.WH����[HTTPD Starting on /w.w�
�����syslogd: 0: Unknown host
�����������������������������������Using configuration from /etc/openssl.cnf
������������Generating a 512 bit RSA private key
��.���.�����.�����.����.����.����.�����.����.����.�����.���.����.�����.���+���+����+�����+���+�.�+�.�+����+����+��+����+���+.�����.���.�����.����.���.����.���.�����o����.���.����.����.���.�+����+���+����+��+���+���+���+�+��+���+���+
writing new private key to '/tmp/privkey.pem'
-----
�You are about to be asked to enter information that will be incorporated
into your certificate requgst.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left bla���H������Hh������.Name (2 letter code) [GB]:US
State or Province Name (full name) [Berkshire]:California
Locality Name (eg, city) [Newbury]:Irvine
Organization Name (eg, company) [My Company Ltd]:Cisco-Linksys, LLC
Organiza�Z�+�.Unit Name (eg, section) []ivision
Common Name (eg, your name or your server's hostname) []inksys
�Email Address []:support@linksys.com
Please enter the following 'extra' attributes
to be sent with your certificate rm�}Y.WH(.challenge password []:
An optional company name []:
�������������read RSA key
writing RSA key
��������Signature ok
subject=/C=US/ST=California/L=Irvine/O=Cisco-Linksys, LLC/OU=Division/CN=Linksys/Email=support@linksys.com
Getting Private key
��������Certificate:
Da}X.......�.������ 1 (0x0)
Serial Number: 0 (0x0)
Signature Algorithm: md5WithRSAEncryption
� Issuer: C=US, ST=California, L=Irvine, O=Cisco-Linksys, LLC, OU=Division, CN=Linksys/Email=support@linksys.c�m
Validity
Not Before: Sep 16 08:47:23 2005 GMT
Not After : Sep 14 08:47:23 2015 GMT
Subject: C=US, ST=California, L=Irvine, O=Cisco-Linksys, LLC, OU=Division, CN=Linksys/Email=support@�{�ksys.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (512 bit)
Modulus (512 bit):
00:ae:60:7f:81:76:ab:c4:7c:cb:c5:49:a2:�v;d4:
88:ca:b0:3f:db:21:d1:3e:97:7f:76:ed:9f:bc:4f:
78:32:8b:e3:47:20:65:ad:0b:2f:20:79:e2:5f:a6:
89:92:73:db:d9:b9:19:37:d9:68:82:6e:3c:29:8f:
76:i�{r9:6d:2b
Exponent: 65537 (0x10001)
Signature Algorithm: md5WithRSAEncryption
24:a8:74~5d:02:6b:cc:0a:1d:9a:5b:82:41:63:5a:37:df:4c:
c0:95:1f:a8:72:ae:c1:cd:2e:e9:7f:50:1b:42:72:bd:fe:d8:
(�� ` �03:19:5a:61:90:b5:03:c6:8d:47:ed:9b:e8:8c:db:51:ac:f8:
ae:46:f6:d1:05:67:4e:97:fa:52
�����������br0 192.168.1.100 86400
��info, udhcp server (v0.9.8) started
zebra disabled.
EOU: The Router has not yet burned a EoU key!
�����No interface specified. Quitting...
������������
SES_SUPPORT_NEW_BOARD=0
��calling upnp_main
�������SES2: In brcm_ses_event_get(), evmnt in = SES2: In brcm_ses_event_notify(i, event = SES_EVTO_UNCONFIGURED!!!
SES2: In brcm_ses_event_gY�), event in = SES_EVTI_NULL!!!
�����tallest:=====( wan_or_lan=wan )=====
tallest:=====( wan_or_lan=wan is wan !!)=====
��Hi� enter to continue...�info, udhcp client (v0.9.8) started
�������No interface specified. Quitting...
Hit enter to continue...���������������������.�����SES_EVTI_NULL!!! ����������������������������������������.��������������������������������������������.�������������������.������������������� CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.2 | VT102 | Offline
[/PHP] |
|