Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device.
This commit is contained in:
parent
ecd82778cf
commit
bbcdaaa6dc
6 changed files with 222 additions and 65 deletions
|
@ -43,7 +43,7 @@ int main(void)
|
|||
{
|
||||
SetupHardware();
|
||||
|
||||
printf("AVRISP-MKII\r\n");
|
||||
printf("AVRISP-MKII Clone\r\n");
|
||||
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
|
||||
|
||||
|
@ -113,14 +113,9 @@ void Process_AVRISP_Commands(void)
|
|||
|
||||
/* Check to see if a V2 Protocol command has been received - if not, abort */
|
||||
if (!(Endpoint_IsOUTReceived()))
|
||||
return;
|
||||
|
||||
printf("COMMAND\r\n");
|
||||
return;
|
||||
|
||||
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
|
||||
V2Protocol_ProcessCommand();
|
||||
|
||||
/* Reset Endpoint direction to OUT ready for next command */
|
||||
Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT);
|
||||
V2Protocol_ProcessCommand();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue