FX3/CX3 JLINK 调试
来源:互联网 发布:百度地图 api 知乎 编辑:程序博客网 时间:2024/06/06 01:14
FX3 JLINK调试是一个有些麻烦的事情,经常有些莫名其妙的问题。
设置参见 c:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware
下的 EzUsbSuite_UG.pdf 文档。
常见问题:
1.装了多个版本的jlink,使用了未注册或不适当的版本
选择一个正确的版本。JLinkARM_V408l,JLinkARM_V486b,JLink_V510d,JLink_V512f。
打开JLink目录下的JLink.exe(序列号S/N:-1,出厂设置),看是否连接成功。
打开JLinkGDBServer.exe,看CPU,电压等,是否正常,GDB 需要调试时候才是正常的(绿色)。
2. Failed to execute MI command:
去掉debug设置里的startup页中的set breakpoint at main.
When CDT launches, it tries to set a breakpoint at main, so it will interrupt execution when your program starts. However, your target is already running so the breakpoint cannot be set and the whole things fails.
You could simply tell your launch not to set that breakpoint and let it connect to your target. Go to: Run->Debug Configurations… and find your launch configuration. Then select the Startup subtab, scroll down and uncheck “Set breakpoint at” in the “Runtime options” subsection.
–There is a mismatch between the gdb client inside eclipse and the gdb server. Try changing the gdb client in eclipse
debug settings –> Debugger –> Main Tab –> Browse to gdb compiled for the same platform
3. gdb 路径不对
E:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\bin\arm-none-eabi-gdb.exe
- 关闭相关软件jlink,JLinkGDBServer
kill相应的进程,重启Ez-usb(eclipse),重启电脑。
实在不行就只能尝试重启大法了。。。
常用快捷键:
F5:step into,F6:step over; F8:resume.
- FX3/CX3 JLINK 调试
- FX3/CX3 简介
- FX3/CX3 SPI
- FX3/CX3 Thread创建
- FX3/CX3 事件机制
- FX3/CX3 定时器
- FX3/CX3 timestamp
- FX3/CX3 延时
- FX3/CX3 flash
- FX3/CX3 jtag debug
- FX3/CX3 CyU3PMutex
- FX3/CX3 DMA Overview
- FX3/CX3 I2C error
- FX3/CX3 模拟i2c
- FX3/CX3 M25P40存储器读写
- FX3/CX3 elf转为img文件
- FX3/CX3 REQ_VENDOR自定义usb命令
- FX3/CX3 yuv/rgb输出修改
- numpy基本使用
- windows下如何查看某个端口被谁占用并结束掉该进程
- 95-errno 变量与多线程
- gcc do_merge
- 使用第三方库导致NSLog打印数组NSArray或字典NSDictionary时出现\U开头乱码的解决办法
- FX3/CX3 JLINK 调试
- C++---虚函数
- 首次接触Struts2框架(一)
- json_parser_read.hpp:257:264: error: ‘type name’ declared as function returning an array escape
- 适配器模式
- ArcMap 无法在Oracle中创建图层案例
- gcc do_rewrite
- POJ 3253 贪心 优先队列
- 转自Code Pen的button样式