//GoodFET ChipCon Debugging Application
-//Handles basic I/O for the Chipcon 8051 debugging protocol.
+//by Travis Goodspeed
+//<travis at radiantmachines.com>
-//Higher level left to client application.
//This is like SPI, except that you read or write, not both.
only writes.
*/
-//This is REALLY untested.
-
#include "platform.h"
#include "command.h"
#include "chipcon.h"
txdata(app,verb,1);
break;
case CC_SET_PC:
-
case CC_CLOCK_INIT:
case CC_WRITE_FLASH_PAGE:
case CC_MASS_ERASE_FLASH:
//CLR A
cc_debug(2, 0xE4, 0, 0);
//MOVC A, @A+DPTR;
- toret=cc_debug(1, 0x93, 0, 0);
+ toret=cc_debug(3, 0x93, 0, 0);
//INC DPTR
//cc_debug(1, 0xA3, 0, 0);