DsPic-Raspberry programmer interface

From wwwelab
Jump to navigation Jump to search

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 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/...