Difference between revisions of "NU32 Software"
From Mech
Jump to navigationJump to searchMatthewElwin (talk | contribs)  | 
				NickMarchuk (talk | contribs)   | 
				||
| (60 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)  | 
|||
** [https://code.visualstudio.com/ Visual Studio Code] (All)  | 
|||
** [https://atom.io/ Atom] (All)  | 
|||
** [http://www.barebones.com/products/textwrangler/ TextWrangler] (Mac)  | 
|||
** [https://notepad-plus-plus.org/ Notepad++] (Windows)  | 
|||
** [https://wiki.gnome.org/Apps/Gedit Gedit] (All)   | 
|||
*** sudo apt-get install (Ubuntu/Debian)   | 
|||
*** sudo pacman -S gedit (Arch)  | 
|||
** [http://www.vim.org/ vim] (All)  | 
|||
*** sudo apt-get install vim (Ubuntu/Debian)  | 
|||
*** sudo pacman -S vim (Arch)  | 
|||
** [https://www.gnu.org/software/emacs/ emacs] (All)  | 
|||
*** sudo apt-get install emacs (Ubuntu/Debian)  | 
|||
*** sudo pacman -S emacs (Arch)  | 
|||
* Text Editors  | 
  |||
** for mac  | 
  |||
** for windows  | 
  |||
** for linux  | 
  |||
* 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.)  | 
|||
** for mac  | 
  |||
** [https://sourceforge.net/projects/mingw/ MinGW] (Windows - [https://code.visualstudio.com/docs/cpp/config-mingw Using mingw with Visual Studio Code])  | 
|||
** for windows  | 
  |||
** [http://gcc.gnu.org gcc] (Linux)   | 
|||
*** sudo apt-get install build-essential  (Ubuntu/Debian)  | 
|||
** for linux  | 
  |||
*** sudo pacman -S base-devel (Arch)  | 
|||
* Make  | 
  * Make  | 
||
** Distributed with Xcode (Mac)  | 
|||
| ⚫ | |||
** Distributed with MSYS, obtained via MinGW (Windows)  | 
|||
* [http://www.microchip.com/pagehandler/en_us/devtools/mplabharmony/home.html MPLAB Harmony]  | 
  |||
** [https://www.gnu.org/software/make/ make] (Linux)  | 
|||
*** sudo apt-get install build-essential (Ubuntu/Debian)  | 
|||
*** sudo pacman -S base-devel (Arch)  | 
|||
| ⚫ | |||
* 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.  | 
  * [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:Embedded_Computing_V1.0-Nov_2015.zip | Full Book Source Code (November 2015)]] (The 01_Quickstart directory contains the PIC32Quickstart code mentioned in the book.)  | 
  |||
<!-- * [[Media:PIC32Quickstart.zip | PIC32Quickstart.zip (November 2015)]] - PIC32Quickstart.zip, as needed in the Quickstart Chapter -->  | 
|||
<!-- * [[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)
 
 
 
- The Microchip XC32/32++ Compiler
 - We usually don't use Harmony without the IDE, read about it here: MPLAB Harmony Integrated Software Framework
 - FTDI Virtual COM Port Driver
 - PuTTY Terminal Emulator for Windows (use "screen" on Linux and the Terminal program on a Mac)
 
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.
 -  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 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.