Description: .安装好Proteus 6.9 SP4,需要用Keil for ARM的或IAR的同样需要安装好。
2.安装Proteus VSM Simulator驱动 可以在官方网站上下载到)。Keil装Vdmagdi.exe,IAR装Vdmcspy.exe
3.将附件中的Prospice.dll和Licence.dll文件Copy到..\bin目录下,MCS8051.dll和ARM7TDMI.dll文件拷贝到..\MODELS目录下。分别替换原有的文件。
4.打开原理图模型和程序。记得要在ISIS中选"Use Remote Debug Monitor"。在Keil for ARM中选择"Proteus VSM Simulator"。IAR中选择Debugger-->Setup-->Drver-->Third-Party Driver,然后在Third-Party Driver中指向Vdmcspy.dll文件。
5.在IDE中点击Debug进入仿真模式。一个精彩的Proteus for ARM时代来临。
6.Enjoy!
附件中有两个例程:一个是IAR的例程。一个是Keil for ARM例程,是利用ADS1.2编译实现的。也就是说所有ADS的工程也可以转到Keil for ARM上来运行,方便联机调试,只需要修改很小的部分。 因为ADS不能和Proteus联调,目录下的那个*.mcp文件即是原有的ADS工程文件)
File list (Check if you may need any files):
Proteus for ARM7调试攻略
........................\ARM7调试攻略.txt
........................\IAR
........................\...\Sheet
........................\...\.....\lcd2.DSN
........................\...\.....\lcd2.PWI
........................\...\.....\LCD2_Data
........................\...\.....\.........\CWSettingsWindows.stg
........................\...\.....\.........\Release
........................\...\Soft
........................\...\....\examples.eww
........................\...\....\LCD2
........................\...\....\....\Backup (2) of lcd2.ewd
........................\...\....\....\Backup (2) of lcd2.ewp
........................\...\....\....\Backup of lcd2.ewd
........................\...\....\....\Backup of lcd2.ewp
........................\...\....\....\config.h
........................\...\....\....\Debug
........................\...\....\....\IRQ.s
........................\...\....\....\lcd2.dep
........................\...\....\....\lcd2.ewd
........................\...\....\....\lcd2.ewp
........................\...\....\....\LPC2106.h
........................\...\....\....\LPC2106_JLink.xcl
........................\...\....\....\main.c
........................\...\....\....\settings
........................\...\....\....\........\lcd2.dbgdt
........................\...\....\....\........\lcd2.dni
........................\...\....\....\Startup.s
........................\...\....\....\target.c
........................\...\....\....\target.h
........................\...\....\LPC2106_JLink.xcl
........................\...\....\settings
........................\...\....\........\examples.wsdt
........................\Keil for ARM
........................\............\Sheet
........................\............\.....\Last Loaded lcd2.DBK
........................\............\.....\lcd2.DSN
........................\............\.....\lcd2.PWI
........................\............\Soft
........................\............\....\debug_in_flash.ini
........................\............\....\debug_in_ram.ini
........................\............\....\LCD2.mcp
........................\............\....\LCD2.Opt
........................\............\....\LCD2.Uv2
........................\............\....\LCD2_Data
........................\............\....\.........\CWSettingsWindows.stg
........................\............\....\.........\DebugInFLASH
........................\............\....\.........\............\LCD2.axf
........................\............\....\.........\............\LCD2.hex
........................\............\....\.........\............\LCD2.i32
........................\............\....\.........\............\ObjectCode
........................\............\....\.........\............\..........\IRQ.o
........................\............\....\.........\............\..........\main.o
........................\............\....\.........\............\..........\Startup.o
........................\............\....\.........\............\..........\target.o
........................\............\....\.........\............\TargetDataWindows.tdt
........................\............\....\.........\DebugInRAM
........................\............\....\.........\..........\LCD2.axf
........................\............\....\.........\..........\ObjectCode
........................\............\....\.........\..........\..........\IRQ.o
........................\............\....\.........\..........\..........\main.o
........................\............\....\.........\..........\..........\Startup.o
........................\............\....\.........\..........\..........\target.o
........................\............\....\.........\..........\TargetDataWindows.tdt
........................\............\....\.........\RelInFLASH
........................\............\....\.........\..........\TargetDataWindows.tdt
........................\............\....\LCD2_Debug in FLASH.dep
........................\............\....\LCD2_Debug in RAM.dep
........................\............\....\off