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
Last revision Both sides next revision
interfaces:pl2303 [2014/12/20 20:09]
darron
interfaces:pl2303 [2023/06/11 19:51]
darron [TTL cable]
Line 4: Line 4:
 \\ \\ \\ \\
 {{ :interfaces:16f648a.jpg?200}} {{ :interfaces:16f648a.jpg?200}}
 +\\ \\ 
 +{{ interfaces:ttl_cable.jpg?200}}
 </wrap> </wrap>
  
 This is a high speed USB UART. This is a high speed USB UART.
  
-=== Linux ====+=== Linux ===
  
 == udev /dev/ttyPL2303 == == udev /dev/ttyPL2303 ==
 +
 <code> <code>
-KERNEL=="ttyUSB*",ATTRS{idVendor}=="067b",ATTRS{idProduct}=="2303",+KERNEL=="ttyUSB*",
-        GROUP="dialout",MODE="0660",RUN+="/bin/ln -sf %k /dev/ttyPL2303"+    ATTRS{idVendor}=="067b",
 +    ATTRS{idProduct}=="2303",
 +    GROUP="dialout",
 +    MODE="0660",
 +    RUN+="/bin/ln -sf %k /dev/ttyPL2303"
 </code> </code>
  
 == udev by-id == == udev by-id ==
 +
 <code> <code>
 /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
 </code> </code>
-udev by-id is not supported by the k8048 Microchip PIC programmer. 
  
-=== k8048 Microchip PIC programmer ===+=== TTL cable === 
 + 
 +Wiring guide is the inverse of reality but no guarantee that this 
 +is consistent for all devices. 
 + 
 +<code> 
 +RED 5V 
 +BLACK GND 
 +GREEN RX (TARGET RX) 
 +WHITE TX (TARGET TX) 
 +</code> 
 + 
 +=== Pickle Microchip PIC ICSP ===
  
 == Velleman K8048 Configuration == == Velleman K8048 Configuration ==
 <code> <code>
-DEVICE=/dev/ttyUSB0+DEVICE=TTY 
 +IFACE=/dev/ttyUSB0
 SLEEP=600 SLEEP=600
 BITRULES=0x001F BITRULES=0x001F
 </code> </code>