mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Double bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode selection pin has been sampled.
This commit is contained in:
parent
6d256c5109
commit
5227ca4ce2
@ -18,6 +18,7 @@
|
|||||||
* - Webserver project now uses the board LEDs to indicate the current IP configuration state
|
* - Webserver project now uses the board LEDs to indicate the current IP configuration state
|
||||||
* - Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired
|
* - Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired
|
||||||
* - Increased throughput of the USBtoSerial demo on systems that send multiple bytes per packet (thanks to Opendous Inc.)
|
* - Increased throughput of the USBtoSerial demo on systems that send multiple bytes per packet (thanks to Opendous Inc.)
|
||||||
|
* - Double bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode selection pin has been sampled.
|
||||||
*
|
*
|
||||||
* <b>Fixed:</b>
|
* <b>Fixed:</b>
|
||||||
* - Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin
|
* - Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin
|
||||||
|
@ -51,11 +51,11 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface =
|
|||||||
|
|
||||||
.DataINEndpointNumber = CDC_TX_EPNUM,
|
.DataINEndpointNumber = CDC_TX_EPNUM,
|
||||||
.DataINEndpointSize = CDC_TXRX_EPSIZE,
|
.DataINEndpointSize = CDC_TXRX_EPSIZE,
|
||||||
.DataINEndpointDoubleBank = false,
|
.DataINEndpointDoubleBank = true,
|
||||||
|
|
||||||
.DataOUTEndpointNumber = CDC_RX_EPNUM,
|
.DataOUTEndpointNumber = CDC_RX_EPNUM,
|
||||||
.DataOUTEndpointSize = CDC_TXRX_EPSIZE,
|
.DataOUTEndpointSize = CDC_TXRX_EPSIZE,
|
||||||
.DataOUTEndpointDoubleBank = false,
|
.DataOUTEndpointDoubleBank = true,
|
||||||
|
|
||||||
.NotificationEndpointNumber = CDC_NOTIFICATION_EPNUM,
|
.NotificationEndpointNumber = CDC_NOTIFICATION_EPNUM,
|
||||||
.NotificationEndpointSize = CDC_NOTIFICATION_EPSIZE,
|
.NotificationEndpointSize = CDC_NOTIFICATION_EPSIZE,
|
||||||
@ -169,6 +169,10 @@ void SetupHardware(void)
|
|||||||
|
|
||||||
/* Select the firmware mode based on the JTD pin's value */
|
/* Select the firmware mode based on the JTD pin's value */
|
||||||
CurrentFirmwareMode = (PINF & (1 << 7)) ? MODE_USART_BRIDGE : MODE_PDI_PROGRAMMER;
|
CurrentFirmwareMode = (PINF & (1 << 7)) ? MODE_USART_BRIDGE : MODE_PDI_PROGRAMMER;
|
||||||
|
|
||||||
|
/* Re-enable JTAG debugging */
|
||||||
|
MCUCR &= ~(1 << JTD);
|
||||||
|
MCUCR &= ~(1 << JTD);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Event handler for the library USB Configuration Changed event. */
|
/** Event handler for the library USB Configuration Changed event. */
|
||||||
|
Loading…
Reference in New Issue
Block a user