好消息cpu 为88e6218刷坏的情况下有可能不要写码器修复
具体还在研究中,像磊科2505+ nr TP-LINK 402m都是用此芯片 有成果记得通知分享给大家 用jtag接口修复是吗? 可是我并不知道它针脚的定义期待楼主的成果
it4608@163.com 怎么,只说一下就没下文了? 方法如何,楼主研究出来了吗?我有个R410砖头正等着恢复呢。如果有88e6218的源码Datasheet SDK 开发包就更好了,可以玩玩uclinux。 楼主失踪了?我知道H3C 的br104h 88e6218 是ARMBOOT 的bootloader 四针的console RS232,TP-LINK的十针com口(串口)就不知定义是什么,可用超级终端恢复。方法是:
接上串口,当出现“Hit b for boot setup”的时候,敲入按键b。
Hit b for bootsetup
ARMboot Rev 1.3for Huawei-3Com BR104H (Dec
5 2006 -09:46:38)
_----_
____
| ---- |___/
__)___
|
|
_____)
|
|
______)
|
\__
______)
|
\_\________)
|
---,
/___/\_._._._./
ARMboot LEversion
ARMboot code: 001c0000 -> 001d1760
HW_VER =0x00000200
HW_BOT_VER =0x00000301
HW_SER_CONTROL =0x12345678
HW_NAME = BR104
LAN_MAC = 00:0F:E2:4D:9A:07
WAN_MAC = 00:0F:E2:4D:9A:08
ARMboot->
键入一个?号,可以看到所有的命令。
ARMboot-> ?
go - start application at address 'addr'
run - run commands in an environment variable
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
tftpboot- boot image via network using TFTP protocol
and env variables ipaddr and serverip
rarpboot- boot image via network using RARP/TFTP protocol
bootd - boot default, i.e., run 'bootcmd'
loads - load S-Record file over serial line
loadb - load binary file over serial line (kermit mode)
autoscr - run script from memory
md - memory display
mm - memory modify (auto-incrementing)
nm - memory modify (constant address)
mw - memory write (fill)
cp - memory copy
cp - memory copy
crc32 - checksum calculation
base - print or set address offset
printenv- print environment variables
setenv- set environment variables
saveenv - save environment variables to persistent storage
protect - enable or disable FLASH write protection
erase - erase FLASH memory
flinfo- print FLASH memory information
bdinfo- print Board Info structure
iminfo- print header information for application image
loop - infinite loop on address range
mtest - simple RAM test
icache- enable or disable instruction cache
dcache- enable or disable data cache
reset - Perform RESET of the CPU
echo - echo args to console
fsload- load binary file from a filesystem image
fsinfo- print information about filesystems
ls - list files in a directory (default /)
sleep - delay execution for some time
version - print monitor version
help - print online help
? - alias for 'help'ARMboot->
敲入printenv,可以看到网络的设置,可以看到br104h的ip地址为192.168.0.2,tftp 服务器的ip 地址为192.168.0.99
ARMboot->printenv
bootdelay=3
baudrate=38400
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.0.2
serverip=192.168.0.99
netmask=255.255.255.000
bootfile=bootrom.bin
sdramImgAddr=0x00100000
flashAddr=0xFFF80000
bootSource=flash
Environmentsize: 201/4092 bytes
ARMboot->
然后设置网卡地址为192.168.0.99。下载tftpd32软件。设置需要下载的文件的路径和网卡接口。
然后,键入tftp命令将br104.bin文件下载到内存0x8000处(如果出现无法下载,请检查网络连接,ip地址,tftpd的设置)
ARMboot->
ARMboot->tftp 8000 br104.bin
Please wait,this takes a while ...
TFTP from server192.168.0.99; our IP address is 192.168.0.2
Filename'br104.bin'.
Load address:0x8000
Loading: #######
Bytestransferred = 33964 (84achex)
ARMboot-> protect off 0x50000 0x1fffff
ARMboot-> erase 0x50000 0x1fffff
ARMboot-> cp0x0c008000 0x5000020000
[ 本帖最后由 zane 于 2008-7-4 04:43 编辑 ] 买个编程器重写就是 :lol :lol :lol 这个用串口线恢复的方法不错,比什么编程器方便多了。 数据线怎么做呢能像viking 那样就太好了 我就是不知道TP-LINK 10针的串口定义,有谁知道的支个声啊。