Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:rpi [2015/02/15 13:17] – [Pickle Microchip PIC ICSP] darron | boards:rpi [2024/07/10 10:50] (current) – [Resources] darron | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{: | {{: | ||
\\ \\ | \\ \\ | ||
- | {{:boards:rpi2b.jpg?200|Flash proof}} | + | {{:boards:pi3-idle.jpg?200|Pi3 idle temperature}} |
</ | </ | ||
Line 14: | Line 14: | ||
+---P1---+ | +---P1---+ | ||
3V3 | 3V3 | ||
- | GPIO0/ | + | GPIO0/GPIO2/SDA 03 A/A+ 04 5V |
- | GPIO1/ | + | GPIO1/GPIO3/SCL 05 B/B+ 06 GND |
GPIO4 07 2 08 GPIO14/TX | GPIO4 07 2 08 GPIO14/TX | ||
GND | GND | ||
Line 22: | Line 22: | ||
GPIO22 | GPIO22 | ||
3V3 | 3V3 | ||
- | GPIO10 | + | GPIO10/MOSI 19 20 GND |
- | GPIO9 | + | GPIO9 /MISO 21 22 GPIO25 |
- | GPIO11 | + | GPIO11/SCLK 23 24 GPIO8/CE0 |
- | GND | + | GND |
EEPROM ID_SD 27 28 EEPROM ID_SC | EEPROM ID_SD 27 28 EEPROM ID_SC | ||
GPIO5 29 A+ 30 GND | GPIO5 29 A+ 30 GND | ||
Line 38: | Line 38: | ||
Ribbon cables may be used to extend the GPIOs. In this instance a female presentation will be given. | Ribbon cables may be used to extend the GPIOs. In this instance a female presentation will be given. | ||
- | For the older models, a 26-pin ribbon is needed, this is much like an old midi daughter-board cable. | + | For the older models, a 26-pin ribbon is needed. |
< | < | ||
_________________________________________ | _________________________________________ | ||
/ | / | ||
- | -----------------------------------------+ | + | +----------------------------------------+ |
| 7 8 25 0V 24 23 0V 18 15 14 0V 5V 5V | | | 7 8 25 0V 24 23 0V 18 15 14 0V 5V 5V | | ||
| | | | | | ||
Line 62: | Line 62: | ||
</ | </ | ||
=== Pickle Microchip PIC ICSP === | === Pickle Microchip PIC ICSP === | ||
+ | <wrap right> | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | </ | ||
- | Using the RPi GPIOs we can program PICMicros using [[projects: | + | Along with USB serial we can use the RPi GPIOs to program PICMicros using [[projects: |
+ | |||
+ | Memory mapped I/O can be used to drive the GPIOs, however, the [[projects: | ||
== High Voltage Programming with Vellman K8048 == | == High Voltage Programming with Vellman K8048 == | ||
- | [[:boards:rpi: | + | The RPi cannot interface directly with 5V PICMicros nor generate the high voltage required for high voltage ICSP and an interface is required for the GPIOs. |
+ | |||
+ | Here is an example for the [[:projects:k8048-rpi|Velleman K8048]]. Of course, this particular device can be interfaced using a USB serial port, however, this would be slower. | ||
== Low Voltage Programming with VPP at 3V3 == | == Low Voltage Programming with VPP at 3V3 == | ||
- | The following connections refer to the R-PI GPIO header | + | Low voltage ICSP at 3V3 can be performed |
- | Single common data I/O connection (RPI or GPIO bit-bang driver for R-PI & OpenWRT) | + | The following connections refer to the R-PI GPIO header. Ensure that power is only ever applied from GPIO 3V3 on PIN 1 and never 5V. |
+ | Single common data I/O connection (RPI or GPIO bit-bang driver) | ||
< | < | ||
- | | + | |
- | | + | |
| | ||
Line 95: | Line 105: | ||
(R2) 10K where appropriate (PGM is not present on all devices). | (R2) 10K where appropriate (PGM is not present on all devices). | ||
(R3..R6) 470R. | (R3..R6) 470R. | ||
+ | |||
+ | DEVICE=RPI | ||
+ | DEVICE=RPI0 | ||
+ | DEVICE=RPI1 | ||
+ | DEVICE=RPI2 | ||
+ | DEVICE=RPI3 | ||
+ | DEVICE=RPI4 | ||
</ | </ | ||
== Display LVP device identity without PGM == | == Display LVP device identity without PGM == | ||
+ | <wrap right> | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | </ | ||
+ | |||
< | < | ||
p16 lvp id | p16 lvp id | ||
Line 132: | Line 157: | ||
Total: 732 Fail: 0 | Total: 732 Fail: 0 | ||
</ | </ | ||
- | |||
=== Resources === | === Resources === | ||
- | [[http:// | + | [[http:// |
- | [[https:// | + | |