FirewingLoader

Writing Swordfish code for a Firewing development board is really easy. In fact, it's just the same as writing code targeted for an 18F25K22 device. However, there is a really useful module here which can speed up your development times. Code written, how do you upload to a Firewing board? Just follow these steps:

  • Download the Firewing loader executable. Unzip and place on you hard drive. If you already have the Firewing compiler installed on your system, then you can skip this download step as the loader will be already located in you main Firewing install folder. For example, "C:\Program Files\Mecanique\Firewing\Bin\Bootloader"
  • From the Swordfish IDE menu, select VIEW...COMPILE AND PROGRAM OPTIONS. Then select the programmer tab.
  • Press the "Install new programmer" button.
  • Select the "Create a custom programmer entry" option and then press the "Next" button.

Now you just configure the options for each screen

  • Display Name : Firewing Loader
  • Programmer Filename : fwloader.exe
  • Select Programmer Path : <wherever you put fwloader.exe>
  • Select Parameters : $long-hex-filename$ -cFirewing -dtr=on

the -cFirewing option will auto detect the port the Firewing development board is connected to. You can use -cCOM<value> instead if you want to specify a COM port number. If you haven't installed your USB drivers yet for Firewing then take a look here.