From Swordfish Wiki

SwordfishUser: Using Swordfish with MPLAB

This guide enables you to install the command line edition of Swordfish into the MPLAB IDE, which is available from Microchip™. The installation procedure has been tested using MPLAB version 7.6 running on Windows™ XP.


The first thing to do is make sure the command line version of Swordfish is present in you main installation folder. For example,

Swordfish VersionExample Location
Special Edition (SE)C:\Program Files\Mecanique\SwordfishSE\SESwordfish.exe
FullC:\Program Files\Mecanique\Swordfish\Swordfish.exe

Next, you need to locate and copy SFBasic.mtc and TLSFBasic.ini. These will be located under the MPLAB subfolder. For example,

Special Edition (SE)C:\Program Files\Mecanique\SwordfishSE\MPLAB
FullC:\Program Files\Mecanique\Swordfish\MPLAB

If not, you can download from here. Next, copy the files so that they reside in the MPLAB third party support folder (MTC Suites). For example,

C:\Program Files\Microchip\MPLAB IDE\Core\MTC Suites\SFBasic.mtc
C:\Program Files\Microchip\MPLAB IDE\Core\MTC Suites\TLSFBasic.ini

After the above files have been installed in the MTC Suites folder, you need to run Swordfish.reg (or Swordfish 64 OS.reg for 64 bit operating systems). This ensures that the correct registry entries are created so that MPLAB recognises Swordfish as a compiler toolsuite.

In summary:

Additional Notes

Retrieved from
Page last modified on September 16, 2010, at 07:52 PM