SystemConvert
SwordfishUser.SystemConvert History
Hide minor edits - Show changes to markup
NOTICE (Nov 2020) This utility is under construction. It should NOT be used to generate files for SF V2.2.3.6
NOTICE (Nov 2020) This utility is currently obsolete and is under construction. It should NOT be used to generate files for SF V2.2.3.6 or later
NOTICE (Nov 2020) This utility is under construction. It should NOT be used to generate files for SF V2.2.3.6
NOTE: To add new devices, you can use the SystemConvert utility provided in the Tools folder of the current compiler (v2.2.3.0).
NOTE: To add new devices, you can use the SystemConvert utility provided in the Tools folder of the current compiler (v2.2.3.2).
To add new devices, you can use the SystemConvert utility provided in the Tools folder of the current compiler.
NOTE: the latest version of the SystemConvert utility is provided in the Tools folder of Swordfish v2.2.3.0
NOTE: To add new devices, you can use the SystemConvert utility provided in the Tools folder of the current compiler (v2.2.3.0).
You must have the latest version of MPLAB or MPLABX installed. The software uses various files supplied by the Microchip assembler to try and construct the files required by the compiler. Just unzip the software and place in a folder that can be written to. The software will create two new folders called 'NewInclude' and 'NewIncludeBASIC', so it is essential you have write permissions!
NOTE: the latest version of the SystemConvert utility is provided in the Tools folder of Swordfish v2.2.3.0
You must have the latest version of MPLABX installed. The software uses various files supplied by the Microchip assembler to try and construct the files required by the compiler. Just unzip the software and place in a folder that can be written to. The software will create two new folders called 'NewInclude' and 'NewIncludeBASIC', so it is essential you have write permissions!
Make sure the software is pointing to the MPASM or MPASMX installation folder. If it is not, use the 'Change Folder' button to point to the location of the assembler. For MPLAB this is typically "C:\Program Files\Microchip\MPASM Suite" and for MPLABX it's "C:\Program Files\Microchip\MPLABX\mpasmx". Next, press the 'Get Candidates' button. This will build a list of all files that the software thinks it can generate Swordfish device files for. Finally, press the 'Convert Files' button to start the build process.
Make sure the software is pointing to the MPASMX installation folder. If it is not, use the 'Change Folder' button to point to the location of the assembler. For MPLABX this is typically "C:\Program Files\Microchip\MPLABX\mpasmx". Next, press the 'Get Candidates' button. This will build a list of all files that the software thinks it can generate Swordfish device files for. Finally, press the 'Convert Files' button to start the build process.
You will probably also need to copy the latest version of MPASM into the Swordfish 'bin' folder, in order to assemble the new parts you have created files for. To do this, navigate to the Microchip folder specified above and:
For MPASM users, copy the three files
MPASMwin.exe
You will probably also need to copy the latest version of mpasmx.exe into the Swordfish 'bin' folder, in order to assemble the new parts you have created files for. To do this, navigate to the Microchip folder specified above and copy the three files
mpasmx.exe
from the 'MPASM Suite' directory to your Swordfish\Bin directory.
For MPASMX users, the steps are a little different depending on the version of MPLABX. In some versions there is only a single executable named 'mpasmx.exe', while for others there is an identical file named 'MPASMWIN.exe'. If your version contains MPASMWIN.exe, you can use that file instead of copying and renaming mpasmx.exe. Otherwise copy the files
mpasmx.exe 8bit_device.dll 8bit_device.info
from the 'MPLABX/mpasmx' directory to your Swordfish\Bin directory, and rename the file mpasmx.exe to MPASMwin.exe
from the 'MPLABX/mpasmx' directory to your Swordfish\Bin directory.
Support for the 18FxxK40 family requires the device files from MPASMX v5.68 (MPLABX 3.35) or later.
Support for the newer devices (K40, Q10, K42, etc) requires the device files from MPASMX v5.68 (MPLABX 3.35) or later.
To add new devices, you can download and use the following software:
- SystemConvert_v144.zip - Automatic device creation software.
To add new devices, you can use the SystemConvert utility provided in the Tools folder of the current compiler.
SystemConvert program Delphi source files: SystemConvert V1.44 source
SystemConvert program Delphi source files: SystemConvert V1.40 source
SystemConvert program Delphi source files: SystemConvert V1.44 source
- SystemConvert_v140.zip - Automatic device creation software.
- SystemConvert_v144.zip - Automatic device creation software.
V1.4 Options:
V1.44 Options:
- Include 18xv
The zip file below contains the files already converted from mpasmx 5.71 (MPLABX 3.50)
- mpasmx_571_device_files.zip - device files from mpasmx.
The zip file below contains the core 18F device files already converted from mpasmx 5.77 (MPLABX 4.20) It does not include the LF devices or the register bit files.
- mpasmx_577_device_files.zip - device files from mpasmx.
SystemConvert program Delphi source files: SystemConvert V1.3 source
SystemConvert program Delphi source files: SystemConvert V1.40 source
- SystemConvert_v132.zip - Automatic device creation software.
- SystemConvert_v140.zip - Automatic device creation software.
V1.3 can generate files for the 18LF devices. There's a new 'Include 18LF' checkbox... just check it before pressing 'Get Candidates' and it'll generate both 18F and 18LF files.
Other features of the program are 'Copy As Includes' and device log file generation. The 'Copy As Includes' button will take the contents of the device list window and copy it to the Windows clipboard in the form of 'device = xxxx' statements. Also, once you have generated the device files a log file will be created in the 'NewIncludeBASIC' folder that contains a listing of all the supported devices and other info. The default log file format is a plain text file named '_devices.txt', but an XML formatted file ('_devices.xml') can be generated by checking the 'XML list' checkbox prior to converting the files. The XML list file is in a form compatible with MPLABX plugins.
If all goes well, you will see the two 'NewInclude' folders containing *.bas files and *.inc files. These folders will be created in the same path the program was run from. The contents of both these folders must be copied into the Swordfish 'includes' folder. For example,
V1.4 Options:
- Include 18LF
- Create Reg Bit File
- XML List
The 'Copy Device List' button will take the contents of the device list window and copy it to the Windows clipboard in the form of 'device = xxxx' statements.
If all goes well, after pressing 'Convert Files' will see the two 'NewInclude' folders containing *.bas files and *.inc files. These folders will be created in the same path the program was run from. The contents of both these folders must be copied into the Swordfish 'includes' folder. For example,
If all goes well, you will see two folders containing *.bas files and *.inc files (EDIT: These folders will be created to the same path the program was run from). Each files needs to be copied into the Swordfish 'includes'. For example,
Other features of the program are 'Copy As Includes' and device log file generation. The 'Copy As Includes' button will take the contents of the device list window and copy it to the Windows clipboard in the form of 'device = xxxx' statements. Also, once you have generated the device files a log file will be created in the 'NewIncludeBASIC' folder that contains a listing of all the supported devices and other info. The default log file format is a plain text file named '_devices.txt', but an XML formatted file ('_devices.xml') can be generated by checking the 'XML list' checkbox prior to converting the files. The XML list file is in a form compatible with MPLABX plugins.
If all goes well, you will see the two 'NewInclude' folders containing *.bas files and *.inc files. These folders will be created in the same path the program was run from. The contents of both these folders must be copied into the Swordfish 'includes' folder. For example,
- SystemConvert_v131.zip - Automatic device creation software.
- SystemConvert_v132.zip - Automatic device creation software.
SystemConvert program Delphi source files: SystemConvert V1.3 source
SystemConvert program Delphi source files: SystemConvert V1.3 source
The zip file below contains the files already converted from mpasmx 5.71.
The zip file below contains the files already converted from mpasmx 5.71 (MPLABX 3.50)
- mpasmx_571_device_files.zip - device files from mpasmx.
- mpasmx_571_device_files.zip - device files from mpasmx.
The zip file below contains the files already converted from mpasmx 5.68.
- mpasmx_568_device_files.zip - device files from mpasmx.
The zip file below contains the files already converted from mpasmx 5.71.
- mpasmx_571_device_files.zip - device files from mpasmx.