Commit Graph

101 Commits (244bba2097574fd9c4905eadac069c57796cbc28)

Author SHA1 Message Date
Dean Camera 244bba2097 Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol.c, fix makefile LUFA_PATH.
16 years ago
Dean Camera cfe054474f Partial Commit: Remove now empty Projects\Incomplete directory and add the new AVRISP project to the Projects directory makefile.
16 years ago
Dean Camera 271be037b7 Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.
16 years ago
Dean Camera 8aee4cb2f2 Add function documentation to the AVRISP project.
16 years ago
Dean Camera 73801c73a1 Finished preliminary AVRISP project - all V2 protocol commands now work correctly for basic operations.
16 years ago
Dean Camera 4742e95a3f Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP 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.
16 years ago
Dean Camera 6d1adf7339 Updated Benito project -- added hardware interrupt and software buffering for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity.
16 years ago
Dean Camera f070902bdb Fix endianness of LOAD_ADDRESS command data, add correct PROGRAM_FLASH_ISP/PROGRAM_EEPROM_ISP polling and endpoint bank clearing, add hardware delays/timeouts to the V2 Protocol handler in the AVRISP project.
16 years ago
Dean Camera 8cb8f1cfdd Switch to hardware delays and timeouts via a hardware timer in the V2 Protocol handler.
16 years ago
Dean Camera 92adb00f8e Added PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP handler code to the V2 Protocol handler in the AVRISP project, programming complete checks not yet complete.
16 years ago
Dean Camera f9c0357b73 Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project.
16 years ago
Dean Camera bff4dbe189 Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the array when writing back the response from the device.
16 years ago
Dean Camera dbb5f249bd Added V2 protocol handlers for the READ and WRITE memory commands in the AVRISP project. Finished READ command handler, skeleton WRITE handler implemented.
16 years ago
Dean Camera 7e74bd3ea2 Moved out target-related V2 protocol commands into a seperate file for the AVRISP project.
16 years ago
Dean Camera f229502d9a Fixed AVRISP programmer demo -- can now connect to a target and read/write Sig/Lock/Fuse/OSCCAL bytes successfully.
16 years ago
Dean Camera 1e8df8951a Added V2Protocol handlers to the AVRISP project to enter/exit programming mode, and read/write fuses, lockbits, OSCCAL and Signature bytes.
16 years ago
Dean Camera 5acf23b254 Renamed Projects/Unfinished to Projects/Incomplete for consistancy.
16 years ago
Dean Camera 2f95eea146 Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP project.
16 years ago
Dean Camera a9602f0250 Change spinloop in the AVRISP project Unknown V2 Protocol Command handler to use Endpoint_WaitUntilReady() instead to prevent infinite loops.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 32cc2b8d4d Reorganise V2Protocol.c, add in function to assert or de-assert target RESET pin.
16 years ago
Dean Camera 04354ffcad Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer project.
16 years ago
Dean Camera 083d3615d3 Corrections to the unfinished AVRISP Programmer project to allow AVRStudio to connect to it.
16 years ago
Dean Camera 6d99486791 Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient.
16 years ago
Dean Camera 0934f5c185 Move AVRISP Programmer project to a new Unfinished subdirectory of Project while it is under development.
16 years ago
Dean Camera bbcdaaa6dc Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device.
16 years ago
Dean Camera ecd82778cf Added beginnings of a new AVRISP-MKII clone project.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 25ddbb9e3b Adjust endpoint polling intervals for HID demos, to make them compliant with the 10ms minimum polling period for Low Speed devices.
16 years ago
Dean Camera 99abd1a8b7 Added explicit attribute masks to the device mode demos' descriptors.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 3848482532 Add Benito board LED driver to the Benito Programmer project.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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.).
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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).
16 years ago
Dean Camera 3472af91a5 Change project makefiles so that the current target settings and not just the board selection is printed during the build process.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera 200821fe82 Added new LEDs_ToggleLEDs() function to the Board LEDs driver.
16 years ago
Dean Camera 3991c94b38 Ensure new Benito Programmer project matches Don's established LED behaviour - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration.
16 years ago
Dean Camera 2a0c28e6e4 Minor updates to the Benito programmer - remove redundant PORT register manipulations.
16 years ago
Dean Camera 06f3a6a876 Tweaks to the new Benito Programmer project for documentation and port/pin usage.
16 years ago
Dean Camera a6e85d6ed8 Added new Benito project, a simple modified USB-to-Serial bridge for the programming of AVRs using the official Arduino bootloader.
16 years ago
Dean Camera e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state.
16 years ago
Dean Camera 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.
16 years ago
Dean Camera b243c2b80b Magstripe Project: Ensure that empty tracks still print out a newline seperator so that the host always knows what track data is being sent.
16 years ago