Skip to content

Instantly share code, notes, and snippets.

@seanboe
Last active February 7, 2022 03:49
Show Gist options
  • Save seanboe/51d858a7448a8bb1829198b4904780d3 to your computer and use it in GitHub Desktop.
Save seanboe/51d858a7448a8bb1829198b4904780d3 to your computer and use it in GitHub Desktop.

Setting up the pic24 development board + software stuff

  1. Download MPLab X IDE
  2. Open MPLab X IDE, and if you don't have a compiler, close it. Otherwise, select your compiler.
  3. Download a c compiler from here. Since the PIC24 is a 16-bit board, install the XC16 compiler. Documentation for included libraries can be found here
  4. Open the compiler image and follow the setup instructions for MPLab XC Compiler.
  5. Once the compiler is finished installing, open MPLab X IDE again - if got a prompt earlier about not having a compiler, you shouldn't get that anymore
  6. Create a new project, selecting "Standalone project" and the PIC24FJ128GA204 mpu. Then choose the correct compiler (it should eliminate wrong selections for you)
  7. Create a source file in the "Source files" folder called main
  8. Select the "Make and Program Device Main Program" button, and select the startup tool to flash / debug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment