aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
Commit message (Collapse)AuthorAgeFilesLines
...
* Make WaitWhileBusy function in the AVRISP project more explicit about how it ↵Dean Camera2009-08-272-2/+3
| | | | | | sends and receives the busy check command. Reduce size of PROGRAM FLASH ISP or PROGRAM EEPROM ISP buffer to 256 bytes to prevent blowing the stack on the smallest USB AVR models.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-1/+1
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Added extra note about missing OUT endpoint configuration to the HID Device ↵Dean Camera2009-08-271-1/+37
| | | | | | mode Class driver. Added pinout information to the AVRISP project.
* Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵Dean Camera2009-08-251-1/+1
| | | | | | compiled size. Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
* Add VTARGET level detection to the AVRISP project on supported AVR models.Dean Camera2009-08-254-7/+31
|
* Make AVRISP project build again - fix incorrect preprocessor directive in ↵Dean Camera2009-08-252-2/+2
| | | | V2Protocol.c, fix makefile LUFA_PATH.
* Partial Commit: Remove now empty Projects\Incomplete directory and add the ↵Dean Camera2009-08-251-0/+4
| | | | new AVRISP project to the Projects directory makefile.
* Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.Dean Camera2009-08-2514-0/+0
|
* Add function documentation to the AVRISP project.Dean Camera2009-08-257-30/+152
|
* Finished preliminary AVRISP project - all V2 protocol commands now work ↵Dean Camera2009-08-251-29/+17
| | | | correctly for basic operations.
* Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP ↵Dean Camera2009-08-251-21/+29
| | | | handler - can now correctly read back device data. Programming command handler is still broken, although first page is written correctly to FLASH in paged write mode.
* Updated Benito project -- added hardware interrupt and software buffering ↵Dean Camera2009-08-2512-52/+314
| | | | | | | | for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity. Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host. Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
* Fix endianness of LOAD_ADDRESS command data, add correct ↵Dean Camera2009-08-244-36/+42
| | | | PROGRAM_FLASH_ISP/PROGRAM_EEPROM_ISP polling and endpoint bank clearing, add hardware delays/timeouts to the V2 Protocol handler in the AVRISP project.
* Switch to hardware delays and timeouts via a hardware timer in the V2 ↵Dean Camera2009-08-246-28/+101
| | | | | | | | Protocol handler. More additions to the PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP commands, although neither work correctly yet. Added dummy RESET_PROTECTIONS handler to prevent the Atmel driver from crashing when the command returns an UNKNOWN_COMMAND error code.
* Added PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP handler code to the V2 ↵Dean Camera2009-08-244-9/+71
| | | | Protocol handler in the AVRISP project, programming complete checks not yet complete.
* Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the ↵Dean Camera2009-08-241-9/+0
| | | | AVRISP project.
* Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the ↵Dean Camera2009-08-248-21/+57
| | | | | | array when writing back the response from the device. FLASH/EEPROM reading and writing currently broken and unfinished, respectively.
* Added V2 protocol handlers for the READ and WRITE memory commands in the ↵Dean Camera2009-08-233-10/+110
| | | | AVRISP project. Finished READ command handler, skeleton WRITE handler implemented.
* Moved out target-related V2 protocol commands into a seperate file for the ↵Dean Camera2009-08-235-82/+183
| | | | | | AVRISP project. Added Load Extended Command functionality to the LOAD ADDRESS V2 Protocol command handler for devices with more than 64KB of memory.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-233-47/+22
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Added V2Protocol handlers to the AVRISP project to enter/exit programming ↵Dean Camera2009-08-234-41/+265
| | | | | | mode, and read/write fuses, lockbits, OSCCAL and Signature bytes. Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
* Renamed Projects/Unfinished to Projects/Incomplete for consistancy.Dean Camera2009-08-2012-0/+0
|
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-202-0/+21
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Change spinloop in the AVRISP project Unknown V2 Protocol Command handler to ↵Dean Camera2009-08-192-6/+8
| | | | use Endpoint_WaitUntilReady() instead to prevent infinite loops.
* Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean Camera2009-08-196-89/+239
| | | | 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.
* Reorganise V2Protocol.c, add in function to assert or de-assert target RESET ↵Dean Camera2009-08-195-93/+132
| | | | pin.
* Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer ↵Dean Camera2009-08-198-9/+165
| | | | | | project. Added documentation of the makefile CDEFS values to the MagStripe project.
* Corrections to the unfinished AVRISP Programmer project to allow AVRStudio ↵Dean Camera2009-08-196-55/+38
| | | | to connect to it.
* Fixed invalid data being returned when a GetStatus request is issued in ↵Dean Camera2009-08-181-4/+0
| | | | | | Device mode with an unhandled data recipient. Fix up Programmers Notepad Project file to show new Projects directory layout. Remove now moved AVRISP project from the Projects directory makefile.
* Move AVRISP Programmer project to a new Unfinished subdirectory of Project ↵Dean Camera2009-08-1810-0/+0
| | | | while it is under development.
* Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to ↵Dean Camera2009-08-185-64/+221
| | | | communicate with the device.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-1711-1/+2922
| | | | | | Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-162-8/+5
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-131-1/+1
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-132-4/+4
|
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-071-1/+1
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Add Benito board LED driver to the Benito Programmer project.Dean Camera2009-08-051-0/+110
|
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-053-7/+10
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-056-25/+25
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-024-4/+4
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-312-11/+20
| | | | 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.).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-301-2/+1
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-301-2/+0
| | | | against the old, and updated reports made within the idle period are sent immediately to the host.
* Extend the automatic serial number descriptor code to read out and send all ↵Dean Camera2009-07-281-1/+1
| | | | 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-283-117/+63
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-282-5/+6
| | | | | | where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-272-10/+0
| | | | (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.
* Added new LEDs_ToggleLEDs() function to the Board LEDs driver.Dean Camera2009-07-242-2/+2
|
* Ensure new Benito Programmer project matches Don's established LED behaviour ↵Dean Camera2009-07-244-21/+35
| | | | - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration.
* Minor updates to the Benito programmer - remove redundant PORT register ↵Dean Camera2009-07-232-8/+7
| | | | manipulations.