This is an old revision of the document!


Table of Contents

PIC32Prog

USB ground on RPi

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 baud.

Soon PIC32Prog will support user-defined bit rates to allow 57600 baud operation.

Install

apt-get install libusb-1.0-0-dev                                                       
apt-get install libudev-dev  
git clone https://github.com/sergev/pic32prog.git
cd pic32prog.git
sed -i 's/ludev/ludev -lrt/' makefile
make
make install

Usage

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies