Commit Graph

  • d540276b44 Correct Programmer's Notepad project file to use the correct path for the AVRISP project files. Dean Camera 2009-08-20 07:25:47 +0000
  • 5acf23b254 Renamed Projects/Unfinished to Projects/Incomplete for consistancy. Dean Camera 2009-08-20 07:21:43 +0000
  • 2f95eea146 Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP project. Dean Camera 2009-08-20 07:16:55 +0000
  • a9602f0250 Change spinloop in the AVRISP project Unknown V2 Protocol Command handler to use Endpoint_WaitUntilReady() instead to prevent infinite loops. Dean Camera 2009-08-19 13:19:01 +0000
  • fa8beef82d Moved out the handling of V2 Protocol parameters to a seperate set of files. Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages. Dean Camera 2009-08-19 08:29:08 +0000
  • 32cc2b8d4d Reorganise V2Protocol.c, add in function to assert or de-assert target RESET pin. Dean Camera 2009-08-19 07:08:27 +0000
  • 04354ffcad Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer project. Dean Camera 2009-08-19 06:25:54 +0000
  • 083d3615d3 Corrections to the unfinished AVRISP Programmer project to allow AVRStudio to connect to it. Dean Camera 2009-08-19 05:40:05 +0000
  • 6d99486791 Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient. Dean Camera 2009-08-18 07:42:19 +0000
  • 0934f5c185 Move AVRISP Programmer project to a new Unfinished subdirectory of Project while it is under development. Dean Camera 2009-08-18 07:37:03 +0000
  • bbcdaaa6dc Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device. Dean Camera 2009-08-18 07:22:51 +0000
  • ecd82778cf Added beginnings of a new AVRISP-MKII clone project. Dean Camera 2009-08-17 12:38:24 +0000
  • 09bedd6555 Added return values to the CDC and MIDI class driver transmit functions. Dean Camera 2009-08-16 14:30:46 +0000
  • 5d4478b3b4 Fix misspelt event name in the Class driver USBtoSerial demo, preventing correct operation. Dean Camera 2009-08-16 12:37:28 +0000
  • 3a85962f94 Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes. Dean Camera 2009-08-16 10:57:47 +0000
  • b71ff7c8cd Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode. Dean Camera 2009-08-16 08:51:54 +0000
  • 25ddbb9e3b Adjust endpoint polling intervals for HID demos, to make them compliant with the 10ms minimum polling period for Low Speed devices. Dean Camera 2009-08-13 08:26:59 +0000
  • 99abd1a8b7 Added explicit attribute masks to the device mode demos' descriptors. Dean Camera 2009-08-13 08:14:16 +0000
  • df5500e81c Added CDC_Device_Flush() command to the CDC Device mode class driver. Dean Camera 2009-08-13 06:43:17 +0000
  • df29aa37c0 Added flag to the HID report parser to indicate if a device has multiple reports. Dean Camera 2009-08-11 11:19:22 +0000
  • a7ade9f28d Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event. Dean Camera 2009-08-11 10:02:50 +0000
  • abc7dce10c Document CDC Host class driver functions and enums. Dean Camera 2009-08-11 09:54:22 +0000
  • c86491af8b Add new functions to the HID host class driver, refine HID interface protocol matching. Dean Camera 2009-08-11 09:12:29 +0000
  • a2001ac1cc Fixed swapped paremeters in the HID state memory copy call while processing a HID PUSH item in the HID report parser. Dean Camera 2009-08-11 08:36:25 +0000
  • f4814771d2 Completion of initial CDC host mode class driver. Dean Camera 2009-08-11 02:09:11 +0000
  • 8711dc7ced Fix issue in CDC device class driver where received data the size of the data endpoint could lock up the driver. Dean Camera 2009-08-11 01:52:15 +0000
  • a459f10b0c Commit for the 090810 release. Dean Camera 2009-08-09 09:51:48 +0000
  • d423090b26 Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets. Dean Camera 2009-08-07 06:55:31 +0000
  • 85c2716f2d Make Benito ping-pong LED code more explicit, using masks of the TX and RX LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Dean Camera 2009-08-07 00:27:11 +0000
  • 33a5715e91 Simplify CDC device demos, by directly assigning the string to transmit to the pointer, rather than using an intermediatary table to hold all the possible transmit strings. Dean Camera 2009-08-06 14:30:53 +0000
  • c830fcb0e1 Make Endpoint control transfers more reliable; early-abort when an incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Dean Camera 2009-08-06 14:22:04 +0000
  • 3848482532 Add Benito board LED driver to the Benito Programmer project. Dean Camera 2009-08-05 13:17:06 +0000
  • 99c447c754 Fixed issue in USBtoSerial demos where the USART Rx line was not having its pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Dean Camera 2009-08-05 13:16:36 +0000
  • 4421782b7f Make Control Endpoint stream transfers more reliable by adding in early aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Dean Camera 2009-08-05 11:39:28 +0000
  • a9d5e129b7 Changed over manual loops waiting for endpoints to be ready to use the library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices. Dean Camera 2009-08-05 09:37:45 +0000
  • 4b35dd1670 Commit for 090810rc1 release. Dean Camera 2009-08-05 07:47:02 +0000
  • 042d3288ad Fix incorrect Event call name in USBInterrupt.c. Dean Camera 2009-08-05 07:18:08 +0000
  • c5038f1bf4 Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Dean Camera 2009-08-05 06:36:31 +0000
  • 357ccc577b Better fix for LowLevel CDC demo issue where sending data before the line encoding is set will cause a failure of the host to open the port. Added fix to the DualCDC and USBtoSerial LowLevel demos. Dean Camera 2009-08-04 08:36:30 +0000
  • eff07bb877 Fix issue with CDC device demos causing broken communications when the device tries to send data before the host has set the line encoding. Dean Camera 2009-08-04 08:06:26 +0000
  • 5c069f909a Update migration notes for the upcomming 090810 release. Dean Camera 2009-08-03 07:15:27 +0000
  • 840d386deb Cleanup and optimization of the internal serial retrieval routines. Dean Camera 2009-08-03 07:10:54 +0000
  • ab2ae13d81 Fix build error in TestApp demo caused by previous commit. Dean Camera 2009-08-02 23:17:47 +0000
  • 6f4cc344ab Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option. Dean Camera 2009-08-02 23:14:30 +0000
  • bbf89d81fa Make both LowLevel and ClassDriver AudioOutput demos always output to board LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode. Dean Camera 2009-08-02 11:43:16 +0000
  • c5eeedd522 Removed interrupt disable/enable from the Device mode control request processing routines, as they can cause problems with user code and can cause infinite spinlocks under some circumstances. Dean Camera 2009-08-02 11:33:00 +0000
  • ac593611c9 Fixed the ClassDriver GenericHID demo so that it echoes back reports as indicated in the demo overview. Dean Camera 2009-07-31 03:35:24 +0000
  • eb41086947 Fix demos based on the device mode HID class driver, as well as the driver itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.). Dean Camera 2009-07-31 03:22:08 +0000
  • a789619fbe Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the correct terminology is used (thanks to Brian Dickman). Dean Camera 2009-07-31 00:35:19 +0000
  • 7df6b9563c Add new HID_Device_MillisecondElapsed() function to the HID device Class driver, to move the burden of managing the Idle period of each instance to the library and not the user application. Dean Camera 2009-07-30 14:59:57 +0000
  • 7227e133a9 Ensure that the previous HID reports in the HID device class driver are kept per-instance, rather than per-device. Dean Camera 2009-07-30 14:40:42 +0000
  • 72932e2780 Fix to HID device mode Class driver, so that new reports are compared against the old, and updated reports made within the idle period are sent immediately to the host. Dean Camera 2009-07-30 14:35:42 +0000
  • ec079c71d8 Minor cleanups to DualCDC ClassDriver device demo for clarity. Dean Camera 2009-07-30 14:12:00 +0000
  • 41babf1cb7 Fix incorrect configuration in the ClassDriver AudioOutput demo. Dean Camera 2009-07-30 14:06:52 +0000
  • 41b54a2acd Set all CDC and MassStorage device mode demos (LowLevel and ClassDriver) to use the USE_INTERNAL_SERIAL feature, add compile time warnings for devices which do not have an internal serial. Dean Camera 2009-07-30 11:03:58 +0000
  • ce3ea6fb25 Added standard stream example to the ClassDriver CDC device demo. Dean Camera 2009-07-30 10:54:57 +0000
  • 5ca1d7bf8f Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support USB host mode. Dean Camera 2009-07-30 07:45:36 +0000
  • fef185a409 Cleanup USBMode.h to simplify preprocessor logic. Dean Camera 2009-07-29 02:49:34 +0000
  • bb05712efe Added 404 errors to the RNDIS Webserver example. Dean Camera 2009-07-29 01:40:42 +0000
  • 6928f17b64 Extend the automatic serial number descriptor code to read out and send all 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters). Dean Camera 2009-07-28 16:12:09 +0000
  • 7f3f39b575 Fixed report data alignment issues in the MouseHostWithParser demo when X and Y movement data size is not a multiple of 8 bits. Dean Camera 2009-07-28 15:14:54 +0000
  • 3472af91a5 Change project makefiles so that the current target settings and not just the board selection is printed during the build process. Dean Camera 2009-07-28 13:53:52 +0000
  • e426463355 Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use. Dean Camera 2009-07-28 13:12:14 +0000
  • c1be307393 Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, the latter of which is used in the bootloaders, to reduce code size. Dean Camera 2009-07-28 13:01:44 +0000
  • 23c1653efe Make LowLevel AudioOutput demo work in the same way as the ClassDriver AudioOutput demo for LEDs output. Dean Camera 2009-07-28 10:49:33 +0000
  • 61ff4824a9 Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Dean Camera 2009-07-28 10:46:20 +0000
  • 864196c884 State information for class drivers is now zeroed out during enumeration (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved. Dean Camera 2009-07-27 23:19:17 +0000
  • b9dd51cd63 Collapse configuration descriptor size retrieval and size testing into a single if statement within the new host mode class driver demos for clarity. Dean Camera 2009-07-27 10:55:21 +0000
  • 84c3c4a3d9 Change Host mode class driver Pipe configuration routines -- better to let the application fetch the configuration descriptors once, and then pass them to each class driver in turn. Dean Camera 2009-07-27 10:48:55 +0000
  • 5251bc6e4e Add new MouseHost Class Driver demo, unfinished, to allow for better testing of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver. Dean Camera 2009-07-27 10:31:07 +0000
  • 05fa6e0c43 Corrected new Pipe_IsEndpointBound() function. Dean Camera 2009-07-26 10:45:33 +0000
  • cbbd3d746a Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions. Dean Camera 2009-07-26 10:22:16 +0000
  • 200821fe82 Added new LEDs_ToggleLEDs() function to the Board LEDs driver. Dean Camera 2009-07-24 01:44:01 +0000
  • 3991c94b38 Ensure new Benito Programmer project matches Don's established LED behaviour - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration. Dean Camera 2009-07-24 01:26:36 +0000
  • 2a0c28e6e4 Minor updates to the Benito programmer - remove redundant PORT register manipulations. Dean Camera 2009-07-23 14:11:20 +0000
  • 06f3a6a876 Tweaks to the new Benito Programmer project for documentation and port/pin usage. Dean Camera 2009-07-23 11:01:32 +0000
  • a6e85d6ed8 Added new Benito project, a simple modified USB-to-Serial bridge for the programming of AVRs using the official Arduino bootloader. Dean Camera 2009-07-23 10:39:10 +0000
  • 5dbfdaa17d Ensure that the USB_DeviceState variable is properly set upon wakeup events, to the Addressed or Configured state as needed. Dean Camera 2009-07-23 08:00:12 +0000
  • 7a5d045987 Slight changes to TeensyHID bootloader to ensure it builds under the 2KB boundary. Dean Camera 2009-07-21 13:51:34 +0000
  • e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state. Dean Camera 2009-07-21 13:31:21 +0000
  • 44179abcf8 Add PrinterHost demo to the documentation. Dean Camera 2009-07-21 10:29:56 +0000
  • d0db78432f Add extra tests to the MassStorage device demo and class driver for validating command blocks from the host. Dean Camera 2009-07-21 04:46:48 +0000
  • 67f390fe74 Add explicit guards to all device mode tasks to ensure the device is connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured. Dean Camera 2009-07-21 02:48:41 +0000
  • bf50959b80 Simplify SideShow GUID compares via a macro. Dean Camera 2009-07-20 14:51:19 +0000
  • 86819ba9d8 Fixes to unfinished SideShow demo to re-enable correct building after previous commit. Dean Camera 2009-07-20 14:27:14 +0000
  • 292fc9b65e Move unfinished SideShow source files to nested Lib directory for clarity. Dean Camera 2009-07-20 14:23:47 +0000
  • 18f7cd3325 Ensure control pipe is selected in the PrinterHost demo before trying to send control requests. Dean Camera 2009-07-20 14:12:05 +0000
  • 4f747e7b76 Change Doxygen configuration files to not produce 4096 directories for the documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Dean Camera 2009-07-20 14:07:02 +0000
  • 73a21890f6 Added missing DoxyGen configuration file to the PrinterHost demo. Dean Camera 2009-07-20 13:52:45 +0000
  • 8a28fd8e6c Added extra DoxyGen documentation to the new PrinterHost demo. Dean Camera 2009-07-20 13:49:26 +0000
  • 3ee3ed2d6d Add PrinterHost to the project file and Host LowLevel directory makefile. Dean Camera 2009-07-20 13:41:37 +0000
  • 2a90f66de2 Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete. Dean Camera 2009-07-20 13:37:20 +0000
  • f3c061d5c8 Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ID string length from the start of the returned array (thanks to John Andrews). Dean Camera 2009-07-20 10:19:13 +0000
  • 211712d66d Remove ClearPipeStall routine from the StillImageHost demo, as there is now a version of the function built into the library itself. Dean Camera 2009-07-20 03:14:41 +0000
  • 4c035b14f1 Cleaner solution to the PrinterHost data send routine problem of embedded NULLs - use a special structure to hold the data string plus the length in bytes of the data. Dean Camera 2009-07-20 03:07:27 +0000
  • 5d8cdd9bea Fix unfinished printer host demo - some printer languages use embedded NULLs and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device. Dean Camera 2009-07-20 02:59:16 +0000
  • 8a68203d34 Added error codes to most StillImageHost demo commands. Dean Camera 2009-07-20 02:27:32 +0000
  • cf313989e6 Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings. Dean Camera 2009-07-19 13:17:38 +0000
  • cc879df4f0 Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly. Dean Camera 2009-07-19 13:08:48 +0000
  • 786479faf0 Add partial project documentation to the incomplete PrinterHost demo. Dean Camera 2009-07-19 12:36:19 +0000