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
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
>
1008C17F
>