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:mindy [2015/03/25 01:52]
darron [Install]
projects:mindy [2017/01/12 22:44] (current)
Line 6: Line 6:
 </wrap> </wrap>
  
-Mindy is a port of [[:projects:mork|Mork]] which in turn is an adaptation of [[:projects:nanu-nanu|Nanu nanu]] Microchip PIC ICSP. This time Mindy is for PIC32 based boards such as the [[:boards:chipkitpi|chipKITPi]] and the [[:boards:sdxl|SDXL]].+This is a Microchip PIC32 ICSP (in circuit serial programmer) for PIC32 micro-controllers. Mindy allows a PIC32 to program the flash on a PIC32.  
 + 
 +Mindy is a port of [[:projects:mork|Mork]] which in turn is an adaptation of [[:projects:nanu-nanu|Nanu nanu]] Microchip PIC32MX ICSP. This time Mindy is for PIC32 based boards such as the [[:boards:chipkitpi|chipKIT Pi]] and the [[:boards:sdxl|SDXL]].
  
  
Line 13: Line 15:
 Mork 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. Mork 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 ===+=== 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 and is an adaptation of [[:projects:pickle|Pickle Microchip PIC ICSP]].
  
 +Thanks go to Alan Ott and Signal 11 software who wrote m-stack, the PIC micro USB stack used by this application.
  
 === Install === === Install ===
  
 +First install the [[:tools:xc32|MPIDE]] compiler.
 +
 +Fetch the source and build.
 <code> <code>
 hg clone http://hg.kewl.org/pub/Mindy hg clone http://hg.kewl.org/pub/Mindy
Line 25: Line 31:
 make make
 </code> </code>
 +
 +If you have a [[:boards:chipkitpi|chipKIT Pi]], you can program the firmware like this. Remember to enter bootload mode with the buttons.
  
 <code> <code>
Line 30: Line 38:
 </code> </code>
  
 +For the MX270 on the [[:boards:chipkitpi|chipKIT Pi]], it's almost the same.
 +<code>
 +make -f Makefile.mx270_ckpi program
 +</code>
 +
 +If you have a [[:boards:sdxl|SDXL]] do this.
 <code> <code>
 make -f Makefile.sdxl program make -f Makefile.sdxl program
 </code> </code>
 +
 +If the above fail to install, then you probably need [[:projects:pickle|Pickle]] for the loader utility. If you prefer, you can use [[:tools:pic32prog|PIC32Prog]] and just select the correct hex file and interface.
 +=== Set up ===
 +For the [[:boards:chipkitpi|chipKIT Pi]] the connections are as follows.
 +
 +{{:projects:mindy.png?200|}}
 +
 +On the SDXL, RB0 (A10) = PGC, RB1 (A11) = VPP, RB2 (A12) = PGD
  
 === Program === === Program ===
  
 +In this example, [[:tools:pic32prog|PIC32Prog]] is used to program a chip. This application also works in Windows if necessary.
 <code> <code>
 pic32prog -S -d /dev/ttyACM0 mx150.hex pic32prog -S -d /dev/ttyACM0 mx150.hex
Line 53: Line 76:
  
 === Verify === === Verify ===
 +
 +Similar to programming before, but now just to verify.
  
 <code> <code>