Fix error in AVRISP programmer when repeatedly using PDI mode via the hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag.
This commit is contained in:
parent
bb38793312
commit
a7880ac1cd
4 changed files with 57 additions and 39 deletions
|
@ -106,11 +106,11 @@
|
|||
#define NVM_CMD_READEEPROM 0x06
|
||||
|
||||
/* Function Prototypes: */
|
||||
void NVMTarget_SendNVMRegAddress(uint8_t Register);
|
||||
void NVMTarget_SendAddress(uint32_t AbsoluteAddress);
|
||||
bool NVMTarget_WaitWhileNVMControllerBusy(void);
|
||||
uint32_t NVMTarget_GetMemoryCRC(uint8_t CRCCommand);
|
||||
void NVMTarget_ReadMemory(uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadSize);
|
||||
void NVMTarget_EraseMemory(uint8_t EraseCommand, uint32_t Address);
|
||||
void NVMTarget_SendNVMRegAddress(uint8_t Register);
|
||||
void NVMTarget_SendAddress(uint32_t AbsoluteAddress);
|
||||
bool NVMTarget_WaitWhileNVMControllerBusy(void);
|
||||
bool NVMTarget_GetMemoryCRC(uint8_t CRCCommand, uint32_t* CRCDest);
|
||||
bool NVMTarget_ReadMemory(uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadSize);
|
||||
bool NVMTarget_EraseMemory(uint8_t EraseCommand, uint32_t Address);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue