Fix inverted bit-banged USART logic in the AVRISP project for PDI programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
This commit is contained in:
@@ -338,7 +338,7 @@
|
||||
*/
|
||||
static inline void Endpoint_SetEndpointDirection(uint8_t DirectionMask);
|
||||
#else
|
||||
#if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__)
|
||||
#if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
|
||||
#define Endpoint_BytesInEndpoint() UEBCX
|
||||
#elif defined(USB_SERIES_4_AVR)
|
||||
#define Endpoint_BytesInEndpoint() (((uint16_t)UEBCHX << 8) | UEBCLX)
|
||||
|
||||
Reference in New Issue
Block a user