aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
Commit message (Collapse)AuthorAgeFilesLines
* Complete initial working revision of PDI programming in the AVRISP project ↵Dean Camera2009-12-154-79/+55
| | | | (XMEGAs can now be programmed by the firmware).
* Fix a bug in the Still Image Host Class driver where the returned block ↵Dean Camera2009-12-154-30/+133
| | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
* Add Lock/Fuse byte programming support to the AVRISP PDI programming ↵Dean Camera2009-12-153-5/+84
| | | | protocol code.
* Fix error in AVRISP programmer when repeatedly using PDI mode via the ↵Dean Camera2009-12-154-39/+57
| | | | hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag.
* Add Doxygen documentation to the completed portions of the PDI programming ↵Dean Camera2009-12-145-9/+69
| | | | protocol in the AVRISP project.
* Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol ↵Dean Camera2009-12-145-41/+67
| | | | 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.
* Added memory erase handling to the PDI protocol in the AVRISP project.Dean Camera2009-12-143-1/+49
|
* Fix NVM commands so that memory reads and CRC generations now work correctly ↵Dean Camera2009-12-143-44/+108
| | | | using unoptimized PDI commands.
* Split out NVM access code in the AVRISP project into a seperate NVMTarget.c ↵Dean Camera2009-12-1412-120/+236
| | | | 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.
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-133-8/+63
|
* The AVRISP project can now enter PDI mode under both bit-bang and hardware ↵Dean Camera2009-12-135-128/+200
| | | | 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.
* PDI NVM enable is fast enough that bare polling is enough without a fixed ↵Dean Camera2009-12-112-6/+6
| | | | 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.
* Fix PDI code - must send NVM enable key least significant byte first, need ↵Dean Camera2009-12-113-18/+50
| | | | to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving.
* Fix AVRISP PDI protocol - make sure inverted masks have the appropriate ↵Dean Camera2009-12-114-13/+25
| | | | 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.
* Change over AVRISP project to have both hardware USART and software USART ↵Dean Camera2009-12-115-101/+194
| | | | modes for the PDI protocol, when enabled. Fix up PDI initialisation routines.
* Fix PDITarget_ReceiveByte() not discarding the start bit properly, and ↵Dean Camera2009-12-101-4/+6
| | | | reading in the bits inverted and in the wrong order.
* Add even parity bit to the software USART framing in the AVRISP project's ↵Dean Camera2009-12-091-6/+30
| | | | PDI programming code.
* Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵Dean Camera2009-12-094-8/+8
| | | | 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.
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-094-6/+6
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-081-1/+4
| | | | | | 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. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-046-6/+6
| | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
* Make sure the protocol handler files are included in the Doxygen ↵Dean Camera2009-12-035-5/+5
| | | | documentation of the AVRISP project.
* Fix the tokens which enable and disable the different programming protocols ↵Dean Camera2009-12-0313-24/+39
| | | | in the AVRISP project.
* Auto-configure AVRISP programmer configuration when built for the XPLAIN ↵Dean Camera2009-12-036-15/+61
| | | | board to match the XPLAIN hardware connections.
* Document the PDI programming routines implemented so far in the AVRISP ↵Dean Camera2009-12-0310-61/+86
| | | | project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support.
* Started implementing the low level PDI protocol in the AVRISP project, for ↵Dean Camera2009-12-039-36/+239
| | | | XMEGA device programming.
* Add new more reliable software UART for the XPLAINBridge project by David ↵Dean Camera2009-12-023-1/+205
| | | | Prentice and Peter Danneger.
* Removed John Steggall's software UART code from the XPLAIN Bridge project ↵Dean Camera2009-12-025-617/+37
| | | | due to reliability issues.
* Add support for unwrapping of the XMEGA PDI programming protocol to the ↵Dean Camera2009-12-0210-45/+389
| | | | AVRISP Programmer project.
* Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone ↵Dean Camera2009-12-024-3/+3
| | | | project.
* Factor out all the ISP related code into a seperate ISPProtocol set of files ↵Dean Camera2009-12-0210-485/+636
| | | | in the AVRISP Clone programmer project, to clearly seperate out the programming protocols when PDI programming is implemented.
* Rename the V2Protocol command handlers in the AVRISP project in preperation ↵Dean Camera2009-12-022-51/+52
| | | | of XMEGA PDI programming support.
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-301-0/+1
| | | | data to the attached device.
* Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this ↵Dean Camera2009-11-262-1/+3
| | | | is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.
* Updated John Steggall's software USART in the XPLAINBridge project.Dean Camera2009-11-263-71/+237
|
* Fix more Doxygen errors from missing parameter documentation.Dean Camera2009-11-251-0/+1
|
* Fix build and Doxygen errors.Dean Camera2009-11-251-0/+1485
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-253-2/+7
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Added new XPLAIN serial Bridge project (thanks to John Steggall for the ↵Dean Camera2009-11-2515-8/+2186
| | | | software UART code).
* Make the StandaloneProgrammer project seamlessly read out drive contents ↵Dean Camera2009-11-245-12/+17
| | | | from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-5/+1
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-232-2/+2
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-2315-355/+470
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Add activity LED updates to the AVRISP project.Dean Camera2009-11-232-0/+7
|
* Fixed LowLevel Keyboard demo not saving the issued report only after it has ↵Dean Camera2009-11-201-1/+1
| | | | | | been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-1718-0/+3926
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-131-1/+1
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Spell check all source code variables, comments and strings.Dean Camera2009-11-098-160/+160
|
* Minor changes to the AVRISP project for code clarity.Dean Camera2009-11-094-17/+14
|
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-081-1/+0
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.