Instructions for flashing with JTAG:
1. Obtain a Macraigor Wiggler JTAG cable. There are schematics for
this cable avaliable freely on the web such as the one from the
OpenWRT wiki if you would prefer to build yourself:-
http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable
You will obviously need to substitute the 14-pin JTAG header for a 20-
pin JTAG header. You can safely leave out the S_TRST signal and the
DB25/8<->DB25/15 connection for this purpose.
2. Connect the iMote2 to the Wiggler JTAG output via the interface
board and connect the parallel cable to the PC.
3. Download the modified Jflashmm/Code from here
http://www.michaelwhyte.net/iMote2/JFlashmm-Wiggler.zip
4. Follow the instructions in the release notes to install the
giveio.sys driver
5. Execute the following command replacing the imagename with the
binary image to flash and the [0] with the address to start
programming from in Hex format without the preceeding 0x
Jflashmm bulbcx16 [imagename] P [0] WIG
i.e.
Jflashmm bulbcx16 blob P 0 WIG
Jflashmm bulbcx16 zImage P 40000 WIG
Jflashmm bulbcx16 fs.jffs2 P 240000 WIG
或者使用Intel的JTAG烧写速度更快,需要安装Intel SDT,使用其中的xflash。
image可以在http://imote2-linux.wiki.sourceforge.net/处下载