Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tools:pic32prog [2015/03/07 12:42]
darron [PIC32Prog]
tools:pic32prog [2016/02/17 04:45] (current)
darron [Install]
Line 1: Line 1:
 ==== PIC32Prog ==== ==== PIC32Prog ====
 +
 +<wrap right>
 +{{:tools:pic32prog-57600.jpg?200}}
 +</wrap>
  
 PIC32Prog programs PIC32 controllers via a number of back-ends on a variety PIC32Prog programs PIC32 controllers via a number of back-ends on a variety
Line 5: Line 9:
  
 The version of PIC32Prog available from GitHub is compatible The version of PIC32Prog available from GitHub is compatible
-with [[:projects:nanu-nanu|Nanu Nanu]] at 115200 baud. Soon it will support user-defined bit rates to allow 57600 baud operation.+with [[:projects:nanu-nanu|Nanu Nanu]] at 115200 and 57600 baud. 
 === Install === === Install ===
  
 <code> <code>
-apt-get install libusb-1.0-0-dev                                                        +apt-get install libusb-dev libusb-1.0-0-dev libudev-dev
-apt-get install libudev-dev  +
 git clone https://github.com/sergev/pic32prog.git git clone https://github.com/sergev/pic32prog.git
-cd pic32prog.git +cd pic32prog
-sed -i 's/ludev/ludev -lrt/' makefile+
 make make
 make install make install
 </code> </code>
  
 +=== Usage ===
 +In this example we program the [[:projects:ape65|Ape65]] MX150 firmware with a [[:boards:nano|Nano 3.0]] clone running [[:projects:nanu-nanu|Nanu Nanu]] (see photo).
 +
 +<code>
 +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
 +</code>