Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Optocoupling JTAG interface - help needed

Status
Not open for further replies.

leszcz

Junior Member level 2
Joined
Aug 29, 2006
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,458
jtag schmitt trigger

Dear all,
I designed a board that uses optocoupler ADUM2401 in order to isolate JTAG(connected to PC) and microcontroller board (MSP430f1116). Unfortuanately it will not work.

I noticed on the osciloscope that the JTAG steps up the signal levels and probably waits for uC to answer. However, while the optocoupler are finished with schmitt-trigger these voltages can only be converted to high or low.

I dont know how exactly works JTAG while initialising connection, maybe someone have had similar problem and can help me with that. Its very important for me and urgent.

Thank u for all answers or ideas.
Regards
 

jtag optocoupler

JTAG is a digital level interface only. There are no analog or intermediate level signalling. The typical non-isolated JTAG interface has pull-up resistors on most of the lines. If the PC side is driving the outputs as open collector, then you need to add pullup resistors to the PC side of TCK, TDI, and TMS.
The output signal from the microcontroller board to the PC is TDO. This also needs a pull-up resistor as most TDO outputs are open collector.

While I am not familiar with your microcontroller, I do know that some other units can disable the JTAG with fuse bits within the microcontroller to allow the JTAG to be used for other purposes. Are you sure your microcontroller is JTAG enabled?

Are you sure there are no wiring errors? Scope out the TCK pin of the microcontroller it should be toggling during the JTAG operation. TDI should also be toggling, but at a slower rate since it is data. TMS is the select line between data input words and control input words. TMS will often be low for long periods but should go high a few times during the cycle. TDO should be checked back at the PC side. It too should toggle.

What is the PC side? Are you using the parallel port? If so, then be aware that you sometimes have to change the parallel port configuration in BIOS to get it working. Also, the USB to parallel port adapters do NOT work for this sort of bit-banging. Believe me, I tried!.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top