Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:techref:hardware:port.jtag [2020/04/02 09:52] – [Hairydairymaid] Add links to a copy of Hairydairymaid debrick utility cshoredaniel1docs:techref:hardware:port.jtag [2020/07/09 10:23] (current) – [Hairydairymaid] Add Github for source, remove thecshore cshoredaniel1
Line 37: Line 37:
  
 <a2s> <a2s>
-         #--#  +         #----# 
-       ? #--# 1 +         |#--# 
- +       ? |#--#
-         #--# +         |    | 
-   nTRST #--# 2 +         |#--#| 
- +   nTRST |#--#
-         #--# +         |    | 
-     TCK #--# 3 +         |#--#| 
- +     TCK |#--#
-         #--# +         |    | 
-     TMS #--# 4 +         |#--#| 
- +     TMS |#--#
-         #--# +         |    | 
-     GND #--# 5 +         |#--#| 
- +     GND |#--#
-         #--# +         |    | 
-     TDO #--# 6 +         |#--#| 
- +     TDO |#--#
-         #--# +         |    | 
-     TDI #--# 7 +         |#--#| 
- +     TDI |#--#
-         #--# +         |    | 
-     GND #--# 8+         |#--#| 
 +     GND |#--#8 
 +         #----#
 </a2s> </a2s>
  
Line 68: Line 70:
  
 <a2s> <a2s>
-    TCK #--# #--# GND +        #---------# 
-      1 #--# #--# 2 +    TCK |#--# #--#GND 
- +      1 |#--# #--#
-    TDO #--# #--# VREF +                | 
-      3 #--# #--# 4 +    TDO |#--# #--#VREF 
- +      3 |#--# #--#
-    TMS #--# #--# nSRST +                | 
-      5 #--# #--# 6 +    TMS |#--# #--#nSRST 
- +      5 |#--# #--#
-      - #--# #--# nTRST +                | 
-      7 #--# #--# 8 +      - |#--# #--#nTRST 
- +      7 |#--# #--#
-    TDI #--# #--# GND +                | 
-      9 #--# #--# 10+    TDI |#--# #--#GND 
 +      9 |#--# #--#10 
 +        #---------#
 </a2s> </a2s>
  
Line 91: Line 95:
  
 <a2s> <a2s>
-   nTRST #--# #--# GND +         #---------# 
-       1 #--# #--# 2 +   nTRST |#--# #--#GND 
- +       |#--# #--#
-     TDI #--# #--# GND +         |         | 
-       3 #--# #--# 4 +     TDI |#--# #--#GND 
- +       |#--# #--#
-     TDO #--# #--# GND +         |         | 
-       5 #--# #--# 6 +     TDO |#--# #--#GND 
- +       |#--# #--#
-     TMS #--# #--# GND +         |         | 
-       7 #--# #--# 8 +     TMS |#--# #--#GND 
- +       |#--# #--#
-     TCK #--# #--# GND +         |         | 
-       9 #--# #--# 10 +     TCK |#--# #--#GND 
- +       |#--# #--#10 
-   nSRST #--# #--# GND +         |         | 
-      11 #--# #--# 12+   nSRST |#--# #--#GND 
 +      11 |#--# #--#12 
 +         #---------#
 </a2s> </a2s>
  
Line 116: Line 122:
  
 <a2s> <a2s>
-   nTRST #--# #--# GND +         #---------# 
-       1 #--# #--# 2 +   nTRST |#--# #--#GND 
- +       |#--# #--#
-     TDI #--# #--# GND +         |         | 
-       3 #--# #--# 4 +     TDI |#--# #--#GND 
- +       |#--# #--#
-     TDO #--# #--# GND +         |         | 
-       5 #--# #--# 6 +     TDO |#--# #--#GND 
- +       |#--# #--#
-     TMS #--# #--# GND +         |         | 
-       7 #--# #--# 8 +     TMS |#--# #--#GND 
- +       |#--# #--#
-     TCK #--# #--# GND +         |         | 
-       9 #--# #--# 10 +     TCK |#--# #--#GND 
- +       |#--# #--#10 
-   nSRST #--# #--# n/a +         |         | 
-      11 #--# #--# 12 +   nSRST |#--# #--#n/a 
- +      11 |#--# #--#12 
-     n/a #--# #--# Vcc +         |         | 
-      13 #--# #--# 14+     n/|#--# #--#Vcc 
 +      13 |#--# #--#14 
 +         #---------#
 </a2s> </a2s>
  
Line 145: Line 153:
  
 <a2s> <a2s>
-     TDO #--# #--# - +         #---------# 
-       1 #--# #--# 2 +     TDO |#--# #--#
- +       |#--# #--#
-     TDI #--# #--# nTRST +         |         | 
-       3 #--# #--# 4 +     TDI |#--# #--#nTRST 
- +       |#--# #--#
-  HALTED #--# #--# VREF +         |         | 
-       5 #--# #--# 6 +  HALTED |#--# #--#VREF 
- +       |#--# #--#
-     TCK #--# #--# -  +         |         | 
-       7 #--# #--# 8 +     TCK |#--# #--#-  
- +       |#--# #--#
-     TMS #--# #--# -  +         |         | 
-       9 #--# #--# 10 +     TMS |#--# #--#-  
- +       |#--# #--#10 
-    HALT #--# #--# GND +         |         | 
-      11 #--# #--# 12 +    HALT |#--# #--#GND 
- +      11 |#--# #--#12 
-   nSRST #--# #--# KEY +         |         | 
-      13 #--# #--# 14 +   nSRST |#--# #--#KEY 
- +      13 |#--# #--#14 
-       - #--# #--# GND +         |         | 
-      15 #--# #--# 16+       |#--# #--#GND 
 +      15 |#--# #--#16 
 +         #---------#
 </a2s> </a2s>
  
Line 174: Line 184:
  
 <a2s> <a2s>
-   nTRST #--# #--# GND +         #---------# 
-       1 #--# #--# 2 +   nTRST |#--# #--#GND 
- +       |#--# #--#
-     TDI #--# #--# GND +         |         | 
-       3 #--# #--# 4 +     TDI |#--# #--#GND 
- +       |#--# #--#
-     TDO #--# #--# GND +         |         | 
-       5 #--# #--# 6 +     TDO |#--# #--#GND 
- +       |#--# #--#
-     TMS #--# #--# GND +         |         | 
-       7 #--# #--# 8 +     TMS |#--# #--#GND 
- +       |#--# #--#
-     TCK #--# #--# GND +         |         | 
-       9 #--# #--# 10 +     TCK |#--# #--#GND 
- +       |#--# #--#10 
-   nSRST #--# #--# GND +         |         | 
-      11 #--# #--# 12 +   nSRST |#--# #--#GND 
- +      11 |#--# #--#12 
-     Vcc #--# #--# ? +         |         | 
-      13 #--# #--# 14 +     Vcc |#--# #--#
- +      13 |#--# #--#14 
-     Vcc #--# #--# GND +         |         | 
-      15 #--# #--# 16 +     Vcc |#--# #--#GND 
- +      15 |#--# #--#16 
-     Vcc #--# #--# GND +         |         | 
-      17 #--# #--# 18 +     Vcc |#--# #--#GND 
- +      17 |#--# #--#18 
-     Vcc #--# #--# GND +         |         | 
-      19 #--# #--# 20+     Vcc |#--# #--#GND 
 +      19 |#--# #--#20 
 +         #---------#
 </a2s> </a2s>
  
Line 219: Line 231:
 The most famous software for JTAG is probably the Linksys De-Brick Utility by Hairydairymaid (aka Lightbulb). As of 12 September 2006 the most recent version is v4.8. Virtually everyone who uses this software opts for an unbuffered cable, and the software itself, by default, expects this type of cable to be used. The most famous software for JTAG is probably the Linksys De-Brick Utility by Hairydairymaid (aka Lightbulb). As of 12 September 2006 the most recent version is v4.8. Virtually everyone who uses this software opts for an unbuffered cable, and the software itself, by default, expects this type of cable to be used.
  
-Since there is no link to a download of the original, long ago I [[https://oldwww.thecshore.com/oldsites2/devel/openwrt/debrick.html|lightly modified the debrick utility]].  If neededyou can [[https://oldwww.thecshore.com/oldsites2/devel/openwrt/HairyDairyMaid_WRT54G_Debrick_Utility_v48~cshore2.zip|download the modified Hairydairmaid debrick utility from oldwww.thecshore.com]]+There is source code available on GitHub at [[https://github.com/etmatrix/debrick_buspirate]].  The Github repo is likely the most stable source (the cshore site will not be hosting it any longeras it was only added back for lack of another source).
  
 The utility CAN operate on most any MIPS based cpu supporting EJTAG by using PrAcc routines (non-dma mode) - use the /nodma switch. It is not limited to WRT54G/GS units. The utility CAN operate on most any MIPS based cpu supporting EJTAG by using PrAcc routines (non-dma mode) - use the /nodma switch. It is not limited to WRT54G/GS units.
  • Last modified: 2020/04/02 09:52
  • by cshoredaniel1