Difference between revisions of "DsPic-Raspberry programmer interface"
Jump to navigation
Jump to search
| Line 16: | Line 16: | ||
| '''Cable | | '''Cable | ||
|- | |- | ||
| − | | 39 | + | | 39 |
| GND | | GND | ||
| GND | | GND | ||
| Line 23: | Line 23: | ||
| 37 | | 37 | ||
| GPIO26 | | GPIO26 | ||
| − | | TBD | + | | TBD - Function |
| Brown | | Brown | ||
|- | |- | ||
Revision as of 10:52, 13 May 2020
dsPic-Raspberry programmer interface
A general purpose interface consisting in two opto-couplers have been developed to program the dsPic micro-controllers directly from the Raspberry, allowing remote maintenance and reprogramming of each de-localized unit.
It as to be powered by 12 V (minimum voltage 10.5V - maximum voltage 13.5V) dsPic node unregulated Vcc and feed by the Raspberry GP_I/O, with a common digital ground.
Pin-out and connections
The following table describes the pin-out assembly of the opt-programmer developed to be used with picpgm software.
| Programmer pin-out | |||||
|---|---|---|---|---|---|
| Rasp I/O | Label | Programmer I/O | Cable | ||
| 39 | GND | GND | Blue/Wh | ||
| 37 | GPIO26 | TBD - Function | Brown | ||
| 35 | GPIO19 | TBD | Blue | ||
| 33 | GPIO13 | TBD | Green | ||
| 29 | GPIO05 | TBD | Brown/Wh | ||
| 03 | GPIO02 | TBD | Orange | ||
Software use
The picpgm software is hosted here and should be used with the following script:
A backup is also founded at elab1/...