Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chipkit_max32:refmanual [2016/01/20 21:27] – [4 Reloading the MPIDE bootloader] Marthachipkit_max32:refmanual [2022/09/08 20:26] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey
Line 291: Line 291:
 In addition to being used with the MPIDE, the Max32 board can be used as a more traditional microcontroller  development board using Microchip Development Tools. In addition to being used with the MPIDE, the Max32 board can be used as a more traditional microcontroller  development board using Microchip Development Tools.
  
-Unloaded connector J11 on the left side of the board is used to connect to a licensed Microchip development tool, such as the chipKIT PGM or the PICkit™3. The holes for JP3 are staggered so that a standard 100-mil-spaced 6-pin header can be press fit to the board without the need to solder it in place. Any Microchip development tool that supports the PIC32 microcontroller family, and can be connected via the same 6-pin interface as the PICkit3, can be used. [[http://forum.digilentinc.com/index.php?/topic/33-max32-stability-issues-with-pickit3/|Additional considerations from user danmcb]]+Unloaded connector J11 on the left side of the board is used to connect to a licensed Microchip development tool, such as the chipKIT PGM or the PICkit™3. The holes for JP3 are staggered so that a standard 100-mil-spaced 6-pin header can be press fit to the board without the need to solder it in place. Any Microchip development tool that supports the PIC32 microcontroller family, and can be connected via the same 6-pin interface as the PICkit3, can be used. [[http://forum.digilent.com/index.php?/topic/33-max32-stability-issues-with-pickit3/|Additional considerations from user danmcb]]
  
 {{ :chipkit_max32:bl_programmer.jpg?nolink&300|}}Typically, a right-angle male connector is used in J11 so that the programmer can be attached co-planar with the Max32 board. Whichever way the right-angle connector is loaded, be sure to match pin 1 on the programmer's connector with pin 1 (square solder pad) on J11. Connecting the programmer incorrectly may cause damage to the PIC32 microcontroller or programmer. When using the PGM or the PICkit™3, there is a small white arrow indicating pin 1. {{ :chipkit_max32:bl_programmer.jpg?nolink&300|}}Typically, a right-angle male connector is used in J11 so that the programmer can be attached co-planar with the Max32 board. Whichever way the right-angle connector is loaded, be sure to match pin 1 on the programmer's connector with pin 1 (square solder pad) on J11. Connecting the programmer incorrectly may cause damage to the PIC32 microcontroller or programmer. When using the PGM or the PICkit™3, there is a small white arrow indicating pin 1.
Line 305: Line 305:
 ====== 4 Reloading the MPIDE bootloader ====== ====== 4 Reloading the MPIDE bootloader ======
  
-Using the Microchip development tools to program the Max32 board will cause the boot loader to be erased. To use the board with the MPIDE again, it is necessary to program the boot loader back onto the board. The boot loader source code and compiled image can be found in the MPIDE software download. You may also download it from the Max32 product page [[http://store.digilentinc.com/chipkit-max32-microcontroller-board-with-mega-r3-headers/|here]]. Once you have the boot loader .hex file, complete the following steps to reload the boot loader to the PIC32 microcontroller using MPLAB® X.+Using the Microchip development tools to program the Max32 board will cause the boot loader to be erased. To use the board with the MPIDE again, it is necessary to program the boot loader back onto the board. The boot loader source code and compiled image can be found in the MPIDE software download. Once you have the boot loader .hex file, complete the following steps to reload the boot loader to the PIC32 microcontroller using MPLAB® X.
   - Open MPLAB X. Click on "File", highlight "Import", and then click "HEX/ELF...(Prebuilt) File"{{ :chipkit_max32:bl_import.png?nolink |}}   - Open MPLAB X. Click on "File", highlight "Import", and then click "HEX/ELF...(Prebuilt) File"{{ :chipkit_max32:bl_import.png?nolink |}}
   - Click on "Browse"and search for the arduino-bootloader.X.Max32.hex file you downloaded from the webpage. (If you have more than one board from the chipKIT family, it may be helpful to store all of your applicable boot loaders in one common file.)   - Click on "Browse"and search for the arduino-bootloader.X.Max32.hex file you downloaded from the webpage. (If you have more than one board from the chipKIT family, it may be helpful to store all of your applicable boot loaders in one common file.)
Line 626: Line 626:
  
 === Is there anything that needs to be considered when using the delay function the chipKIT Max32?=== === Is there anything that needs to be considered when using the delay function the chipKIT Max32?===
-Please see an interesting post from Digilent forum member EigenFunctions on the delay funtion: [[https://forum.digilentinc.com/index.php?/topic/246-chipkit-max32-delay-functions/]]+Please see an interesting post from Digilent forum member EigenFunctions on the delay funtion: [[https://forum.digilent.com/index.php?/topic/246-chipkit-max32-delay-functions/]]