Rick's b.log - 2017/04/11 |
|
It is the 21st of November 2024 You are 3.16.47.89, pleased to meet you! |
|
mailto:
blog -at- heyrick -dot- eu
Since there was a good chance this is a Wiggler clone, so I plugged it into my parallel port (now that I have a computer with a parallel port!) and loaded up OCD Commander which seemed to work, just some errors about no JTAG device being detected, which is logical...
What has me confused is that there are loads of photos and schematics of Wiggler clones based upon the 74HC244 device, but they all use one of them. This interface uses two. Is this some sort of double buffering?
As I have no information on it, all I know is what the JTAG 20 pin pinout ought to be (assuming the older ARM9 style "traditional" pinout), how Wiggler devices are communicated with (by looking at some random schematics to determine the parallel port pinning), and a diagram of the logic gates inside the 74HC244.
So, after some poking around with a multimeter...
This makes our connections as follows, which does indeed fit the traditional (ARM9 generation) JTAG pinning:
Can anybody find something wrong with this, or does that look good to go?
JTAG - figuring out a Wiggler clone
I was sent this a long time ago. Just the device and a short length of 20-way IDC cable to plug into it.
Conversely, the VCC of the lower chip is connected to parallel port D7 - so if D7 is always asserted, then the parallel port buffer chip will output data at the same signal level as the parallel port (instead of likely ~3.3V).
This is consistent with JTAG !TRST.
!TRST (red in the annotated diagram) is an inverted (active LOW) input that is used to reset the state of the JTAG test logic.
This is consistent with JTAG TDI.
TDI (green in the annotated diagram) is the serial data input.
This is consistent with JTAG TMS.
TMS (blue in the diagram) controls which the test logic state machine is in.
This is consistent with JTAG TCK.
TCK (yellow in the diagram) is a 'clock' that latches data from TDI and TMS in the rising edge, and TDO on the falling edge. Note it has a capacitor to ground to terminate (you can see this as the lump to the left of D3's pin).
This seems consistent with RTCK for devices that support it.
RTCK, or ReTurn ClocK, (magenta in the diagram) is sometimes used to synchronise clock pulses for high speed JTAG where TCK will not advance until RTCK has been asserted (meaning devices all synchronised). I doubt this will be an issue for a parallel port widget. ☺
This is consistent with JTAG TDO.
TDO (cyan in the diagram) is the output of the serial data. How it works is TDI data passes to TDO which is connected to the TDI of the next device in the chain, and data is 'clocked' in and out using a predefined protocol (otherwise known as magic).
This is consistent with JTAG !SRST.
!SRST (orange in the diagram) is an inverted (active LOW) signal that can be used to force the target board into a reset.
Unknown - supposed to be JTAG DBGRQ, but I don't see any schematics using this.
Not that it matters, because...
There appears to be no further connection, so I'm guessing it is a link to select how JTAG DBGACK would be handled if it were actually connected to something.
VCC O< O n/c
(D4) !TRST O O GND
(D3) TDI O O GND
(D1) TMS O O GND
(D2) TCK O O GND
(ACK) RTCK O O GND
(!BUSY) TDO O O GND
(D0) !SRST O O GND
-- O O GND
n/c O O GND (via 22 ohm)
No comments yet...
© 2017 Rick Murray |
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted. RIPA notice: No consent is given for interception of page transmission. |