PIC32Prog programs PIC32 controllers via a number of back-ends on a variety of platforms.
The version of PIC32Prog available from GitHub is compatible with Nanu Nanu at 115200 and 57600 baud.
apt-get install libusb-dev libusb-1.0-0-dev libudev-dev git clone https://github.com/sergev/pic32prog.git cd pic32prog make make install
In this example we program the Ape65 MX150 firmware with a Nano 3.0 clone running Nanu Nanu (see photo).
pic32prog -d /dev/ttyUSB0 mx150.hex Programmer for Microchip PIC32 microcontrollers, Version 2.0.833c15f Copyright: (C) 2011-2015 Serge Vakulenko Adapter: STK500v2 Bootloader Program area: 1d000000-1d07ffff Processor: Bootloader Flash memory: 512 kbytes Boot memory: 12 kbytes Data: 55492 bytes Erase: done Program flash: ######################################################### done Program boot: ### done Verify flash: ######################################################## done Verify boot: ## done Rate: 1457 bytes per second