Both sides previous revisionPrevious revisionNext revision | Previous revision |
projects:mindy [2015/03/25 01:50] – darron | projects:mindy [2017/01/12 22:44] (current) – external edit 127.0.0.1 |
---|
</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]]. |
| |
| |
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 === |
| |
To-do | First install the [[:tools:xc32|MPIDE]] compiler. |
| |
| Fetch the source and build. |
| <code> |
| hg clone http://hg.kewl.org/pub/Mindy |
| cd Mindy |
| make |
| </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> |
| make -f Makefile.mx250_ckpi program |
| </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> |
| make -f Makefile.sdxl program |
| </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 ~/Source/Ape65/mx150.hex | pic32prog -S -d /dev/ttyACM0 mx150.hex |
Programmer for Microchip PIC32 microcontrollers, Version 2.0.9986ac0 | Programmer for Microchip PIC32 microcontrollers, Version 2.0.9986ac0 |
Copyright: (C) 2011-2015 Serge Vakulenko | Copyright: (C) 2011-2015 Serge Vakulenko |
| |
=== Verify === | === Verify === |
| |
| Similar to programming before, but now just to verify. |
| |
<code> | <code> |
pic32prog -v -d /dev/ttyACM0 ~/Source/Ape65/mx150.hex | pic32prog -v -d /dev/ttyACM0 mx150.hex |
Programmer for Microchip PIC32 microcontrollers, Version 2.0.9986ac0 | Programmer for Microchip PIC32 microcontrollers, Version 2.0.9986ac0 |
Copyright: (C) 2011-2015 Serge Vakulenko | Copyright: (C) 2011-2015 Serge Vakulenko |