Commit Graph

71 Commits (f73f01235e17807661bd7aab2f6499e5418e4ea3)

Author SHA1 Message Date
Dean Camera fc92f9969c Minor documentation cleanups.
15 years ago
Dean Camera 3b95b8dedc Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor.
15 years ago
Dean Camera 670413603f The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan.
15 years ago
Dean Camera ff61dfa505 Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
15 years ago
Dean Camera 80d85090ba Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from the last page of FLASH.
15 years ago
Dean Camera 34047efc7e Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances.
15 years ago
Dean Camera 571159df1b Additional fix to the AVRISP-MKII clone project for 256KB AVRs.
15 years ago
Dean Camera cd0093a14b Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton).
15 years ago
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera ab8668b14e Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
15 years ago
Dean Camera eed7d4df6a Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
15 years ago
Dean Camera 5c0c0327d5 Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project.
15 years ago
Dean Camera a5e79333e5 Switch back to C based timeout ISR in the AVRISP project - assembly version was failing, and only one or two cycles could be shaved off the compiler generated code.
15 years ago
Dean Camera 3d28d53c3e Change AVRISP project's timeout to be interrupt based again, but make the interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code.
15 years ago
Dean Camera 9a1560dc05 Make sure that long reads are aborted early if the connection times out while waiting on more bytes in the AVRISP MKII clone project.
15 years ago
Dean Camera ceb16ee24f Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project abort properly if a timeout occurs while waiting for a response.
15 years ago
Dean Camera 85aaaf84ce Make AVRISP-MKII clone project's software PDI/TPI mode more robust by keeping track of timeouts while waiting for a Tx/Rx to finish.
15 years ago
Dean Camera 5993e1efe7 Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo.
15 years ago
Dean Camera fa1a092901 Add user callback function to the Bluetooth host demo to filter out connections from remote devices. Add in ability to reject connections based on their bluetooth device address.
15 years ago
Dean Camera c9148f9b47 Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
15 years ago
Dean Camera 72527867f6 Remove redundant check in the software PDI programming code of the AVRISP project.
15 years ago
Dean Camera 9a5ae36a4f Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera 2b74b517ea Don't enable the pullup on the target /RESET line in the AVRISP project for PDI mode - clearing the XMEGA's reset control register twice is enough to release it from reset. Possible silicon bug, since the official Atmel programmers have the same issue.
15 years ago
Dean Camera 39d56aeffe Fixed PDI programming mode in the AVRISP programmer project not exiting programming mode correctly (clear target Reset key twice, set /RESET pin to pullup).
15 years ago
Dean Camera 071fd8ce53 Revert changes made for the partial port to the AVR32 architecture.
15 years ago
Dean Camera e11fddfe66 Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.
15 years ago
Dean Camera c24027f3b5 Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin.
15 years ago
Dean Camera d2851b3351 Oops - need to revert changes made to ease testing of the software PDI programming mode.
15 years ago
Dean Camera 5e12d436fa Remove dual ISR for software PDI mode, use a single ISR instead to reduce code complexity.
15 years ago
Dean Camera e322f14620 More fixes to the AVRISP command timeout system so that it should no longer lock up while processing command no matter what the conditions.
15 years ago
Dean Camera 12a01ed72d Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.
15 years ago
Dean Camera 10b9394a8b Oops - missed a few references to the old global TimeoutMSRemaining counter in ISPTarget.c of the AVRISP-MKII clone project.
15 years ago
Dean Camera ce8d0424b1 AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed for PDI and TPI programming.
15 years ago
Dean Camera de0ccb3d09 Add NO_VTARGET_DETECT compile time option to the AVRISP-MKII clone project, to disable VTARGET detection on AVR models with an on-chip ADC.
15 years ago
Dean Camera 3a2c1db675 Fixed lack of SECTION ERASE command in TPI programming mode of the AVRISP project preventing fuses from being cleared.
15 years ago
Dean Camera ab195ab1da Added .5MHz recovery clock to the AVRISP programmer project when in ISP programming mode to correct mis-set fuses.
15 years ago
Dean Camera 35a0fe9384 Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes.
15 years ago
Dean Camera 3ab0b3a027 Fix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t type in ProcessLEDReport().
15 years ago
Dean Camera 7ae91099e9 Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit.
15 years ago
Dean Camera 15f84bb8f5 New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
15 years ago
Dean Camera 53eca61d02 Minor fixups to the documentation and preprocessor tokens.
15 years ago
Dean Camera 5687ac7316 Fix TPI mode chip erase code not properly erasing the target memory space.
15 years ago
Dean Camera 8d49480891 Oops - new Write Word alignment code in the TPI programming function means that the WriteBuffer parameter is no longer const.
15 years ago
Dean Camera ec6fbb219f Make TPI writes add a dummy high byte if the data isn't word-aligned.
15 years ago
Dean Camera b736a5ef2b Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions.
15 years ago
Dean Camera 9e7ffcb014 Make AVRISP XPROG function parameters const where possible.
15 years ago
Dean Camera 5f363996e3 Fixed issues with EEPROM and FLASH ISP programming in the AVRISP project.
15 years ago
Dean Camera 331e8dece6 Use _delay_us() function in the XPROGTarget.c file to ensure timing requirements are met, rather than a fixed number of NOPs.
15 years ago
Dean Camera 75d27f8ef0 Oops - PDI handshake delay was too long, causing the device's /RESET functionality to be re-enabled.
15 years ago
Dean Camera a114878209 Oops - TPI programming is broken in the AVRISP project because the busy-flag check wasn't inverting the result.
15 years ago