Siemens SE515 JTAG Readme ************************* Changelog 2008-11-22 added byteswap command for each flash command to avoid misunderstandings patches/ - HairyDairyMaid_WRT54G Debrick Utility v48 patch for Siemens SE515 (taken and adapted for v48 from user rmax, see: http://k0.j0t.de/index.php/topic,300.0.html) HairyDairyMaid_WRT54G_Debrick_Utility_v48.zip - HairyDairyMaid WRT54G Debrick Utility v48 Note: - you'll need the byteswap patch, because the JTAG interface delivers and flashes the binarys in swapped order, so you need to change the byte order to get a working firmware/cfe/... - to use the tool, make sure your parallel port is not used by another module - with ubuntu you have to remove the lp module (sudo rmmod lp) first so that wrt54g can use the port building jtag adaptor ********************* For good documentation, see http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable The SE515 can be flashed fine with the "Unbuffered Cable, Xilinx DLC5 Cable III". jtag commands ************* Because the SE515 has other flash mappings than the WRTs, it is necessary to use custom area flashing. Some examples following. see if it works: ./wrt54g -probeonly /nobreak /noreset backup cfe (64kb): ./wrt54g -backup:custom /start:1fc00000 /window:1fc00000 /length:10000 /nobreak /noreset cat CUSTOM.BIN | ./byteswap > backup_cfe.bin backup rest without cfe (4mb - 64kb): ./wrt54g -backup:custom /start:1fc10000 /window:1fc00000 /length:3f0000 /nobreak /noreset cat CUSTOM.BIN | ./byteswap > backup_linux.bin backup whole flash (4mb): ./wrt54g -backup:custom /start:1fc00000 /window:1fc00000 /length:400000 /nobreak /noreset cat CUSTOM.BIN | ./byteswap > backup_flash.bin HINT: To restore a part of the flash, rename it first to CUSTOM.BIN or wrt54g will not find it. restore cfe: cat cfe.bin | ./byteswap > CUSTOM.BIN ./wrt54g -flash:custom /start:1fc00000 /window:1fc00000 /length:10000 /nobreak /noreset restore rest without cfe: cat linux.bin | ./byteswap > CUSTOM.BIN ./wrt54g -flash:custom /start:1fc10000 /window:1fc00000 /length:3f0000 /nobreak /noreset restore whole flash (4mb): cat flash.bin | ./byteswap > CUSTOM.BIN ./wrt54g -flash:custom /start:1fc00000 /window:1fc00000 /length:400000 /nobreak /noreset