1
0

Commit Graph

  • 69802635ed Lower timeout periods in the AVRISP project. Increment firmware minor revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning. Dean Camera 2009-12-23 14:42:50 +00:00
  • bd5e8f07b7 Stub out more of the TPI programming protocol routines in the AVRISP project. Dean Camera 2009-12-23 13:28:44 +00:00
  • be71f934a4 Seperate out XMEGA and TINY NVM routines into seperate files. Dean Camera 2009-12-23 13:07:51 +00:00
  • cda88cf97c Start of implementation of the low level TPI programming protocol in the AVRISP project. Dean Camera 2009-12-23 12:54:15 +00:00
  • df31b1fd5b Fix TeensyHID bootloader - change vendor page in the descriptors to match the undocumented page needed for the new Teensy 2.0 boards. Dean Camera 2009-12-23 07:38:53 +00:00
  • 24f730fce3 Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz. Dean Camera 2009-12-21 10:44:00 +00:00
  • d4952265a6 Ensure that unsupported SetFeature/ClearFeature request targets cause a STALL back to the host. Dean Camera 2009-12-21 08:29:12 +00:00
  • c99f6657a6 Correct TeensyHID bootloader descriptors to use the correct revision code for the ATMEGA32U4 based Teensy revision. Dean Camera 2009-12-21 07:42:43 +00:00
  • 37c9ba7fa9 Fixed AVRISP project timeouts not checking for the correct timeout period (thanks to Carl Ott). Dean Camera 2009-12-20 22:33:48 +00:00
  • 8b75659563 Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options. Dean Camera 2009-12-20 13:00:49 +00:00
  • 77cd3a42a7 Fixed TeensyHID bootloader not enumerating to the host correctly. Dean Camera 2009-12-20 12:09:22 +00:00
  • b408a5fe62 Add const qualifier to the parameters of Projects' functions where possible. Dean Camera 2009-12-20 06:23:24 +00:00
  • e73f05b8b2 Added CPU Usage monitor host app to the LEDNotifier project. Dean Camera 2009-12-20 05:40:17 +00:00
  • 901e26edd8 Add LEDNotifier project to the Projects folder build list. Add new LEDMixer C# host application for the LEDNotifier project. Dean Camera 2009-12-18 05:34:11 +00:00
  • 12abb59b19 Fix up references in the LEDNotifier project to the old HotmailNotifier name. Dean Camera 2009-12-18 05:30:55 +00:00
  • 47384e3c50 Rename HotmailNotifier project files to LEDNotifier. Dean Camera 2009-12-18 05:25:51 +00:00
  • 3b3ea167f0 Renamed HotmailNotifier project to LEDNotifier. Dean Camera 2009-12-18 05:22:57 +00:00
  • 3d6508c9b9 Enhance the HotmailNotifier project so that the LEDs' individual brightness can be controlled individually via software PWM. Dean Camera 2009-12-18 04:40:15 +00:00
  • 2cab8f0725 Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy). Dean Camera 2009-12-18 00:32:21 +00:00
  • c3758ac5ef Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project. Dean Camera 2009-12-17 10:02:19 +00:00
  • 021b1b567e More speed and quality improvements to the software USART in the AVRISP project. Dean Camera 2009-12-16 09:13:42 +00:00
  • f0b4d79629 Slightly speed up software USART in the AVRISP project - faster parity computation, ensure received data is byte aligned when receive is complete by throwing away the start bit during reception. Dean Camera 2009-12-16 08:03:04 +00:00
  • 108a22a66a The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still Image Host Class driver functions are now public. Dean Camera 2009-12-16 04:03:08 +00:00
  • 461607020c Use default NVM base address in the AVRISP programmer project in case the host programmer software doesn't set it correctly. Dean Camera 2009-12-16 03:17:18 +00:00
  • 4f74075fad Speed up bit-banged USART code in the AVRISP project. Dean Camera 2009-12-15 11:12:38 +00:00
  • 2f6c096050 Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware). Dean Camera 2009-12-15 10:06:49 +00:00
  • 79efd8c79e Fix a bug in the Still Image Host Class driver where the returned block status code was being truncated. Dean Camera 2009-12-15 05:17:52 +00:00
  • 8ea051de63 Add Lock/Fuse byte programming support to the AVRISP PDI programming protocol code. Dean Camera 2009-12-15 00:58:22 +00:00
  • a7880ac1cd Fix error in AVRISP programmer when repeatedly using PDI mode via the hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag. Dean Camera 2009-12-15 00:14:17 +00:00
  • bb38793312 Add Doxygen documentation to the completed portions of the PDI programming protocol in the AVRISP project. Dean Camera 2009-12-14 07:06:30 +00:00
  • f3e4fbe512 Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol overhead and greatly improve transfer throughput. Switch bit-bang USART in the AVRISP project to Timer 1, so that Timer 0 can be used for hardware timeouts while waiting for the NVM bus or controller to become ready. Dean Camera 2009-12-14 06:01:56 +00:00
  • 48e50b6b57 Added memory erase handling to the PDI protocol in the AVRISP project. Dean Camera 2009-12-14 05:15:42 +00:00
  • 8a55d80e7e Fix NVM commands so that memory reads and CRC generations now work correctly using unoptimized PDI commands. Dean Camera 2009-12-14 04:39:16 +00:00
  • 1fa27139f5 Split out NVM access code in the AVRISP project into a seperate NVMTarget.c source file and header. Make NVM register accesses use the NVM base address as set by the host, rather than using the fixed value from the XMEGA datasheet. Dean Camera 2009-12-14 02:59:34 +00:00
  • 6648234157 Test with -Wextra, fix library warnings due to unused function parameters. Dean Camera 2009-12-13 14:43:34 +00:00
  • 32b7762325 Oops - wrong casting on the Configuration Descriptor pointer advance routine. Dean Camera 2009-12-13 14:16:29 +00:00
  • 3705330dd3 Use -pedantic compile time option to find and correct several minor code errors. Dean Camera 2009-12-13 14:09:25 +00:00
  • 307ba254d5 The AVRISP project can now enter PDI mode under both bit-bang and hardware USART connection modes, tested against the XPLAIN board hardware. Still need to complete higher level NVM access code so that the device's memories can be read and written. Dean Camera 2009-12-13 12:50:47 +00:00
  • 33a46b243a PDI NVM enable is fast enough that bare polling is enough without a fixed delay in between each attempt. Make sure the USART transmitter is enabled explicitly when the USART is configured, so that repeated attempts to re-enter PDI mode don't fail due to TXEN not being set. Dean Camera 2009-12-11 04:56:52 +00:00
  • 66201a05e9 Fix PDI code - must send NVM enable key least significant byte first, need to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving. Dean Camera 2009-12-11 04:04:34 +00:00
  • 7e5966c1a8 Fix AVRISP PDI protocol - make sure inverted masks have the appropriate parenthesis around them, make sure the BREAK command for the hardware USART has 12 clock cycles exactly. Poll NVM Enable bit in the target's STATUS PDI register with a timeout, as it is not set immediately. Dean Camera 2009-12-11 00:19:25 +00:00
  • 42cfd15793 Change over AVRISP project to have both hardware USART and software USART modes for the PDI protocol, when enabled. Fix up PDI initialisation routines. Dean Camera 2009-12-11 00:03:10 +00:00
  • 7aecda6fda Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in the bits inverted and in the wrong order. Dean Camera 2009-12-10 00:54:08 +00:00
  • 1e3513ed70 Add even parity bit to the software USART framing in the AVRISP project's PDI programming code. Dean Camera 2009-12-09 12:31:55 +00:00
  • 9c8ed168e5 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. Dean Camera 2009-12-09 12:01:01 +00:00
  • e4cfd5208f Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts. Dean Camera 2009-12-09 07:09:52 +00:00
  • 7ace314cc1 Increase timeout of Mass Storage and Still Image host commands to 10 seconds (up from 5) to account for slow-processing devices. Dean Camera 2009-12-09 00:50:55 +00:00
  • 2281750b5f Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Dean Camera 2009-12-08 07:43:33 +00:00
  • 3757b1760f Fix newly renamed VirtualSerial demos' include filename references so that they compile. Dean Camera 2009-12-07 04:49:37 +00:00
  • cf22a744ec Additional file renames and modifications to change CDC demos to VirtualSerial. Dean Camera 2009-12-07 04:35:59 +00:00
  • 7a9b3d3641 Rename CDC demos to VirtualSerial. Dean Camera 2009-12-07 04:18:07 +00:00
  • c1fa230618 Add new USB_Host_GetDeviceStringDescriptor() convenience function. Dean Camera 2009-12-06 13:37:30 +00:00
  • c49bdcb7c9 Fixed Mass Storage Host Class driver and Low Level demo not clearing the error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen). Dean Camera 2009-12-04 09:08:48 +00:00
  • 478d9dc04f Added support for the Atmel EVK527 board hardware. Dean Camera 2009-12-04 06:02:28 +00:00
  • 7e86387958 Fix double oops -- Host mode settle delay was still being ignored due to inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself. Dean Camera 2009-12-04 02:06:38 +00:00
  • a925407588 Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices. Dean Camera 2009-12-04 01:29:20 +00:00
  • d6e3259f8b Fix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo(). Dean Camera 2009-12-04 01:09:39 +00:00
  • 2919aeeaab Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items. Dean Camera 2009-12-04 01:06:26 +00:00
  • f338ddcb87 Make sure the protocol handler files are included in the Doxygen documentation of the AVRISP project. Dean Camera 2009-12-03 09:19:09 +00:00
  • 258a6a0177 Fix the tokens which enable and disable the different programming protocols in the AVRISP project. Dean Camera 2009-12-03 09:12:36 +00:00
  • bae00a3d42 Added support for the Dataflash mounted on the XPLAIN board. Added new XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions. Dean Camera 2009-12-03 08:59:12 +00:00
  • f1baf12fae Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections. Dean Camera 2009-12-03 08:35:32 +00:00
  • a5adbae652 Document the PDI programming routines implemented so far in the AVRISP project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support. Dean Camera 2009-12-03 07:42:56 +00:00
  • f69f03cb0d Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming. Dean Camera 2009-12-03 00:53:45 +00:00
  • f92b56191d Add new more reliable software UART for the XPLAINBridge project by David Prentice and Peter Danneger. Dean Camera 2009-12-02 14:19:06 +00:00
  • fec31947a6 Removed John Steggall's software UART code from the XPLAIN Bridge project due to reliability issues. Dean Camera 2009-12-02 14:03:57 +00:00
  • 1f8dfd0205 Add support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Programmer project. Dean Camera 2009-12-02 13:42:08 +00:00
  • 5930f47bf4 Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone project. Dean Camera 2009-12-02 12:04:37 +00:00
  • 1ed6925b5b Factor out all the ISP related code into a seperate ISPProtocol set of files in the AVRISP Clone programmer project, to clearly seperate out the programming protocols when PDI programming is implemented. Dean Camera 2009-12-02 12:02:01 +00:00
  • 1645c3d243 Rename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA PDI programming support. Dean Camera 2009-12-02 11:37:39 +00:00
  • 1b2cd16976 Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device. Dean Camera 2009-11-30 02:20:26 +00:00
  • b7f6a65c25 Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEGA16U2. Dean Camera 2009-11-29 07:41:54 +00:00
  • 414b92e812 Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional. Dean Camera 2009-11-29 05:19:41 +00:00
  • 958d28d05d Better checking of whether a packet is received in the RNDISEthernetHost Class driver demo - show busy LED status while packets are being printed out. Dean Camera 2009-11-27 06:32:26 +00:00
  • e5057fec8e Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets. Dean Camera 2009-11-26 13:59:11 +00:00
  • 5e46801096 Complete RNDIS Host Class driver code - add SendPacket function. Dean Camera 2009-11-26 11:40:15 +00:00
  • 9ba8da7412 Make the RNDISEthernetHost Class driver demo print out incomming packets from the attached RNDIS device. Dean Camera 2009-11-26 11:29:06 +00:00
  • 2a28862dcc Make MIDI device demos also turn off the on board LEDs if MIDI Note On messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green). Dean Camera 2009-11-26 11:16:20 +00:00
  • f6de4db000 Remove documentation of deleted parameters from the RNDIS Host Class driver's device Initialize function. Dean Camera 2009-11-26 05:08:00 +00:00
  • 04e177b66e Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class driver directory. Dean Camera 2009-11-26 04:50:15 +00:00
  • 5aa2b26261 Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost Class Driver demo. Dean Camera 2009-11-26 04:46:31 +00:00
  • f37d21bbe9 Updated John Steggall's software USART in the XPLAINBridge project. Dean Camera 2009-11-26 01:17:29 +00:00
  • ab602a8b48 Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver. Dean Camera 2009-11-25 04:23:40 +00:00
  • a04131cf04 Fix more Doxygen errors from missing parameter documentation. Dean Camera 2009-11-25 04:13:14 +00:00
  • 50f4a3b625 Fix build and Doxygen errors. Dean Camera 2009-11-25 03:56:51 +00:00
  • 179691be6e Removed old empty RNDISEthernetHost directory from the Incomplete Host demos folder. Dean Camera 2009-11-25 03:33:14 +00:00
  • 8c6c27d88b Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints. Dean Camera 2009-11-25 03:26:57 +00:00
  • c05c7c7df4 Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code). Dean Camera 2009-11-25 00:36:18 +00:00
  • d3f11eb528 Make the StandaloneProgrammer project seamlessly read out drive contents from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode. Dean Camera 2009-11-24 14:10:28 +00:00
  • 59ed10273c Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero. Dean Camera 2009-11-24 08:54:41 +00:00
  • e4bf986bb3 Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount. Dean Camera 2009-11-24 01:56:59 +00:00
  • 702bec892d Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions. Dean Camera 2009-11-23 13:35:52 +00:00
  • 8b009bc113 Added new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate. Dean Camera 2009-11-23 13:22:33 +00:00
  • c438d01f87 Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser. Dean Camera 2009-11-23 13:01:50 +00:00
  • aaa0bed556 The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. Dean Camera 2009-11-23 12:40:14 +00:00
  • 6e867f7d9b Removed code to zero reports between two keyboard reports with differing number of pressed keys, as this relied on non-standard OS behaviour. Dean Camera 2009-11-23 05:45:59 +00:00
  • 86db035b1e Add activity LED updates to the AVRISP project. Dean Camera 2009-11-23 05:28:08 +00:00
  • bcf07edeb2 Commit for the 091122 release. Dean Camera 2009-11-22 04:56:59 +00:00
  • 6c38ca2890 Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero. Dean Camera 2009-11-20 06:56:43 +00:00
  • 7ef58eef7a Fixed LowLevel Keyboard demo not saving the issued report only after it has been written to the endpoint. Dean Camera 2009-11-20 04:39:41 +00:00