EmbeddedRelated.com
Forums

Jtag chain for IBM PPC 405EP and TI DSP TMS320C6711C

Started by gowda February 20, 2004
Hello,

I am designing a board with IBM PPC 405EP and TI DSP TMS320C6711C. I
want put those devices in a single JTAG chain so that i can carry out
boundary scan as well do the emulation by having jumpers
appropriately.

But i have one problem with defining a initial state for nTRST signal.
In DSP it is pulled low internally and datasheet specifies not to put
a pull-up on this line. But PPC datasheet says to put a pull-up on
this line. Can anybody help me sort out this issue.

I had copied the references made in both datasheets below. Pls help...

TI Dsp
"The TMS320C6711/11B/11C/11D DSP requires that both nTRST and nRESET
resets be asserted upon power up to be properly initialized. While
nRESET initializes the DSP core, nTRST initializes the DSP's emulation
logic.Both resets are required for proper operation.
While both nTRST and nRESET need to be asserted upon power up, only
nRESET needs to be released for the DSP to boot properly. TRST may be
asserted indefinitely for normal operation, keeping the JTAG port
interface and DSP's emulation logic in the reset state.
nTRST only needs to be released when it is necessary to use a JTAG
controller to debug the DSP or exercise the DSP's boundary scan
functionality.
For maximum reliability, the TMS320C6711/11B/11C/11D DSP includes an
internal pulldown (IPD) on the nTRST pin to ensure that TRST will
always be asserted upon power up and the DSP's internal emulation
logic will always be properly initialized.
JTAG controllers from Texas Instruments actively drive nTRST high.
However, some third-party JTAG controllers may not drive nTRST high
but expect the use of an external pullup resistor on nTRST.
When using this type of JTAG controller, assert nTRST to initialize
the DSP after powerup and externally drive nTRST high before
attempting any emulation or boundary scan operations. Following the
release of nRESET, the low-to-high transition of TRST must be "seen"
to latch the state of EMU1 and EMU0. The EMU[1:0] pins configure the
device for either Boundary Scan mode or Emulation mode."

IBM PPC 405EP
" nTRST on the PPC405 based processors shouldbe pulled up with a 10K
resistor. Also note that nTRST must be asserted low in response to a
power-on or system reset or else the processor may not boot reliably.
It is recommended that nTRST from the JTAG connector be logically ORed
with power-on reset of the board before being connected to nTRST on
the processor"

Pls suggest some solutions....
gowda wrote:
> > Hello, > > I am designing a board with IBM PPC 405EP and TI DSP TMS320C6711C. I > want put those devices in a single JTAG chain so that i can carry out > boundary scan as well do the emulation by having jumpers > appropriately. > > But i have one problem with defining a initial state for nTRST signal. > In DSP it is pulled low internally and datasheet specifies not to put > a pull-up on this line. But PPC datasheet says to put a pull-up on > this line. Can anybody help me sort out this issue. > > I had copied the references made in both datasheets below. Pls help... > > TI Dsp > "The TMS320C6711/11B/11C/11D DSP requires that both nTRST and nRESET > resets be asserted upon power up to be properly initialized. While > nRESET initializes the DSP core, nTRST initializes the DSP's emulation > logic.Both resets are required for proper operation. > While both nTRST and nRESET need to be asserted upon power up, only > nRESET needs to be released for the DSP to boot properly. TRST may be > asserted indefinitely for normal operation, keeping the JTAG port > interface and DSP's emulation logic in the reset state. > nTRST only needs to be released when it is necessary to use a JTAG > controller to debug the DSP or exercise the DSP's boundary scan > functionality. > For maximum reliability, the TMS320C6711/11B/11C/11D DSP includes an > internal pulldown (IPD) on the nTRST pin to ensure that TRST will > always be asserted upon power up and the DSP's internal emulation > logic will always be properly initialized. > JTAG controllers from Texas Instruments actively drive nTRST high. > However, some third-party JTAG controllers may not drive nTRST high > but expect the use of an external pullup resistor on nTRST. > When using this type of JTAG controller, assert nTRST to initialize > the DSP after powerup and externally drive nTRST high before > attempting any emulation or boundary scan operations. Following the > release of nRESET, the low-to-high transition of TRST must be "seen" > to latch the state of EMU1 and EMU0. The EMU[1:0] pins configure the > device for either Boundary Scan mode or Emulation mode." > > IBM PPC 405EP > " nTRST on the PPC405 based processors shouldbe pulled up with a 10K > resistor. Also note that nTRST must be asserted low in response to a > power-on or system reset or else the processor may not boot reliably. > It is recommended that nTRST from the JTAG connector be logically ORed > with power-on reset of the board before being connected to nTRST on > the processor" > > Pls suggest some solutions....
Jeeze, could they make it any more complicated??? TI was one of the original founders and promoters of JTAG boundary scan and JTAG debugging. But for some reason, they do a lousy job of making their development tools easy to use with a boundary scan capable board. Worse, none of the vendors seem to care if their parts can be debugged with the part in a boundry scan chain. I have to suggest that you keep the two JTAG ports separate. I looked into this and that was the suggestion from everyone I spoke to in the industry; chip vendors, debugger vendors and JTAG test tool vendors, especially the JTAG test tool vendors. I expect they would know best. In the factory test, you can always use multiple test ports simultaneously, or so I was told. I eventually gave up on the idea since my board has multiple power zones and it is too hard to bring it up so all the parts can be tested together. I am going to use on board software to test the board at the factory. But it does sound to me like you can tie the two nTRST pins together and let the TMS part generate the power on reset for the PPC. I don't see where it says if the PPC nTRST can be held low after power on reset. They just say it has to be reset and you should use a pullup. Actually, it sounds to me like the PPC JTAG is not designed correctly. What if you are running a debugger that pulls nTRST high actively and you do a system reset? Will the PPC hang if the nTRST is not pulled low? -- Rick "rickman" Collins rick.collins@XYarius.com Ignore the reply address. To email me use the above address with the XY removed. Arius - A Signal Processing Solutions Company Specializing in DSP and FPGA design URL http://www.arius.com 4 King Ave 301-682-7772 Voice Frederick, MD 21701-3110 301-682-7666 FAX