Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:mindy [2015/03/25 01:48] – darron | projects:mindy [2017/01/12 22:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
- | Mindy is a port of [[: | + | 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 [[: | ||
Line 13: | Line 15: | ||
Mork is licensed under same terms as [[: | Mork is licensed under same terms as [[: | ||
- | === Credits === | + | === Credits |
This software was written by Darron M Broad and is an adaptation of [[: | This software was written by Darron M Broad and is an adaptation of [[: | ||
+ | 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 [[: |
+ | |||
+ | Fetch the source and build. | ||
+ | < | ||
+ | hg clone http:// | ||
+ | cd Mindy | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | If you have a [[: | ||
+ | |||
+ | < | ||
+ | make -f Makefile.mx250_ckpi program | ||
+ | </ | ||
+ | |||
+ | For the MX270 on the [[: | ||
+ | < | ||
+ | make -f Makefile.mx270_ckpi program | ||
+ | </ | ||
+ | |||
+ | If you have a [[: | ||
+ | < | ||
+ | make -f Makefile.sdxl program | ||
+ | </ | ||
+ | |||
+ | If the above fail to install, then you probably need [[: | ||
+ | === Set up === | ||
+ | For the [[: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | On the SDXL, RB0 (A10) = PGC, RB1 (A11) = VPP, RB2 (A12) = PGD | ||
+ | |||
+ | === Program === | ||
+ | |||
+ | In this example, [[: | ||
+ | < | ||
+ | pic32prog -S -d / | ||
+ | Programmer for Microchip PIC32 microcontrollers, | ||
+ | Copyright: (C) 2011-2015 Serge Vakulenko | ||
+ | Adapter: STK500v2 Bootloader | ||
+ | | ||
+ | Processor: Bootloader | ||
+ | Flash memory: 512 kbytes | ||
+ | Boot memory: 12 kbytes | ||
+ | Data: 55500 bytes | ||
+ | Erase: done | ||
+ | Program flash: ######################################################### | ||
+ | | ||
+ | Rate: 23799 bytes per second | ||
+ | </ | ||
+ | |||
+ | === Verify === | ||
+ | |||
+ | Similar to programming before, but now just to verify. | ||
+ | |||
+ | < | ||
+ | pic32prog -v -d / | ||
+ | Programmer for Microchip PIC32 microcontrollers, | ||
+ | Copyright: (C) 2011-2015 Serge Vakulenko | ||
+ | Adapter: STK500v2 Bootloader | ||
+ | | ||
+ | Processor: Bootloader | ||
+ | Flash memory: 512 kbytes | ||
+ | Boot memory: 12 kbytes | ||
+ | Data: 55500 bytes | ||
+ | | ||
+ | Verify boot: ## done | ||
+ | Rate: 27165 bytes per second | ||
+ | </ |