Differences
This shows you the differences between two versions of the page.
projects:pickle [2020/08/06 17:48] – external edit 127.0.0.1 | projects:pickle [2024/07/10 12:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 58: | Line 58: | ||
^Device^Description^Speed^Data^ | ^Device^Description^Speed^Data^ | ||
- | |[[projects: | + | |[[projects: |
|[[projects: | |[[projects: | ||
|[[projects: | |[[projects: | ||
Line 67: | Line 67: | ||
|[[projects: | |[[projects: | ||
|[[projects: | |[[projects: | ||
- | |[[projects: | + | |SYSFSGPIO|Linux SYSFS|Slow|Single data I/O| |
+ | |[[projects: | ||
|[[projects: | |[[projects: | ||
+ | |||
+ | (1) Memory mapped I/O on BPI can cause a lock-up on latest kernels. Use GPIO-BB instead.\\ | ||
+ | (2) Board auto-detect does not work with newer Kernels. | ||
<wrap right> | <wrap right> | ||
Line 265: | Line 269: | ||
=== Installation === | === Installation === | ||
- | Download the latest archive file [[http:// | + | Download the latest archive file {{downloads: |
Decompress and extract the application source code from the archive. Perform `sudo make && sudo make install', | Decompress and extract the application source code from the archive. Perform `sudo make && sudo make install', | ||
Line 271: | Line 275: | ||
This has been tested on FreeBSD 5 and 6 yet should work on all FreeBSD variants and other BSD derived systems. It has also been test to work in Linux 2.6 but only compiled for 2.4. | This has been tested on FreeBSD 5 and 6 yet should work on all FreeBSD variants and other BSD derived systems. It has also been test to work in Linux 2.6 but only compiled for 2.4. | ||
- | A binary build is available for the RPi [[http:// | + | A binary build is available for the RPi {{downloads:pickle-5.02-pi.tgz|pickle-5.02-pi.tgz}}. This pre-built binary must be extracted as root into / as /opt/pickle/. |
Here are some sample sessions obtaining the source of the application and then compiling and installing it. | Here are some sample sessions obtaining the source of the application and then compiling and installing it. | ||
Line 285: | Line 289: | ||
rehash | rehash | ||
cd /root | cd /root | ||
- | fetch "http:// | + | fetch "https:// |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz | ||
cd pickle | cd pickle | ||
Line 295: | Line 299: | ||
< | < | ||
- | wget "http:// | + | wget "https:// |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz | ||
cd pickle | cd pickle | ||
Line 305: | Line 309: | ||
< | < | ||
- | wget "http:// | + | wget "https:// |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz | ||
cd pickle | cd pickle | ||
- | make k8048 | + | make cygwin |
- | make k8048-install | + | make cygwin-install |
cd ~ | cd ~ | ||
vi .pickle | vi .pickle | ||
Line 707: | Line 711: | ||
< | < | ||
- | DEVICE=RPI | + | DEVICE=RPI1 |
SLEEP=1 | SLEEP=1 | ||
BITRULES=0x1000 | BITRULES=0x1000 | ||
Line 720: | Line 724: | ||
< | < | ||
- | DEVICE=RPI4 | + | DEVICE=RPI # AUTO-DETECT |
SLEEP=1 | SLEEP=1 | ||
BITRULES=0x1000 | BITRULES=0x1000 | ||
Line 1401: | Line 1405: | ||
ptest VPP|PGC|PGD|PGM 5 | ptest VPP|PGC|PGD|PGM 5 | ||
VPP, PGC, PGD or PGM LOW-> | VPP, PGC, PGD or PGM LOW-> | ||
- | | + | |
PGD input test with 10 iterations of 1 second per step. | PGD input test with 10 iterations of 1 second per step. | ||
- | | + | |
D-SUB-9 test with 10 seconds per step. | D-SUB-9 test with 10 seconds per step. | ||
- | | + | |
ICSP test with 10 seconds per step. | ICSP test with 10 seconds per step. | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | ptest 3 100 | + | |
- | D-SUB-9 RTS 7 (PGC) DTR 4 (PGD) test with 100 microseconds | + | |
- | | + | |
- | | + | ICSPIO test with 100us clock mark time. |
- | | + | |
- | ICSPIO test with 100 microseconds | + | |
- | | + | |
RPI GPIO test with 10 seconds mark time. | RPI GPIO test with 10 seconds mark time. | ||
+ | ptest ALLWINNER 10 | ||
+ | BPI/OPI GPIO test with 10 seconds mark time. | ||
VERSION: | VERSION: | ||
- | 5.0 | + | 5.01 |
</ | </ | ||
Line 1460: | Line 1464: | ||
== PIC16F627 debug assembly test mode == | == PIC16F627 debug assembly test mode == | ||
< | < | ||
- | ptest 4 100 | + | ptest 16f627 |
- | TEST MODE 4 [16F627 debug.asm] CTRL-C TO STOP | + | TEST 16F627 debug.asm |
io_test4: read byte: 02 . | io_test4: read byte: 02 . |