Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:pickle [2017/03/14 11:43]
darron [Tested PICMicro devices]
projects:pickle [2019/01/09 16:57]
darron [Tested PICMicro devices]
Line 29: Line 29:
 There is also support for programming the new PIC32MM 32-bit PICMicros. Currently the programming method used is slow and high speed programming with the programming executive is not available at this time. There is also support for programming the new PIC32MM 32-bit PICMicros. Currently the programming method used is slow and high speed programming with the programming executive is not available at this time.
  
-In the pickle repository support has been added for dual-partition mode on dsPIC/PIC24 devices. The dsPIC33EP64GS502 and dsPIC33EP128GS702 have been tested and PIC24 devices await testing. A boot swap LED demo exists in the pickles (pickle support) repository to demonstrate this feature on both the dsPIC33EP64GS502 and dsPIC33EP128GS702.+Support has also been added for dual-partition mode on dsPIC/PIC24 devices. The dsPIC33EP64GS502 and dsPIC33EP128GS702 have been tested and PIC24 devices await testing. A boot swap LED demo exists in the pickles (pickle support) repository to demonstrate this feature on both the dsPIC33EP64GS502 and dsPIC33EP128GS702.
  
 ~~UP~~ ~~UP~~
Line 69: Line 69:
 Special thanks go to Steve Marchant who made a contribution which has been used to acquire an Orange Pi computer. Evaluation of the Orange Pi has proven its full support in pickle. Good luck Steve. Special thanks go to Steve Marchant who made a contribution which has been used to acquire an Orange Pi computer. Evaluation of the Orange Pi has proven its full support in pickle. Good luck Steve.
  
-Jim Gregory has reported great success with this program using [[projects:gpio-bb|gpio-bb]] on an Orange Pi, thanks for your feedback and good luck with your many experiments.+Jim Gregory has reported great success with this program using [[projects:gpio-bb|gpio-bb]] on an Orange Pi. Jim also solved a bug with the Pi3 which by default swaps the UARTs which broke the ALT release function on this device. Thank you Jim for your help and feedbackand good luck with your many experiments. 
  
-Lastly, thank you to Microchip for creating these versatile micro-controllers and also for their sample program which has supplied a  third of the available and tested devices.+Lastly, thank you to Microchip for creating these versatile micro-controllers and also for their sample program which has supplied a number of the tested and supported devices.
  
 ~~UP~~ ~~UP~~
Line 87: Line 87:
     - GPIO bit-bang driver for Linux direct to breadboard.     - GPIO bit-bang driver for Linux direct to breadboard.
     - The AllWinner A20/H2+/H3 GPIO interface direct to breadboard for Banana and Orange Pi.     - The AllWinner A20/H2+/H3 GPIO interface direct to breadboard for Banana and Orange Pi.
-    - FTDI bit-bang driver for Linux.+    - FTDI bit-bang for Linux
 +    - MCP2221 bit-bang GPIO. 
 +    - CP2104 bit-bang GPIO.
  
 == POSIX RS-232 == == POSIX RS-232 ==
Line 119: Line 121:
 See [[:boards:bpi|BPi]] or [[:boards:opi0|OPi0]] for a direct GPIO connection to a PICMicro on a breadboard. See [[:boards:bpi|BPi]] or [[:boards:opi0|OPi0]] for a direct GPIO connection to a PICMicro on a breadboard.
  
-== FTDI bit-bang ==+== FTDI bit-bang for Linux ==
  
-This utilises the FTDI library in Linux to bit bang the pins on a FTDI break out board. This uses an accelerated I/O mode and has only been tested to work with 8-bit PICMicros such as the PIC16 and PIC18 in LVP mode of operation.+This utilises the FTDI library in Linux to bit bang the pins on a FTDI break out board. This uses an accelerated I/O mode and has been tested to work with PICMicros in the LVP mode of operation
 + 
 +== MCP2221 bit-bang GPIO for Linux == 
 + 
 +Using the Linux USB HID the MCP2221 can program LVP PICMicros via bit-banging its GPIOs. 
 + 
 +== CP2101 bit-bang GPIO for Linux == 
 + 
 +Tested with CP210x_VCP_Linux_3.13.
  
 == Interface status == == Interface status ==
Line 233: Line 243:
 |Y |PIC16F1936 |Darron Broad |  |9 |N |5 |VPP 9V. | | |Y |PIC16F1936 |Darron Broad |  |9 |N |5 |VPP 9V. | |
 |Y |PIC16F1847 |Darron Broad |  |9 |N |5 |VPP 9V. | | |Y |PIC16F1847 |Darron Broad |  |9 |N |5 |VPP 9V. | |
-|Y |PIC18F25K50 |Darron Broad |  |9 |N |5 |VPP 9V. | |+|Y |PIC18F25K50 |Darron Broad |  |9 |N |5 | | |
 |Y |PIC18F14K50 |Darron Broad |  |9 |5 |N |Incompatible (PGC/PGD 3V3 limit). | | |Y |PIC18F14K50 |Darron Broad |  |9 |5 |N |Incompatible (PGC/PGD 3V3 limit). | |
 |Y |PIC18LF27J53 |Darron Broad |  |N |N |3V3 |Incompatible (architecture). | | |Y |PIC18LF27J53 |Darron Broad |  |N |N |3V3 |Incompatible (architecture). | |
Line 293: Line 303:
 |Y |dsPIC33EV256GM102 |Darron Broad |  |N |N |5 |VPP 5V. ICSP only. | | |Y |dsPIC33EV256GM102 |Darron Broad |  |N |N |5 |VPP 5V. ICSP only. | |
 |Y |PIC16F18346 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. | | |Y |PIC16F18346 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. | |
-|Y |PIC16F15355 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. |New algorithm.| +|Y |PIC16F15355 |Darron Broad |  |9 |N |5 |VPP 9V. |New algorithm.| 
-|Y |PIC18F26K40 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. |New algorithm.|+|Y |PIC18F26K40 |Darron Broad |  |9 |N |5 |VPP 9V. |New algorithm.|
 |Y |PIC16F18875 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. |New algorithm.| |Y |PIC16F18875 |Darron Broad |  |9 |N |5 |VPP 9V. not tested. |New algorithm.|
 |Y |dsPIC33EP64GS502 |Darron Broad | |N |N |3V3 |Incompatible (architecture). | | |Y |dsPIC33EP64GS502 |Darron Broad | |N |N |3V3 |Incompatible (architecture). | |
Line 317: Line 327:
 |N |PIC16F1571 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. | | |N |PIC16F1571 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. | |
 |N |PIC16F1572 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. | | |N |PIC16F1572 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. | |
-|N |PIC18F25K42 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. |New algorithm.|+|N |PIC18F25K42 |Darron Broad |  |9 |N |5V |VPP 9V.|New algorithm.|
 |N |PIC18F26J50 |Darron Broad |  |N |N |3V3 |Incompatible (architecture). | | |N |PIC18F26J50 |Darron Broad |  |N |N |3V3 |Incompatible (architecture). | |
 +|N |PIC16F19156 |Darron Broad |  |9 |N |5 |VPP 9V. |New algorithm.|
 +|N |PIC18F26K42 |Darron Broad |  |9 |N |5 |VPP 9V. |New algorithm.|
 +|N |PIC16F18446 |Darron Broad |  |9 |N |5 |VPP 9V. Use 14P socket. |New algorithm.|
 +|N |PIC18F25Q10 |Darron Broad |  |9 |N |5 |VPP 9V. |New algorithm.|
 ^Test code ^Device name ^Added by ^Tested by ^HVP ^LVP(PGM) ^LVP(KEY) ^Velleman K8048 ^Comments | ^Test code ^Device name ^Added by ^Tested by ^HVP ^LVP(PGM) ^LVP(KEY) ^Velleman K8048 ^Comments |
  
Line 325: Line 339:
 === Installation === === Installation ===
  
-Download the latest archive file [[http://wiki.kewl.org/downloads/pickle-4.0f.tar.gz|pickle-4.0f.tar.gz]] then decompress and extract the application source code from the archive. Once you perform   `sudo make install', the application will be ready for use.+Download the latest archive file [[http://wiki.kewl.org/downloads/pickle-4.1c.tar.gz|pickle-4.1c.tar.gz]] then decompress and extract the application source code from the archive. Once you perform   `sudo make install', the application will be ready for use.
  
 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 now available only for RPi with Raspbian Jessie [[http://wiki.kewl.org/downloads/pickle-4.0f-raspbian-jessie.tgz|pickle-4.0f-raspbian-jessie.tgz]]. This pre-built binary must be extracted as root into /opt/pickle.+A binary build is now available only for RPi with Raspbian Jessie [[http://wiki.kewl.org/downloads/pickle-4.1c-raspbian-jessie.tgz|pickle-4.1c-raspbian-jessie.tgz]]. This pre-built binary must be extracted as root into /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 341: Line 355:
 rehash rehash
 cd /root cd /root
-fetch "http://wiki.kewl.org/downloads/pickle-4.0f.tar.gz" +fetch "http://wiki.kewl.org/downloads/pickle-4.1c.tar.gz" 
-tar zxf pickle-4.0f.tar.gz+tar zxf pickle-4.1c.tar.gz
 cd pickle cd pickle
 gmake gmake
Line 351: Line 365:
  
 <code> <code>
-wget "http://wiki.kewl.org/downloads/pickle-4.0f.tar.gz" +wget "http://wiki.kewl.org/downloads/pickle-4.1c.tar.gz" 
-tar zxf pickle-4.0f.tar.gz+tar zxf pickle-4.1c.tar.gz
 cd pickle cd pickle
 gnumake gnumake
Line 361: Line 375:
  
 <code> <code>
-wget "http://wiki.kewl.org/downloads/pickle-4.0f.tar.gz" +wget "http://wiki.kewl.org/downloads/pickle-4.1c.tar.gz" 
-tar zxf pickle-4.0f.tar.gz+tar zxf pickle-4.1c.tar.gz
 cd pickle cd pickle
 make make