* - Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver
* - Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set
* - Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used
- * - Fixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA targets
*
* \section Sec_ChangeLog100807 Version 100807
* <b>New:</b>
XPROGTarget_SendByte(PDI_CMD_STS | (PDI_DATSIZE_4BYTES << 2));
XMEGANVM_SendAddress(WriteAddress);
XPROGTarget_SendByte(Byte);
-
- /* Lock bytes need a special confirmation sequence for the write to complete */
- if (WriteCommand == XMEGA_NVM_CMD_WRITELOCK)
- {
- /* Set CMDEX bit in NVM CTRLA register to start the Lock Byte write sequence */
- XPROGTarget_SendByte(PDI_CMD_STS | (PDI_DATSIZE_4BYTES << 2));
- XMEGANVM_SendNVMRegAddress(XMEGA_NVM_REG_CTRLA);
- XPROGTarget_SendByte(1 << 0);
- }
return true;
}