xsct xsdb 调试寄存器

提示符 xsdb xsct 通用;

老版本的vivado vitis 可能没有

复制代码
****** Xilinx Software Commandline Tool (XSCT) v2022.1.0
  **** SW Build 303 on 2022-04-13-17:42:48
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.


xsct% cd {C:\work_folder\case\case00441451}
xsct% pwd
C:/work_folder/case/case00441451
xsct% ls
WARNING: [Common 17-259] Unknown Tcl command 'ls' sending command to the OS shell for execution. It is recommended to use 'exec' to send the command to the OS shell.
design_1_wrapper.pdi
xsct% connect
attempting to launch hw_server

****** Xilinx hw_server v2022.1
  **** Build date : Apr 18 2022 at 16:02:36
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application



****** Xilinx hw_server v2022.1

  **** Build date : Apr 18 2022 at 16:02:36

    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.



INFO: hw_server application started

INFO: Use Ctrl-C to exit hw_server application




INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121



tcfchan#0
xsct% ta
  1  Versal xcvc1902
     2  RPU (PS POR is active)
        3  Cortex-R5 #0 (PS POR is active)
        4  Cortex-R5 #1 (PS POR is active)
     5  APU (FPD domain isolation)
        6  Cortex-A72 #0 (FPD domain isolation)
        7  Cortex-A72 #1 (FPD domain isolation)
     8  PPU
        9  MicroBlaze PPU (Sleeping after reset)
    10  PSM
    11  PMC
    12  PL
 13  DPC
xsct% ta 1
xsct% ta
  1* Versal xcvc1902
     2  RPU (PS POR is active)
        3  Cortex-R5 #0 (PS POR is active)
        4  Cortex-R5 #1 (PS POR is active)
     5  APU (FPD domain isolation)
        6  Cortex-A72 #0 (FPD domain isolation)
        7  Cortex-A72 #1 (FPD domain isolation)
     8  PPU
        9  MicroBlaze PPU (Sleeping after reset)
    10  PSM
    11  PMC
    12  PL
 13  DPC
xsct% device program design_1_wrapper.pdi
100%    1MB   1.4MB/s  00:01
xsct% ta
  1* Versal xcvc1902
     2  RPU (Reset)
        3  Cortex-R5 #0 (RPU PGE Reset)
        4  Cortex-R5 #1 (RPU PGE Reset)
     5  APU
        6  Cortex-A72 #0 (Power On Reset)
        7  Cortex-A72 #1 (Power On Reset)
     8  PPU
        9  MicroBlaze PPU (Sleeping)
    10  PSM
       14  MicroBlaze PSM (Sleeping)
    11  PMC
    12  PL
 13  DPC
xsct% ta 6
xsct% ta
  1  Versal xcvc1902
     2  RPU (Reset)
        3  Cortex-R5 #0 (RPU PGE Reset)
        4  Cortex-R5 #1 (RPU PGE Reset)
     5  APU
        6* Cortex-A72 #0 (Power On Reset)
        7  Cortex-A72 #1 (Power On Reset)
     8  PPU
        9  MicroBlaze PPU (Sleeping)
    10  PSM
       14  MicroBlaze PSM (Sleeping)
    11  PMC
    12  PL
 13  DPC
xsct% rst -processor
WARNING: If the reset is being triggered after powering on the device,
         write bootloop at reset vector address (0xffff0000), or use
         -clear-registers option, to avoid unpredictable behavior.
         Further warnings will be suppressed
WARNING: Default system will be activated before triggering reset.
         Use skip-activate-subsystem to skip this.
         Further warnings will be suppressed
Info: Cortex-A72 #0 (target 6) Stopped at 0xffff0000 (Reset Catch)
xsct% ta
  1  Versal xcvc1902
     2  RPU
        3  Cortex-R5 #0 (Halted)
        4  Cortex-R5 #1 (Lock Step Mode)
     5  APU
        6* Cortex-A72 #0 (Reset Catch, EL3(S)/A64)
        7  Cortex-A72 #1 (Power On Reset)
     8  PPU
        9  MicroBlaze PPU (Sleeping)
    10  PSM
       14  MicroBlaze PSM (Sleeping)
    11  PMC
    12  PL
 13  DPC
xsct% mwr -force 0x20100000000 0x12345678
xsct% mrd -force 0x20100000000
     20100000000:   12345678

xsct%
相关推荐
不脱发的程序猿9 分钟前
SoC程序如何使用单例模式运行
linux·嵌入式
hie9889424 分钟前
CentOS环境搭建-快速升级G++版本
linux·python·centos
星辰云-26 分钟前
【超详细】CentOS系统Docker安装与配置一键脚本(附镜像加速配置)
linux·docker·centos
ajassi200036 分钟前
开源 Arkts 鸿蒙应用 开发(六)数据持久--文件和首选项存储
linux·开源·harmonyos
厚道37 分钟前
如何管理和优化内核参数?
linux
小立爱学习41 分钟前
Linux 内存管理之address_space
linux·c语言
CodeWithMe1 小时前
【Note】Linux Kernel 之 内核架构、源码文件、API/ABI 、FHS
linux·运维·架构
kk在加油1 小时前
Redis数据安全性分析
数据库·redis·缓存
SKYDROID云卓小助手1 小时前
无人设备遥控器之无线电频率篇
服务器·网络·单片机·嵌入式硬件·算法
Shan12051 小时前
编辑器Vim的快速入门
linux·编辑器·vim