projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the array when...
[pub/USBasp.git]
/
Projects
/
Incomplete
/
AVRISP
/
AVRISP.c
diff --git
a/Projects/Incomplete/AVRISP/AVRISP.c
b/Projects/Incomplete/AVRISP/AVRISP.c
index
7564f7c
..
f3634fd
100644
(file)
--- a/
Projects/Incomplete/AVRISP/AVRISP.c
+++ b/
Projects/Incomplete/AVRISP/AVRISP.c
@@
-34,6
+34,10
@@
* 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: Add in software SPI for lower programming speeds below 125KHz
\r
+// TODO: Add in VTARGET detection
\r
+
\r
#include "AVRISP.h"
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r
#include "AVRISP.h"
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r
@@
-44,8
+48,6
@@
int main(void)
SetupHardware();
\r
\r
V2Params_LoadEEPROMParamValues();
\r
SetupHardware();
\r
\r
V2Params_LoadEEPROMParamValues();
\r
-
\r
- printf("AVRISP-MKII Clone\r\n");
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
@@
-68,7
+70,6
@@
void SetupHardware(void)
clock_prescale_set(clock_div_1);
\r
\r
/* Hardware Initialization */
\r
clock_prescale_set(clock_div_1);
\r
\r
/* Hardware Initialization */
\r
- SerialStream_Init(9600, false);
\r
LEDs_Init();
\r
USB_Init();
\r
}
\r
LEDs_Init();
\r
USB_Init();
\r
}
\r