Fix AVRISP PDI protocol - make sure inverted masks have the appropriate parenthesis around them, make sure the BREAK command for the hardware USART has 12 clock cycles exactly. Poll NVM Enable bit in the target's STATUS PDI register with a timeout, as it is not set immediately.
This commit is contained in:
1 parent
42cfd15793
commit
7e5966c1a8
4 files changed
+25
-13
No files matched your search
@@ -38,6 +38,7 @@
|
||||
|
||||
/* Includes: */
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "V2Protocol.h"
|
||||
|
||||
Reference in new issue
Block a user