This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

External Pull Down on TRST?

Other Parts Discussed in Thread: OMAP-L138

Hi,

Can someone confirm that the TRST pin should have an external pull-down resistor and what value it should be?

The datasheet for the OMAP-L138 (SPRS586D) says in section 5.34.1 - JTAG Port Description:

"TRST holds the debug and boundary scan logic in reset (normal DSP operation) when pulled low (its default state). Since TRST has an internal pull-down resistor, this ensures that at power up the device functions in its normal (non-test) operation mode if TRST is not connected. Otherwise, TRST should be driven inactive by the emulator or boundary scan controller. Boundary scan test cannot be performed while the TRST pin is pulled low."

This paragraph from the datasheet seems to imply that it's OK to leave TRST unconnected. And there is no other mention in the datasheet about the electrical characteristics or requirements for the TRST pin.

But, I found the TI wiki page OMAP-L138 Bootloader which says:

"It is important for the device to experience a POR when initially powered up. This will clear the emulation and PLL logic, as well as latch the boot pins correctly. Therefore make sure TRST is externally pulled down on your board. Not doing so can be the cause of many boot related problems.

And, there are several posts on this forum from TI employees regarding TRST:

Lastly, we have the LogicPD board which utilizes a 10K pull down, which seems to be more evidence that the external pull down is required.

So, from all of this, I'm inferring that there should be an external 10K pull down on the TRST line. Can someone confirm? And if so, can a request be made to make this clear in the datasheet?

We missed this in the design of our board and have TRST unconnected. We have been using it with an XDS100 emulator, a J-Link-ARM emulator, and booting from SPI FLASH with no emulator attached. We have experienced some failures to boot, and sometimes the ARM will randomly stop executing code for no apparent reason. We haven't yet been able to identify why the ARM stops sometimes and I'm wondering if it could be the result of the chip not getting a POR (power on reset).

Thanks,
Arthur

  • Hello,

    As the data sheet says, the nTRST pin is internally pulled down (a weak transistor is equivalent to a few tens of kohms). This permits to use it without debug port implemented.

    However, when using the JTAG port it is good practice to put an additional pull down at the connector level (ie the 10 k resistor, but I personnally use 2.2k) to prevent noise capture by the open connection, especially if long or running near a power supply.

    Since you have a XDS100 connection, you may add a resistor at the 14-pin connector level (between pins 2 & 4) and check if the problem persists before redesigning.

    Regards