projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP handler...
[pub/lufa.git]
/
Projects
/
Incomplete
/
AVRISP
/
AVRISP.c
diff --git
a/Projects/Incomplete/AVRISP/AVRISP.c
b/Projects/Incomplete/AVRISP/AVRISP.c
index
f3634fd
..
403db31
100644
(file)
--- a/
Projects/Incomplete/AVRISP/AVRISP.c
+++ b/
Projects/Incomplete/AVRISP/AVRISP.c
@@
-34,9
+34,11
@@
* the project and is responsible for the initial application hardware configuration.
\r
*/
\r
\r
* the project and is responsible for the initial application hardware configuration.
\r
*/
\r
\r
-// TODO:
Add reversed target connector checks
\r
+// TODO:
Fix PROGRAM FLASH and PROGRAM EEPROM command processing
\r
// TODO: Add in software SPI for lower programming speeds below 125KHz
\r
// TODO: Add in VTARGET detection
\r
// TODO: Add in software SPI for lower programming speeds below 125KHz
\r
// TODO: Add in VTARGET detection
\r
+// TODO: Add reversed target connector checks
\r
+// TODO: Add Doxygen comments to functions
\r
\r
#include "AVRISP.h"
\r
\r
\r
#include "AVRISP.h"
\r
\r
@@
-72,6
+74,11
@@
void SetupHardware(void)
/* Hardware Initialization */
\r
LEDs_Init();
\r
USB_Init();
\r
/* Hardware Initialization */
\r
LEDs_Init();
\r
USB_Init();
\r
+
\r
+ /* Millisecond timer initialization for timeout checking */
\r
+ OCR0A = ((F_CPU / 64) / 1000);
\r
+ TCCR0A = (1 << WGM01);
\r
+ TCCR0B = ((1 << CS01) | (1 << CS00));
\r
}
\r
\r
/** Event handler for the library USB Connection event. */
\r
}
\r
\r
/** Event handler for the library USB Connection event. */
\r