PSAS/ CanDevToolSettings

CAN Node Development Tools

DANGER DANGER! THESE INSTRUCTIONS ARE OUTDATED AS OF 02/03/2004!!! CONTACT ANDREW IF YOU NEED HELP SETTING STUFF UP!

Here are the installation instructions to setup our tools:

Installing MPLAB IDE:

  1. Remove any old MPLAB installs, especially older 5.xx versions.
  2. Install MPLAB 6.10. Choose ALL of the defaults EXCEPT put the linker files in the /lkr directory (if it still asks).

Installing PICC-18:

  1. Double click the PICC-18 installer. Choose ALL default options. Completely restart - don't just choose "shift restart". You need to reload the config.sys/autoexec.bat files.
  2. Register your copy by running Start -> Programs -> HI-TECH Software -> Compiler Activation. Enter in the activation information (ask Andrew if you don't have it) and you should get a DOS box. Click off the DOS box, and you should get a registration succesfull message.
  3. Run the patch program and answer yes to all questions (if you have the newest versions of each).

Setting up MPLAB IDE to work with PICC-18:

  1. Run MPLAB.
  2. Choose the "Project" menu and "Set Language Tool Locations...".
  3. Set ALL THREE tools in the "HI-TECH PICC-18 Toolsuite" (NOT the "PICC Toolsuite, that's for an older core) to "C:\HTSOFT\PIC18\bin\picc18.exe". You might want to use the browse button just to make sure you get the path right.
  4. Hit Ok.
  5. You should now be able to load the project for your application (.pjt file) and compile it.
  6. IF YOU USE THE ICD2: Choose the "Project" menu and select "build options"
  7. Under the HI-TECH18C Compiler tab select "Output & Debug" from the Categories drop down menu.
  8. Put a check in the box "Compile for MPLAB ICD"
  9. Under the HI-TECH18 Linker tab place a check in the "Link for ICD" box.

Can King Installation and Settings

Install CAN King with all the default options. You'll need about 25MB, and a working parallel port. Note that if CAN King says "No Parallel Port Present" then you should check your parallel port's address.

When you first open up Can King:

Setup parallel port, board, and environment:

When you quit:

On next start: