Commit Graph

109 Commits (e2822fb30dd3903e9be24b01d5874ba4123be8bc)

Author SHA1 Message Date
Dean Camera 0f51db56c0 Replace -finline-limit with -fno-inline-small-functions in project makefiles.
15 years ago
Dean Camera 244c86429b Move ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the AVRISP project so that there is a central place where all non-PC set target values can be updated easily.
15 years ago
Dean Camera 4bb236e9a0 Increase AVRISP command timeout to 240ms up from 150ms to prevent some ISP commands from timing out too early.
15 years ago
Dean Camera 489515fbbf Make WaitWhileBusy function in the AVRISP project more explicit about how it sends and receives the busy check command.
15 years ago
Dean Camera 922e60192d Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to save on FLASH space.
15 years ago
Dean Camera f7cde02b80 Added extra note about missing OUT endpoint configuration to the HID Device mode Class driver.
15 years ago
Dean Camera f547eb3608 Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce compiled size.
15 years ago
Dean Camera 17d06b8494 Add VTARGET level detection to the AVRISP project on supported AVR models.
15 years ago
Dean Camera 244bba2097 Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol.c, fix makefile LUFA_PATH.
15 years ago
Dean Camera cfe054474f Partial Commit: Remove now empty Projects\Incomplete directory and add the new AVRISP project to the Projects directory makefile.
15 years ago
Dean Camera 271be037b7 Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.
15 years ago
Dean Camera 8aee4cb2f2 Add function documentation to the AVRISP project.
15 years ago
Dean Camera 73801c73a1 Finished preliminary AVRISP project - all V2 protocol commands now work correctly for basic operations.
15 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.
15 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.
15 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.
15 years ago
Dean Camera 8cb8f1cfdd Switch to hardware delays and timeouts via a hardware timer in the V2 Protocol handler.
15 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.
15 years ago
Dean Camera f9c0357b73 Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project.
15 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.
15 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.
15 years ago
Dean Camera 7e74bd3ea2 Moved out target-related V2 protocol commands into a seperate file for the AVRISP project.
15 years ago
Dean Camera f229502d9a Fixed AVRISP programmer demo -- can now connect to a target and read/write Sig/Lock/Fuse/OSCCAL bytes successfully.
15 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.
15 years ago
Dean Camera 5acf23b254 Renamed Projects/Unfinished to Projects/Incomplete for consistancy.
15 years ago
Dean Camera 2f95eea146 Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP project.
15 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.
15 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.
15 years ago
Dean Camera 32cc2b8d4d Reorganise V2Protocol.c, add in function to assert or de-assert target RESET pin.
15 years ago
Dean Camera 04354ffcad Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer project.
15 years ago
Dean Camera 083d3615d3 Corrections to the unfinished AVRISP Programmer project to allow AVRStudio to connect to it.
15 years ago
Dean Camera 6d99486791 Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient.
15 years ago
Dean Camera 0934f5c185 Move AVRISP Programmer project to a new Unfinished subdirectory of Project while it is under development.
15 years ago
Dean Camera bbcdaaa6dc Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device.
15 years ago
Dean Camera ecd82778cf Added beginnings of a new AVRISP-MKII clone project.
15 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.
15 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.
15 years ago
Dean Camera 99abd1a8b7 Added explicit attribute masks to the device mode demos' descriptors.
15 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