Keil和Porteus的联合调试

以下方法在Proteus 6.7 SP3+Keil7.50a测试通过

1.把压缩文件中的VDM51.DLL解压到Keil目录下的c51\BIN

2.修改Keil目录下的TOOLS.ini文件,加入“TDRV5=BIN\VDM51.dll ("Proteus Debug")”一项,如下:
[C51]
...
TDRV0=BIN\MON51.DLL ("Keil Monitor-51 Driver")
TDRV1=BIN\ISD51.DLL ("Keil ISD51 In-System Debugger")
TDRV2=BIN\MON390.DLL ("MON390: Dallas Contiguous Mode")
TDRV3=BIN\LPC2EMP.DLL ("LPC900 EPM Emulator/Programmer")
TDRV4=BIN\UL2UPSD.DLL ("ST-uPSD ULINK Driver")
TDRV5=BIN\VDM51.dll ("Proteus Debug")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
Version=V7.0
PATH="d:\Keil\C51"
SN=K1DZP-5IUSH-A01UE
RTOS0=Dummy.DLL("Dummy")

3.Proteus-->Debug-->Use Remote Debug Monitor(启用远程调试)

4.Keil-->Project-->Option for Target "Target 1"-->Debug-->Use-->Proteus Debug

原文地址:https://www.cnblogs.com/yuxi/p/630130.html