4.3.6 Microchip PIC32MZ
[Platforms module]

The Microchip PIC32MZ module is described through the following subsections:

Building for a PIC32MZ Starter kit [link] 

make CONF=examples/hello/config BUILD=pic32-stkmzec:ihex TARGET_EXT=hex

Use of Microchip PICkit 2 [link] 

Programming with MPLAB IPE [link] 

Select your .hex file and simply start a programmation.

Debugging with EJTAGPROXY [link] 

Launch ejtagproxy and connect a GDB on port 2000.

Use of JLink v9 probe [link] 

Programming a PIC32MZ2048ECH144 with JLinEXE [link] 

JLinkExe -if jtag -device PIC32MZ2048ECH144 -speed 8000

On JLink prompt:

erase
loadfile hello-pic32-mips32el.hex
r
g
q

Debugging with JLinkGDBServer [link] 

Launch JLinkGDBServer and connect a GDB on port 2331.

Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:05 2022 using MkDoc