How to use Proteus vsmp files?

Status
Not open for further replies.

zuisti

Advanced Member level 1
Joined
Jul 2, 2004
Messages
479
Helped
188
Reputation
376
Reaction score
183
Trophy points
1,323
Location
Hungary
Activity points
3,319
From version 7.7 in the Proteus_inst_dir/SAMPLES folder exists some example project wich contains a .vsmp file.
For example see the simple "PIC 12C671 ADC" (the complete project folder is attached), or look at the project "C18 Calculator"
Here is the "PIC12C671 ADC Converter.vsmp":
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<PROJECT DESCRIPTION="Operation of the ADC in a PIC12C671">
 <KEYWORDS>
  <KEYWORD NAME="ADC/DAC"/>
 </KEYWORDS>
 <FILES>
  <FILE GROUP="Source" NAME="pic12adc.asm"/>
  <FILE GROUP="Design" NAME="PIC12ADC.DSN"/>
 </FILES>
 <CONFIGURATION TARGET="Debug" COMPILER="MPASM (Proteus)" NAME="Debug">
  <CONTROLLER FAMILY="PIC12" CLOCK="4MHz" TYPE="PIC12C671"/>
  <FILE TOOL="LD" NAME="Debug.cof">
   <OPTION DEFAULT="1" TOOL="LD" ID="OUTFILE" NAME="-o " VALUE="%OUTFILE_DIR%/%OUTFILE_NAME%.cof"/>
   <OPTION DEFAULT="1" TOOL="LD" ID="LKR" NAME="" VALUE="12c671_g.lkr"/>
   <FILE TOOL="ASM" NAME="pic12adc.o">
    <FILE NAME="pic12adc.asm"/>
   </FILE>
  </FILE>
  <FILE NAME="PIC12ADC.DSN"/>
  <OPTION DEFAULT="1" TOOL="LD" NAME="-x"/>
  <OPTION DEFAULT="1" TOOL="ASM" NAME="/q" VALUE="+"/>
  <OPTION DEFAULT="1" TOOL="ASM" NAME="/p" VALUE="12c671"/>
 </CONFIGURATION>
</PROJECT>
Seems it is a project file in XML format but how to use it in Proteus?
Or, it is using in the MPLAB? Or the MPASM(WIN)?

Please help!
Thanks: zuisti
 

Attachments

  • PIC 12C671 ADC.ZIP
    24.4 KB · Views: 55

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…