Difference between revisions of "JTAGLoad"
Line 1: | Line 1: | ||
[[File:JTAGLoad.png | thumb | 400px | right | J-Link RTT Viewer]] |
[[File:JTAGLoad.png | thumb | 400px | right | J-Link RTT Viewer]] |
||
− | JTAGLoad is a command line tool, available for as part of the [[J-Link Software and Documentation Pack]], downlaodable from the [https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack SEGGER homepage]. |
+ | JTAGLoad is a command line tool, available for as part of the [[J-Link Software and Documentation Pack]], downlaodable from the [https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack SEGGER homepage].<br> |
It can be used to open and execute an svf (Serial vector format) file for JTAG boundary scan tests. |
It can be used to open and execute an svf (Serial vector format) file for JTAG boundary scan tests. |
||
The data in the file will be sent to the target via J-Link / J-Trace. |
The data in the file will be sent to the target via J-Link / J-Trace. |
Revision as of 16:50, 8 May 2020
JTAGLoad is a command line tool, available for as part of the J-Link Software and Documentation Pack, downlaodable from the SEGGER homepage.
It can be used to open and execute an svf (Serial vector format) file for JTAG boundary scan tests.
The data in the file will be sent to the target via J-Link / J-Trace.
Contents
SVF commands supported by JTAGLoad
- ENDDR
- ENDIR
- FREQUENCY
- HDR
- HIR
- RUNTEST
- SDR
- SIR
- STATE
- TDR
- TIR
Command lines
Command | Description |
---|---|
/? | Shows how to call JTAGLoad. |
-NoAutoExit | Prevents JTAGLoad from auto exiting. |
SVF (Serial Vector Format)
SVF is a standard format for boundary scan vectors to be used with different tools and targets. SVF files contain human-readable ASCII SVF statements consisting of an SVF command, the data to be sent, the expected response, a mask for the response or additional information.
Example
A simple SVF file to read the JTAG ID of the target can look like the following.
! Set JTAG frequency FREQUENCY 12000000HZ; ! Configure scan chain ! For a single device in chain, header and trailer data on DR and IR are 0 ! Set TAP to IDLE state STATE IDLE; ! Configure end state of DR and IR after scan operations ENDDR IDLE; ENDIR IDLE; ! Start of test ! 32 bit scan on DR, In: 32 0 bits, Expected out: Device ID (0x0BA00477) SDR 32 TDI (0) TDO (0BA00477) MASK (0FFFFFFF); ! Set TAP to IDLE state STATE IDLE; ! End of test
Note: SVF files allow even more complex tasks, basically everything which is possible via JTAG and the devices in the scan chain, like configuring an FPGA or loading data into memory.