工程中添加好 jtag to avalon master bridge 模块,并下载到板子上后,打开 tool -- system debugging tools -- system console ,如下图:

如果左侧没有 devices 卡,则 load design (sof) 后,关闭console然后重新打开,并 refresh connections

调试接口 jtag to avalon 使用

 

然后参考 : https://blog.csdn.net/stu_ding/article/details/49274675

1 打开master 

A 语法:set <service-path> [lindex[get_service_paths master] 0]  //重命名master

   举例:set jd_path [lindex [get_service_paths master ] 0]

B 语法:open_service master <service-path>                                //open master

   举例:open_service master$jd_path

2 读写avalon地址数据

master_write_8 / master_write_16 / master_write_32

master_read_8 / master_read_16 /  master_read_32

 

语法:master_write_32 <service-path><address> <list_of_32_bit_words>

举例:master_write_32  $jd_path 0x0000 0x12345678

语法:master_read_32 <service-path><address> <size_in_multiples_of_32_bits>

举例:master_write_32  $jd_path        0x0000       0x12345678

 

 

相关文章:

  • 2021-10-01
  • 2021-12-01
  • 2021-08-15
  • 2021-06-22
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-21
  • 2021-04-20
  • 2022-12-23
  • 2021-08-31
  • 2022-01-08
  • 2021-04-19
相关资源
相似解决方案