JTAG - 2024.1 简体中文

Vitis 统一软件平台文档 应用加速开发 (UG1393)

Document ID
UG1393
Release Date
2024-07-03
Version
2024.1 简体中文
以下提供了各命令后接其选项(如有)和相应选项的 Python 方法(如有)。

jtag claim

Python 方法如下所示。
jt.claim()

jtag device_properties

<idcode>
jt.device_properties(0x6ba00477)
<key> <value> 对
props = {'idcode': 0x6ba00477, 'irlen': 4}jt.device_properties(props=props)
DONE

jtag disclaim

jt.disclaim()

jtag frequency

jt.frequency()
-list
jt.frequency('-l')
<frequency>
jt.frequency(freq)

jtag lock

jt.lock(100)

jtag sequence

state
s = self.session
jt3 = s.jtag_targets(3)
jseq = jt3.sequence()
jseq.state("RESET")
irshift
jseq.irshift(register='bypass', state="IRUPDATE")
drshift
jseq.drshift(capture=True, state="IDLE", tdi=0, bit_len=2)
delay
jseq.delay(100)
get_pin
jseq.get_pin('TDI')
set_pin
jseq.set_pin('TDI', 0)
atomic
jseq.atomic()
run
jseq.run()
clear
jseq.clear()
delete
del jseq

jtag servers

jt.servers()
-list
jt.servers('-l')
-format
jt.servers('-f')
-open <server>
jt.servers(open='xilinx-xvc:localhost:10200')
-close <server>
jt.servers(close='xilinx-xvc:localhost:10200')

jtag skew

jt.skew()
<clock-skew>
jt.skew()

jtag targets

self.session.jtag_targets()
[target-id]
self.session.jtag_targets(id=2)
-set
self.session.jtag_targets('-s', filter="name == xcvc1902")
-regexp
-nocase
self.session.jtag_targets('-n', filter="name !~ XCVC*")
-filter <filter-expression>
self.session.jtag_targets(filter="name == xcvc1902")
-target-properties
self.session.jtag_targets('-t')
-open
self.session.jtag_targets('-o')
-close
self.session.jtag_targets('-c')
-timeout <sec>
无方法可用

jtag unlock

jt.unlock()