OPENRISC USB-DEBUGGER使用方法
来源:互联网 发布:文献关键词分析软件 编辑:程序博客网 时间:2024/05/17 04:33
利用openrisc提供的镜像在虚拟机上调试,调试的步骤如下:
1.type:
$ /opt/or_debug_proxy/bin/or_debug_proxy -r 55555
2.type:
$ cd ~/soc-design/helloworld-or1ksim
$ or32-elf-gdb
3.The GDB debugger is now started and you need to connect it to
the or_debug_proxy program, by typing:
(gdb) target remote :55555
4.type:
(gdb) any gdb commands
主要用到的命令有:
info spr sys --打印出所有系统相关的特殊寄存器
info all-registers --打印出所有通用寄存器
br *0xd9cc --在0xd9cc处设置断点
del 0xd9cc --删除断点
c --即continue,放开openrisc cpu
Ctrl-c --把cpu停住,交给gdb控制
info br --查看断点设置情况
更多的命令参考openrisc官网
1.type:
$ /opt/or_debug_proxy/bin/or_debug_proxy -r 55555
2.type:
$ cd ~/soc-design/helloworld-or1ksim
$ or32-elf-gdb
3.The GDB debugger is now started and you need to connect it to
the or_debug_proxy program, by typing:
(gdb) target remote :55555
4.type:
(gdb) any gdb commands
主要用到的命令有:
info spr sys --打印出所有系统相关的特殊寄存器
info all-registers --打印出所有通用寄存器
br *0xd9cc --在0xd9cc处设置断点
del 0xd9cc --删除断点
c --即continue,放开openrisc cpu
Ctrl-c --把cpu停住,交给gdb控制
info br --查看断点设置情况
更多的命令参考openrisc官网
0 0
- OPENRISC USB-DEBUGGER使用方法
- Silicon F340 USB使用方法
- Debugger
- debugger
- Debugger
- Silicon USB MCU F340使用方法
- OpenRisc-26-openrisc中断实验
- OpenRisc-55-OpenRISC debug系统分析
- USB转串口线的使用方法
- android usb挂载分析---Mount 使用方法
- OpenRisc-23-基于openrisc的SOC开发
- OpenRisc-25-ORPSoC,openrisc相关资料汇总
- OpenRisc-53-debugging the OpenRISC 1200
- OpenRisc-25-ORPSoC,openrisc相关资料汇总
- OpenRISC解剖课程
- OpenRisc-1-startup
- OpenRisc-6-wishbone实验
- OpenRisc 驱动之helloworld
- Android中通过Intent 调用图片、视频、音频、录音、拍照
- Linux & Mac package安装命令
- cocos2dx ios android 添加 box2d
- 原码编译
- Android中的多种文件读写操作方法
- OPENRISC USB-DEBUGGER使用方法
- 保持手机屏幕常亮无需权限
- Android多线程知识(Thread,Runnable,Handler,AsyncTask,Looper等)
- RMAN备份与恢复—恢复有备份的表空间和数据文件
- ubuntu安装oraclejdk
- U盘系统
- java-获取某url中的一个字段&&检验url是否可以用
- git 命令(场景一)
- QThread 与 QObject的关系