Difference between revisions of "NU32 Software"

From Mech
Jump to navigationJump to search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Software to download to program the [[NU32|NU32 PIC32 development board]].
= Software =

* 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)
** [http://www.barebones.com/products/textwrangler/ TextWrangler] (Mac)
** [http://www.barebones.com/products/textwrangler/ TextWrangler] (Mac)
** [https://notepad-plus-plus.org/ Notepad++] (Windows)
** [https://notepad-plus-plus.org/ Notepad++] (Windows)
Line 12: Line 15:
*** sudo apt-get install emacs (Ubuntu/Debian)
*** sudo apt-get install emacs (Ubuntu/Debian)
*** sudo pacman -S emacs (Arch)
*** sudo pacman -S emacs (Arch)
** [https://atom.io/ atom] (All)


* 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)", to avoid downloading the very large full Xcode suite (which also has the command line tools). Alternatively 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 28: 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]
* [http://www.microchip.com/pagehandler/en_us/devtools/mplabharmony/home.html 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)
=== Book Sample Code ===
<!-- * [[Media:PIC32Quickstart.zip | PIC32Quickstart.zip (November 2015)]] - PIC32Quickstart.zip, as needed in the Quickstart Chapter -->
<!-- * [[Media:PIC32Quickstart.zip | PIC32Quickstart.zip (November 2015)]] - PIC32Quickstart.zip, as needed in the Quickstart Chapter -->
* [[Media:Embedded_Computing_V1.0-Nov_2015.zip | Full Book Source Code (November 2015)]] - All of the source code from the book. [[Media:PIC32Quickstart.zip | PIC32Quickstart.zip (November 2015)]] contains just the code for Chapter 1, which is also included the folder 01_Quickstart within the full book.
<!-- * [[Media:Embedded_Computing_V1.1-Mar_2016.zip | Full Book Source Code (March 2016)]] -->
* [[Media:Embedded_Computing_V1.2-Apr_2016.zip | Full Book Source Code (April 2016)]] All of the source code from the book, including the Quickstart_code. Also contains the bootloader source code.
* [[Media:Chapter01-Quickstart-Jan2023.zip | New Quickstart sample code for the PIC32MX170F256B Jan 2023]] If using the DIP version of the PIC32MX170F256B
** For compatibility with the text, we also provide the code for Chapter 1 as a separate file [[Media:PIC32Quickstart.zip | 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.

Latest revision as of 14:09, 23 January 2023

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

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.