1.问题说明
因为这个仿真器不是原厂的,因为粗略试过,无法在集成调试环境中仿真。我一直只做程序烧写器用,最近因为在调485通讯,没有多余的调试串口,而485又是个半双工设备,发送和接收会相互影响,极难调试。今天终于把这个问题搞定了。最关键的一篇文章在这里:
https://microchip.my.site.com/s/ ... ating-debug-session
https://microchip.my.site.com/s/ ... ating-debug-session
2.使用MPLAB X 激活PCKit3.5+的步骤清单:
1.将 PCKit3.5的固件修改至支持MPLAB的模式:
2. 在MPLAB中找到固件,执行Reset.
注意右上角那个reset按钮。
3.效果
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.26.56 *
Firmware type..............Unknown Firmware Type
Now Downloading new Firmware for target device: PIC18F45K23
Downloading RS...
RS download complete
Programming download...
Downloading AP...
AP download complete
Programming download...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.09
Firmware type..............PIC18F
Target voltage detected
Target device PIC18F45K23 found.
Device Revision ID = 5
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0xfff
configuration memory
Programming/Verify complete
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0xfff
configuration memory
Programming/Verify complete
Running
Target Halted
————————————————
版权声明:本文为CSDN博主「子正」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/twicave/article/details/131590719
|