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
projects:nanu-nanu [2015/02/09 16:57]
darron [Install]
projects:nanu-nanu [2017/02/20 01:53] (current)
darron [Credits and thanks]
Line 14: Line 14:
 </wrap> </wrap>
  
-Nanu nanu is Microchip PIC32MX ICSP for the Arduino.+This is Microchip PIC32 ICSP (in circuit serial programmer) for AVR micro-controllers. Nanu nanu allows an AVR to program the flash on a PIC32
  
 It has been developed specifically for [[:boards:nano|Arduino Nano 3.0]] clones with CH340G UARTs and [[:boards:mini|Arduino Pro Mini]] clones but will work with any AVR based Arduino clone such as the [[:boards:rkat28sb|RKAT28sb]]. It has been developed specifically for [[:boards:nano|Arduino Nano 3.0]] clones with CH340G UARTs and [[:boards:mini|Arduino Pro Mini]] clones but will work with any AVR based Arduino clone such as the [[:boards:rkat28sb|RKAT28sb]].
Line 23: Line 23:
 Nanu nanu is licensed under same terms as [[:projects:pickle|Pickle Microchip PIC ICSP]] which is the source of the software used to create this project. The Pickle [[:projects:pickle:licence|LICENCE]] is found here. This licence details the rights and liabilities of using  the  application and it should be especially understood that I, the  author,  will not accept any responsibility for any side effects of  running it.  Do not download and use this firmware unless you are willing  to accept  the consequences of it failing for any reason. Nanu nanu is licensed under same terms as [[:projects:pickle|Pickle Microchip PIC ICSP]] which is the source of the software used to create this project. The Pickle [[:projects:pickle:licence|LICENCE]] is found here. This licence details the rights and liabilities of using  the  application and it should be especially understood that I, the  author,  will not accept any responsibility for any side effects of  running it.  Do not download and use this firmware unless you are willing  to accept  the consequences of it failing for any reason.
  
-=== Credits and Thanks ===+=== Credits and thanks ===
  
-This software was written by Darron M Broad and is an adaptation of [[:projects:pickle|Pickle Microchip PIC ICSP]].+This software was written by Darron M Broad in December 2014 and is an adaptation of [[:projects:pickle|Pickle Microchip PIC ICSP]].
  
-This project was inspired by the retrobsd forum post by R. Rozee.+This project was inspired by retrobsd forum post by Robert Rozee where it was  used to demonstrate programming a PIC32 using ICSP with pic32prog.
  
 === Install === === Install ===
Line 57: Line 57:
 NB. If you have a Pro Mini at 5V with a 16M XTAL, you would use 5V-16M.mk. NB. If you have a Pro Mini at 5V with a 16M XTAL, you would use 5V-16M.mk.
  
-=== Setup ===+=== Set up ===
  
 The PIC32 target is a 3V3 only device but can have 5V tolerant ICSP, but many do not. You must familiarise yourself with the target PIC before proceeding, for example, the following schematics do not go into fine detail about wiring. The PIC32 target is a 3V3 only device but can have 5V tolerant ICSP, but many do not. You must familiarise yourself with the target PIC before proceeding, for example, the following schematics do not go into fine detail about wiring.
Line 63: Line 63:
 For 3V3 arduino devices we use a source mode of operation and for 5V devices we use a sink mode when programming the PIC. For 3V3 arduino devices we use a source mode of operation and for 5V devices we use a sink mode when programming the PIC.
  
-Source or sink mode is selected the make file. Only change this setting if you know what you are doing and likewise, do not run a 3V3 device at 5V.+Source or sink mode is selected in the make file. Only change this setting if you know what you are doing and likewise, do not run a 3V3 device at 5V.
  
 <wrap left> <wrap left>
Line 74: Line 74:
  
 This speed is not the speed of the boot loader, but now refers to the speed of the programmer. For devices with 8 MHz XTALs only 57600 is reliable and supported. This speed is not the speed of the boot loader, but now refers to the speed of the programmer. For devices with 8 MHz XTALs only 57600 is reliable and supported.
 +
 +Nanu Nanu is also compatible with [[:tools:pic32prog|PIC32Prog]]. This is an alternative to using `pload'.
  
 Regarding the source mode schematic, a BAT42 diode has been tested and works fine. A 1N4148 may also work here. Regarding the source mode schematic, a BAT42 diode has been tested and works fine. A 1N4148 may also work here.
Line 109: Line 111:
  
 When verifying the LED will blink slowly. When verifying the LED will blink slowly.
 +
 +=== Resources ===
 +
 +[[:tools:pic32prog|PIC32Prog]]