Difference between revisions of "NU32 Software"

From Mech
Jump to navigationJump to search
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


* Text Editors (These are just suggestions; feel free to use any text editor you are comfortable with)
* Text Editors (These are just suggestions; feel free to use any text editor you are comfortable with)
** [https://code.visualstudio.com/ Visual Studio Code] (All)
** [https://atom.io/ Atom] (All)
** [https://atom.io/ Atom] (All)
** [http://www.barebones.com/products/textwrangler/ TextWrangler] (Mac)
** [http://www.barebones.com/products/textwrangler/ TextWrangler] (Mac)
Line 17: Line 18:
* Native C Compiler
* Native C Compiler
** [https://developer.apple.com/downloads Xcode Command Line Tools] (Mac): Log in with an Apple developer id, available for free, and download "Command Line Tools OSX (version number) for Xcode (version number)" (about 160 MB), to avoid downloading the ~4 GB full Xcode developer suite (which also has the command line tools). You will probably need to add /Library/Developer/CommandLineTools/usr/bin to your path to make sure you find gcc and make from the command line; see the [https://www.youtube.com/watch?v=a2o5sx1xxm4 video on software downloads]. (Instead of using Xcode command line tools, you could use gcc and make from Homebrew or MacPorts.)
** [https://developer.apple.com/downloads Xcode Command Line Tools] (Mac): Log in with an Apple developer id, available for free, and download "Command Line Tools OSX (version number) for Xcode (version number)" (about 160 MB), to avoid downloading the ~4 GB full Xcode developer suite (which also has the command line tools). You will probably need to add /Library/Developer/CommandLineTools/usr/bin to your path to make sure you find gcc and make from the command line; see the [https://www.youtube.com/watch?v=a2o5sx1xxm4 video on software downloads]. (Instead of using Xcode command line tools, you could use gcc and make from Homebrew or MacPorts.)
** [https://sourceforge.net/projects/mingw/ MinGW] (Windows - [https://code.visualstudio.com/docs/cpp/config-mingw Using mingw with Visual Studio Code])
** [http://www.mingw.org/wiki/Getting_Started MinGW] (Windows)
** [http://gcc.gnu.org gcc] (Linux)
** [http://gcc.gnu.org gcc] (Linux)
*** sudo apt-get install build-essential (Ubuntu/Debian)
*** sudo apt-get install build-essential (Ubuntu/Debian)
Line 29: Line 30:
*** sudo pacman -S base-devel (Arch)
*** sudo pacman -S base-devel (Arch)


* [http://www.microchip.com/pagehandler/en_us/devtools/mplabxc/ The Microchip XC32 Compiler]
* [http://www.microchip.com/pagehandler/en_us/devtools/mplabxc/ The Microchip XC32/32++ Compiler]
* [https://www.microchip.com/mplab/mplab-harmony MPLAB Harmony Integrated Software Framework]
* We usually don't use Harmony without the IDE, read about it here: [https://www.microchip.com/mplab/mplab-harmony MPLAB Harmony Integrated Software Framework]
* [http://www.ftdichip.com/Drivers/VCP.htm FTDI Virtual COM Port Driver]
* [http://www.ftdichip.com/Drivers/VCP.htm FTDI Virtual COM Port Driver]
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY Terminal Emulator for Windows] (use "screen" on Linux and the Terminal program on a Mac)
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY Terminal Emulator for Windows] (use "screen" on Linux and the Terminal program on a Mac)

Revision as of 12:59, 30 December 2021

Software to download to program the NU32 PIC32 development board.

  • Text Editors (These are just suggestions; feel free to use any text editor you are comfortable with)
    • Visual Studio Code (All)
    • Atom (All)
    • TextWrangler (Mac)
    • Notepad++ (Windows)
    • Gedit (All)
      • sudo apt-get install (Ubuntu/Debian)
      • sudo pacman -S gedit (Arch)
    • vim (All)
      • sudo apt-get install vim (Ubuntu/Debian)
      • sudo pacman -S vim (Arch)
    • emacs (All)
      • sudo apt-get install emacs (Ubuntu/Debian)
      • sudo pacman -S emacs (Arch)
  • Native C Compiler
    • Xcode Command Line Tools (Mac): Log in with an Apple developer id, available for free, and download "Command Line Tools OSX (version number) for Xcode (version number)" (about 160 MB), to avoid downloading the ~4 GB full Xcode developer suite (which also has the command line tools). You will probably need to add /Library/Developer/CommandLineTools/usr/bin to your path to make sure you find gcc and make from the command line; see the video on software downloads. (Instead of using Xcode command line tools, you could use gcc and make from Homebrew or MacPorts.)
    • MinGW (Windows - Using mingw with Visual Studio Code)
    • gcc (Linux)
      • sudo apt-get install build-essential (Ubuntu/Debian)
      • sudo pacman -S base-devel (Arch)
  • Make
    • Distributed with Xcode (Mac)
    • Distributed with MSYS, obtained via MinGW (Windows)
    • make (Linux)
      • sudo apt-get install build-essential (Ubuntu/Debian)
      • sudo pacman -S base-devel (Arch)

Book Sample Code

  • Full Book Source Code (April 2016) All of the source code from the book, including the Quickstart_code. Also contains the bootloader source code.
    • For compatibility with the text, we also provide the code for Chapter 1 as a separate file PIC32Quickstart.zip (November 2015). This code is also included in the folder 01_Quickstart within the full book source code.

Release Notes

  • Embedded_Computing_V1.2-Apr_2016, April 2016
    • Added source code for updated bootloader (running on the PIC32) and bootloader utility (running on the host computer); the primary change was optimization of the code, and clearer code organization. Both new versions are numbered 5.2 and both are fully compatible with earlier versions.
    • Fixed minor mistakes in comments of sample code 6.2 and 7.1.
  • Embedded_Computing_V1.1-Mar_2016, March 2016
    • Added Harmony makefile to Chapter 20.
  • Embedded_Computing_V1.0, November 2015
    • Initial release.