tjtag-pi
所属分类:Python编程
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2018-11-02 03:13:25
上 传 者:
sh-1993
说明: TJTAG JTAG闪存编程器,用于WRT54G和相关路由器,支持Raspberry Pi
(TJTAG JTAG flash programmer for WRT54G and related routers with Raspberry Pi support)
文件列表:
LICENSE (18092, 2018-11-01)
Makefile (181, 2018-11-01)
guide.pdf (708898, 2018-11-01)
spi.h (8272, 2018-11-01)
tjtag.c (112935, 2018-11-01)
tjtag.h (22887, 2018-11-01)
wiring.jpg (190829, 2018-11-01)
tjtag-pi is a fork of [tjtag][] with support for [Raspberry Pi][pi]
which eliminates the need for a PC with parallel port. See [acidice333](https://github.com/acidice333/tjtag-pi)'s fork for running on RPi 3.
WARNING
=======
Be warned that incorrect usage can lead to a point of no return
situation. Before you do anything besides what is described here, please
do research on how to use this tool. A good starting point is the
excellent and cautionary `guide.pdf` written by the HairyDairyMaid, the
original author. Always backup before flashing.
Requirements
============
* A Raspberry Pi (I've only tested model B as of late 2013)
* [Dual female jumper wires][jumper] to connect GPIO pins to WRT
* Pins soldered on the JTAG header on WRT
* Beverege to enjoy afterward
Setup
=====
1. Hook up the two boards as per the diagram in `wiring.jpg`
2. Power up your WRT
3. Checkout the code, compile and run it
$ cd ~
$ git clone git@github.com:oxplot/tjtag-pi.git
$ cd tjtag-pi
$ make pi
$ ./tjtag -probeonly
If it gets stuck, try using `/noemw` option.
If at this point, your SoC and flash is recognized, you're all set.
Enjoy your beverage and look for an appropriate guide that explains how
to use tjtag to revive/upgrade your router's firmware.
Notes
=====
* If you have issues with reliability of your connection, you can slow
down the speed of _tjtag_ by using `/delay:N` command line option.
`N` is the amount of time to delay flipping the clock signal. The
higher the value, the slower the transfer rate.
* Due to bit-banging nature of the operation of tjtag, various things
affect the transfer speed. The one with most degrading effect is the
progress output. Therefore it is recommended to use `/silent` command
line option and redirect outputs to `/dev/null` (ie using
`&> /dev/null`), after having made sure everything works OK.
[jumper]: http://www.seeedstudio.com/depot/1-pin-dualfemale-jumper-wire-100mm-50pcs-pack-p-260.html?cPath=44
[tjtag]: http://sourceforge.net/projects/tjtag/
[pi]: http://www.raspberrypi.org/
近期下载者:
相关文件:
收藏者: