aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-8/+4
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Update copyright year on all source files.Dean Camera2011-01-014-8/+8
|
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-262-2/+39
| | | | host OS.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-284-4/+4
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-242-90/+2
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Minor documentation corrections.Dean Camera2010-10-131-2/+2
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-135-111/+116
| | | | tool made by Laszlo Monda
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-311-3/+3
| | | | USB AVR device "series" comprises of.
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-201-2/+3
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-182-29/+57
| | | | | | before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver.
* Spell check all source files once again to find any typos.Dean Camera2010-07-293-63/+63
|
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-5/+5
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-212-8/+18
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-191-8/+2
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-2/+2
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-152-3/+10
|
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-091-12/+8
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* More documentation fixes.Dean Camera2010-06-031-2/+2
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-085-1128/+1128
| | | | correctly converted to the target system's native end of line style.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-071-13/+13
| | | | driver and Keyboard demos.
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-021-2/+2
|
* Update copyright year to 2010.Dean Camera2009-12-305-10/+10
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-285-35/+35
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-092-13/+13
| | | | | | | | (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.).
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-1/+1
|
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-181-2/+0
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-022-60/+30
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-221-2/+4
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-223-29/+38
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean Camera2009-08-191-2/+2
| | | | 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.
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-051-20/+8
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-5/+21
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Minor correction to MagStripe demo to fix build problems.Dean Camera2009-06-291-8/+14
|
* Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean Camera2009-06-291-26/+29
| | | | | | | | the next command immediately after returning, no need to call Dataflash_ToggleSelectedChipCS() afterwards. Added new DATAFLASH_CHIP_MASK() macro to the Dataflash driver, which returns the Dataflash select mask for the given chip index. Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30%.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-283-14/+14
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-055-0/+1136
re-add old low level demos to a LowLevel subdirectory.