Differences

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

Link to this comparison view

Both sides previous revision Previous revision
projects:pickle [2018/03/17 22:10]
darron [Credits and thanks]
projects:pickle [2018/03/20 13:59] (current)
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 71: Line 71:
 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 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 feedback, and 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 319: Line 329:
 |N |PIC18F25K42 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. |New algorithm.| |N |PIC18F25K42 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. |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. not tested. |New algorithm.|
 +|N |PIC18F26K42 |Darron Broad |  |9 |N |5V |VPP 9V. not tested. |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 337:
 === 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 353:
 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 363:
  
 <​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 373:
  
 <​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