Change over AVRISP project to have both hardware USART and software USART modes for the PDI protocol, when enabled. Fix up PDI initialisation routines.
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
* <b><sup>2</sup></b> <i>See \ref SSec_Options section</i>
|
||||
*
|
||||
*
|
||||
* Connections to the device for PDI programming (when enabled):
|
||||
* Connections to the device for PDI programming<b><sup>1</sup></b> (when enabled):
|
||||
*
|
||||
* <table>
|
||||
* <tr>
|
||||
@@ -149,6 +149,9 @@
|
||||
* </tr>
|
||||
* </table>
|
||||
*
|
||||
* <b><sup>1</sup></b> When PDI_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together
|
||||
* via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.
|
||||
*
|
||||
* \section SSec_Options Project Options
|
||||
*
|
||||
* The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
|
||||
@@ -192,5 +195,11 @@
|
||||
* <td>Makefile CDEFS</td>
|
||||
* <td>Define to enable XMEGA PDI programming protocol support. <i>Ignored when compiled for the XPLAIN board.</i></td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td>PDI_VIA_HARDWARE_USART</td>
|
||||
* <td>Makefile CDEFS</td>
|
||||
* <td>Define to force the PDI protocol (when enabled) to use the hardware USART instead of bit-banging to match the official
|
||||
* AVRISP pinout. <i>Automatically set when compiled for the XPLAIN board.</i></td>
|
||||
* </tr>
|
||||
* </table>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user