【PIC32MZ】调试设置

版权声明:本文为博主原创文章,转载注明出处 https://blog.csdn.net/u010875635/article/details/71055311

PIC32MZ有两个调试端口,ICSP1和ICSP2,PIC32MZ EF Start Kit开发板上使用的是ICSP2(详细查看官网电路图),而Harmony默认为ICSP1,无法直接调试,需要在Harmony的device中做一些配置。


DEVCFG0中前四个,第三个最重要,不同板子通道可能不同


Background Debugger Enable on
Jtag Enable on
ICE\ICD comm channel select ICS_PGx2
Trace Enable on

猜你喜欢

转载自blog.csdn.net/u010875635/article/details/71055311
pic