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:
parent
42cfd15793
commit
7e5966c1a8
4 changed files with 25 additions and 13 deletions
|
@ -38,6 +38,7 @@
|
|||
|
||||
/* Includes: */
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "V2Protocol.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue