找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 11852|回复: 3

USB转TTL线连接路由的问题

[复制链接]
发表于 2009-11-14 01:29 | 显示全部楼层 |阅读模式
本帖最后由 linyin 于 2009-11-14 01:31 编辑

机器为创新的AP,只有一个有线口;

路由器上TTL针的接口
|----------    ----------|
|    1    2    3    4     |
|-----------------------|

用万用表测试针的电压
1和4连接,电压3.23V;4为正,1为负
3和4连接,电压3.36V;4为正,3为负
1和2连接,电压3.23V;2为正,1为负
2和3连接,电压3.36V;2为正,3为负

GND接在1号口上;路由TX为2,线上的RX接在上面有输出;路由RX为4,线上的TX连接上可以输入.

线是好的,用串口调试助手可以正常看到信号传输


SecureCRT的设置:


接通电源启动路由后,可以看到信息输出,但是到:wl0.1: Invalid argument不动了,只有按回车或者ctrl+c有乱码信息出现.


这是乱码的截图


这是整个路由的启动信息:
Decompressing(gunzip)...........done

Here we try to capture the default reset button: Not Pressed


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fr Feb 23 20:55:54 CET 2007 (funnel@cyriax)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

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

Total memory used by CFE:  0x80300000 - 0x8043CE00 (1297920)
Initialized Data:          0x80335B20 - 0x80339630 (15120)
BSS Area:                  0x80339630 - 0x8033AE00 (6096)
Local Heap:                0x8033AE00 - 0x8043AE00 (1048576)
Stack Area:                0x8043AE00 - 0x8043CE00 (8192)
Text (code) segment:       0x80300000 - 0x80335B20 (219936)
Boot area (physical):      0x0043D000 - 0x0047D000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr 00-11-50-0E-95-C8, ipaddr 192.168.1.4, mask 255.255.255.0
        gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029007
Linux version 2.4.35 (eko@dd-wrt) (gcc version 3.4.4 (OpenWrt-2.0)) #3392 Mon Nov 2 13:19:34 CET 2009
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4712 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_IPV4OPTSSTRIP loaded
VFS: Mounted root (squashfs filesystem) readonly.
starting Architecture code for broadcom
Booting device: Belkin F5D7230-4 v1444
get_wl_instance doesnt return the right value 0
eth1: No such device
insmod: init_module: switch-robo: No such device
insmod: init_module: switch-adm: No such device
boardflags are 0x0008
enable Afterburner, boardflags are 0x0208
eth1: Broadcom BCM4320 802.11 Wireless Controller 4.80.56.0
sh: can't create /proc/switch/eth0/reset: nonexistent directory
sh: can't create /proc/switch/eth1/reset: nonexistent directory
sh: can't create /proc/switch/eth0/vlan/0/ports: nonexistent directory
sh: can't create /proc/switch/eth0/vlan/0/ports: nonexistent directory
sh: can't create /proc/switch/eth0/vlan/1/ports: nonexistent directory
sh: can't create /proc/switch/eth0/vlan/1/ports: nonexistent directory
sh: can't create /proc/sys/net/ipv4/tcp_congestion_control: nonexistent directory
Unlocking ddwrt ...
insmod: crc32.o: module not found
sorry, your unit does not support resetbutton feature

eth1: Operation not supported
eth1: Operation not supported
eth1: Invalid argument
eth1: Invalid argument
eth1: Invalid argument
wl0.1: Invalid argument
route: ioctl 0x890c failed: No such process
route: ioctl 0x890b failed: Network is unreachable
br0: Bad file descriptor
br0: Bad file descriptor
eth1: Operation not supported
eth1: Operation not supported
eth1: Invalid argument
eth1: Invalid argument
eth1: Invalid argument
wl0.1: Invalid argument
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
cp: cannot stat '/tmp/mycron.d/*': No such file or directory
cp: cannot stat '/jffs/mycron.d/*': No such file or directory
cp: cannot stat '/mmc/mycron.d/*': No such file or directory
rmmod: n_hdlc: No such file or directory
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
mkdir: cannot create directory '/jffs/tmp': File exists
mkdir: cannot create directory '/jffs/tmp/ipkg': File exists
sh: missing ]
killall: proxywatchdog.sh: no process killed
killall: wdswatchdog.sh: no process killed
killall: schedulerb.sh: no process killed
rmmod: ipt_webstr: No such file or directory
rmmod: ipt_layer7: No such file or directory
rmmod: ipt_ipp2p: No such file or directory
cat: can't open '/proc/net/ip_conntrack_flush': No such file or directory
rmmod: ip_nat_pptp: No such file or directory
rmmod: ip_nat_proto_gre: No such file or directory
rmmod: ip_conntrack_pptp: No such file or directory
rmmod: ip_conntrack_proto_gre: No such file or directory
rmmod: imq: No such file or directory
wl0.1: Invalid argument
y^@^@l^R
^@^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@^@^@sF^@^@l^R
^@^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@y^@^@^@^@F^@^@^@^@sF^@^@t^@^@oH^@^@p^@^@DD-WRT v24-sp2 mini (c) 2009 NewMedia-NET GmbH Release: 11/02/09 (SVN revision: 13064)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2009-11-14 09:36 | 显示全部楼层
e...ttl只玩过一次

ap可以正常使用么?? 或许应该先清下nvram看看.
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2009-11-14 10:51 | 显示全部楼层
RX   TX  GND  空
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2009-11-14 14:39 | 显示全部楼层
多谢chillmax帮忙,搞定啦
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-10-4 02:38

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表