openocd调试mips芯片

启动openocd:
bin\openocd-0.6.0-rc2.exe -f parport.cfg -d -f scripts\board\pic-p32mx.cfg
启动telnet:
telnet localhost 4444
> 查看当前有哪些设备
引用
> scan_chain
   TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 auto0.tap              Y     0x1008c17f 0x1008c17f     5 0x01  0x03

> flush_count 查看已经发送多少命令

查看idcode(ejtag是0x1)
引用
> irscan auto0.tap 0x1; drscan auto0.tap 32 0
1008C17F
>

猜你喜欢

转载自steeven.iteye.com/blog/1668694
今日推荐