Monday, December 11th 2017, 4:38am UTC+1

You are not logged in.

  • Login
  • Register

mia355

Beginner

Date of registration: Aug 10th 2017

Posts: 6

1

Friday, November 17th 2017, 9:17am

[SOLVED] Low-level JTAG: setting JLink TMS, TCK, TDI high/low

I need to work with low-level JTAG. I've seen the the JTAGLoad facility, for SVF tests, but what I need is the ability to see what is shifted out of TDO (when this is unknown), not just test if it equals an expected output.

With what tools can I set the pins of the JLink (TMS, TCK, and TDI) to high or low and then view the resulting output on TDO? Or, what setup should I use? Is there a way to do this in Eclipse?

Thank you.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 430

2

Friday, November 17th 2017, 9:32am

Hello,

Thank you for your inquiry.
For this purpose you can write J-Link Scriptfile and use the Script file API function described on the J-Link user manual.
e.g. JLINK_PIN_Override to toggle individual pins or JLINK_JTAG_Write to write a whole JTAG sequence.

Should you need more customization functions you will need to purchase a J-Link SDK: https://www.segger.com/products/debug-pr…ogy/j-link-sdk/

Best regards,
Nino

mia355

Beginner

Date of registration: Aug 10th 2017

Posts: 6

3

Friday, November 17th 2017, 9:54am

This is very helpful - thank you!

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 430

4

Friday, November 17th 2017, 11:23am

Hello,

You are welcome.
We will consider this question as answered and close the thread.

Best regards,
Nino