Dean Camera
05ac59d0ee
Add new ReportType parameter to the HID class driver device callback and host report sending routines.
...
Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
15 years ago
Dean Camera
071e02c6b6
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera
a9e0935a90
Device mode class driver callbacks are now fired before the control request status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine.
...
Inlined currently unused MIDI ProcessControlRequest routine.
15 years ago
Dean Camera
842e219bf3
Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() function to the Device and Host CDC Class drivers.
15 years ago
Dean Camera
9c8bd6ed9b
Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects.
15 years ago
Dean Camera
c3db72afdc
Make CDC class bootloader hard-reset the AVR when exited instead of a soft-reset. Reduce size of the TeensyHID bootloader slightly.
...
Fix the TeensyHID bootloader for the larger USB AVR devices, since Paul uses a different (undocumented) addressing scheme on these devices.
15 years ago
Dean Camera
ab8668b14e
Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
15 years ago
Dean Camera
708a1c6166
Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
15 years ago
Dean Camera
e652cfac67
Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
15 years ago
Dean Camera
27f0ba6fc3
Fixed device state not being reset back to the default state if the host sets the address to 0x00.
...
Fixed Set Configuration requests not being stalled until the host has set the device's address.
Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
15 years ago
Dean Camera
eed7d4df6a
Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
15 years ago
Dean Camera
3d28d53c3e
Change AVRISP project's timeout to be interrupt based again, but make the interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code.
...
Removed the cast to uint16_t on the set baud rate in the USBtoSerial project, so that the higher >1M baud rates can be selected (thanks to Steffan).
15 years ago
Dean Camera
9cad677ebb
The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions are now inline, to reduce overhead.
15 years ago
Dean Camera
9e34144c9b
Use puts_P() and printf_P() instead of the normal variants where possible in the Host mode Class Driver demos.
15 years ago
Dean Camera
59c4871f80
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
15 years ago
Dean Camera
5993e1efe7
Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo.
...
Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR.
Factored out Bluetooth state information into a new state structure for easy reference in the user application.
Added new StackInitialized() Bluetooth stack callback function.
15 years ago
Dean Camera
8252b4febd
Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski).
...
Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
15 years ago
Dean Camera
3eb81df998
Rename FunctionAttributes.h to Attributes.h, as some attributes are applicable to variables also. Add new ATTR_NOINIT attribute for global variables.
...
Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo.
Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
15 years ago
Dean Camera
5e14c194c9
Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning a stall to the host.
...
Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
15 years ago
Dean Camera
7b79325aa0
Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code.
...
Added spacing between multiple paragraphs in Doxygen \note sections.
Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
15 years ago
Dean Camera
19ecd04f37
Removed invalid dfu and flip related targets from the bootloaders - bootloaders can only be replaced with an external programmer.
15 years ago
Dean Camera
ee74b4948f
Add information request/response signal handler to the Bluetooth Host demo.
...
Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
15 years ago
Dean Camera
c9148f9b47
Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
15 years ago
Dean Camera
61a799ed55
Added support for the JM-DB-U2 board hardware.
15 years ago
Dean Camera
3790907f4d
Added board hardware driver support for the Benito programmer.
15 years ago
Dean Camera
a8cbe3466b
Added board hardware driver support for Tom's USBTINY MKII programmer.
15 years ago
Dean Camera
0557676013
Add file-level brief documentation.
...
Remove accidentally duplicated model-specific peripheral driver files.
15 years ago
Dean Camera
74353374c3
All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed.
...
Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
15 years ago
Dean Camera
b8db5fc1e7
Added new Relay Controller Board project (thanks to OBinou).
...
Added hardware board driver support for the PJRC Teensy line of USB AVR boards.
15 years ago
Dean Camera
c2de01b661
Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item data alignment.
15 years ago
Dean Camera
f79f9abd28
Fixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian).
...
Minor documentation cleanups.
Make sure HID class driver uses properly cast pointers when writing to the report buffer.
15 years ago
Dean Camera
c58c53dba9
Added incomplete MIDIToneGenerator project.
15 years ago
Dean Camera
49b09a2042
Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects.
...
Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
15 years ago
Dean Camera
5227ca4ce2
Double bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode selection pin has been sampled.
15 years ago
Dean Camera
6d256c5109
Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints.
15 years ago
Dean Camera
72527867f6
Remove redundant check in the software PDI programming code of the AVRISP project.
15 years ago
Dean Camera
9a5ae36a4f
Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera
7d51e51c79
Increased throughput of the USBtoSerial demo on systems that send multiple bytes per packet (thanks to Opendous Inc.).
15 years ago
Dean Camera
2b74b517ea
Don't enable the pullup on the target /RESET line in the AVRISP project for PDI mode - clearing the XMEGA's reset control register twice is enough to release it from reset. Possible silicon bug, since the official Atmel programmers have the same issue.
15 years ago
Dean Camera
39d56aeffe
Fixed PDI programming mode in the AVRISP programmer project not exiting programming mode correctly (clear target Reset key twice, set /RESET pin to pullup).
...
Add newlines to the MIDI event printf() statements in the MIDI host demos.
15 years ago
Dean Camera
4f9dd142e7
Fixed ADC routines not correctly returning the last result when multiple channels were read.
...
Fixed ADC routines failing to read the extended channels (Channels 8 to 13, Internal Temperature Sensor) on the U4 series USB AVR parts.
15 years ago
Dean Camera
aca7863350
Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
...
Change over static strings in the Webserver project to use PROGMEM where possible.
15 years ago
Dean Camera
ce260ae786
Webserver project now uses the board LEDs to indicate the current IP configuration state.
...
Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode.
15 years ago
Dean Camera
634abab38a
Fix TWI driver not aborting when faced with no response after attempting to address a device on the bus.
15 years ago
Dean Camera
c0c982df7a
Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond.
...
Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register.
15 years ago
Dean Camera
071fd8ce53
Revert changes made for the partial port to the AVR32 architecture.
15 years ago
Dean Camera
c24027f3b5
Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin.
...
Fix broken AVR8 Serial peripheral driver.
15 years ago
Dean Camera
12a01ed72d
Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.
15 years ago
Dean Camera
ce8d0424b1
AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed for PDI and TPI programming.
15 years ago
Dean Camera
04d40897cf
Commit for the 100219 release.
15 years ago