---+ Raspberry Pi Interface to Cosmac Elf %TOC% ---++ elf2bin Utility Copies the Elf (Membership Card) memory to a binary file on the Raspberry Pi. The Raspberry Pi GPIO is used as interface to the Cosmac Elf SBC (e.g. Elf Membership Card parallel port). <verbatim> cc -o elf2bin -lwiringPi elf2bin.c ./elf2bin -s 0 -e ff | hexdump -C 00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 00000100 </verbatim> ---++ bin2elf Utility https://pinout.xyz/# http://hex2bin.sourceforge.net/ hexdump /dev/null ---++ Tools * elf -i load|run|wait|reset|write|get|put ---++ wiringPi * http://wiringpi.com/the-gpio-utility/ * http://raspberrypiguide.de/howtos/raspberry-pi-gpio-how-to/ | *Pi Pin#* | *Pi Function* | *Elf Pin DSUB J2* | *POWER P4* | *Elf Function* | | 1 | 3.3 V | (18) | (3) | (VIN, +) | | 2 | 5 V | (18) | 3 | VIN, + | | 3 | BCM 2, SDA | | | | | 4 | 5 V | | | | | 5 | BCM 3, SCL | | | | | 6 | GND | (19) | 1 | GND, - | | 7 | BCM 4 | 1, in | | IN- | | 8 | BCM 14, TXD | (20) | 4, in | RXD, RX | | 9 | GND | 21 | 6 | GND, /ON | | 10 | BCM 15, RXD | (15) | 5, out, Cathode | TXD, TX | | 11 | BCM 17 | 14, in | | WAIT- | | 12 | BCM 18 | 16, in | | CLR- | | 13 | BCM 27 | 17, in | | WE- | | 14 | GND | | | | | 15 | BCM 22 | 2, in | | IN0 | | 16 | BCM 23 | 3, in | | IN1 | | 17 | 3.3 V | | | | | 18 | BCM 24 | 4, in | | IN2 | | 19 | BCM 10, MOSI | 5, in | | IN3 | | 20 | GND | | | | | 21 | BCM 9, MISO | 6, in | | IN4 | | 22 | BCM 25 | 7, in | | IN5 | | 23 | BCM 11,SCLK | 8, in | | IN6 | | 24 | BCM 8, CE0 | 9, in | | IN7 | | 25 | GND | | | | | 26 | BCM 7, CE1 | 25, out, Cathode | | O0 (*) | | 27 | BCM 0 | | | | | 28 | BCM 1 | | | | | 29 | BCM 5 | 24, out, Cathode | | O1 (*) | | 30 | GND | | | | | 31 | BCM 6 | 23, out, Cathode | | O2 (*) | | 32 | BCM 12 | 22, out, Cathode | | O3 (*) | | 33 | BCM 13 | 13, out, Cathode | | O4 (*) | | 34 | GND | | | | | 35 | BCM 18 | 12, out, Cathode | | O5 (*) | | 36 | BCM 16 | 11, out, Cathode | | O6 (*) | | 37 | BCM 26 | 10, out, Cathode | | O7 (*) | | 38 | BCM 20 | | | | | 39 | GND | | | | | 40 | BCM 21 | | | | -- %USERSIG{PeterSchmid - 2017-11-26}% ---++ Comments %COMMENT% * gpio-numbers-pi2.png: <br /> <img src="%ATTACHURLPATH%/gpio-numbers-pi2.png" alt="gpio-numbers-pi2.png" width="1498" height="446" />
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
gpio-numbers-pi2.png
r1
manage
53.2 K
2017-11-26 - 18:46
PeterSchmid
This topic: Cosmac
>
WebHome
>
RaspiElf
Topic revision: r8 - 2017-12-08 - PeterSchmid
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback