Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:winklepicker [2017/02/18 00:21] darronprojects:winklepicker [2019/09/09 16:16] (current) – [Operation] darron
Line 4: Line 4:
 </wrap> </wrap>
  
-Winklepicker Reset Controller is a reset controller for the [[:projects:oxford|Oxford]] and [[:projects:wellington|Wellington]] boot loaders. It works in conjunction with the [[:projects:easyloader|Easy-loader]] firmware upload utility.+Winklepicker Reset Controller is a RS232 BREAK detector using either a PIC12F1501 or PIC12F1571 microcontroller. 
 + 
 +It has been designed specifically for the [[:projects:cowboy|Cowboy]], [[:projects:oxford|Oxford]] and [[:projects:wellington|Wellington]] boot loaders and it works in conjunction with the [[:projects:easyloader|Easy-loader]] firmware upload utility.
 === Licence === === Licence ===
  
Line 11: Line 13:
 === Credits and Thanks === === Credits and Thanks ===
  
- Winklepicker Reset Controller is developed by Darron M Broad.+Winklepicker Reset Controller is developed by Darron M Broad.
  
 +=== Operation ===
  
 +Winklepicker monitors the serial Tx line between a host computer and a target device and will reset that device when a serial BREAK condition is detected.
  
-In operation, Winklepicker monitors the serial TxD line between the host computer and the boot loader target device and will reset the device when a serial BREAK condition is present.+This is used to enter the boot loader on the target, for firmware maintenance tasks.
  
-Two modes of operation are available with Winklepicker. In mode one, the target is reset after BREAK condition exists for ~50ms and taken out of reset when the break condition ends. In mode two, the target reset pin is connected to an input, Eg. RTS or DTR when pass-through mode is entered and disconnected when left. Pass-through mode is enabled when the input is low at the end of a break condition and disabled when the input is high at the end of a break condition.+Two modes of operation are available with Winklepicker. The mode is selected using a pin on the controller which is inspected at power-up.
  
-The first mode is the simplest and works with a large variety of UART devices, such as those pictured. The second mode is to allow more control of the reset pin (for example, with ICSP)Either mode is selected using a pin on the reset controller which is selected when the controller is reset.+==Mode 1== 
 + 
 +The target device is reset after a BREAK condition is sent from the host with a duration of ~50ms. The target is taken out of reset when the BREAK condition ends. 
 + 
 +This mode works with a large variety of UART devices which may only have Tx/Rx connectionssome devices can be seen in the picture above. 
 + 
 +==Mode 2== 
 + 
 +The RTS output of the host computer is routed to the target device reset input, under BREAK condition control. 
 + 
 +Routing is enabled when RTS is low during a BREAK condition and disabled when RTS is high during a BREAK condition. 
 + 
 +This mode can be used to simply reset the device or allow fine grained control of the reset pin for ICSP. It has also been designed to allow RTS to perform regular serial duties when not routed through to the target reset pin. 
 + 
 +=== Demonstration ===
  
 Here is an example configuration for the [[:projects:oxford|Oxford]] boot loader. Here is an example configuration for the [[:projects:oxford|Oxford]] boot loader.
Line 25: Line 43:
 {{:projects:winklepicker.png?200|Winklepicker}} {{:projects:winklepicker.png?200|Winklepicker}}
  
-Check-out+=== Checkout === 
 <code> <code>
-hg clone http://hg.kewl.org/pub/winklepicker/+hg clone http://hg.kewl.org/pub/winklepicker 
 +cd winklepicker 
 +make
 </code> </code>