X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fchipcon%2Fchipcon.c;h=ad701beefda8585e528855bb0a0e633c8e6a79bb;hp=d4e81775defc775e09e9186bedad105bd2f07eaa;hb=74ab06d026d20e3c13cd2bcb1ac89d83d79fbf5f;hpb=d0a3fb542f527cbf9a4a27beecc8c3cd76ff4625 diff --git a/firmware/apps/chipcon/chipcon.c b/firmware/apps/chipcon/chipcon.c index d4e8177..ad701be 100644 --- a/firmware/apps/chipcon/chipcon.c +++ b/firmware/apps/chipcon/chipcon.c @@ -1,7 +1,7 @@ //GoodFET ChipCon Debugging Application -//Handles basic I/O for the Chipcon 8051 debugging protocol. +//by Travis Goodspeed +// -//Higher level left to client application. //This is like SPI, except that you read or write, not both. @@ -10,8 +10,6 @@ only writes. */ -//This is REALLY untested. - #include "platform.h" #include "command.h" #include "chipcon.h" @@ -217,7 +215,6 @@ void cchandle(unsigned char app, txdata(app,verb,1); break; case CC_SET_PC: - case CC_CLOCK_INIT: case CC_WRITE_FLASH_PAGE: case CC_MASS_ERASE_FLASH: @@ -362,7 +359,7 @@ unsigned char cc_peekcodebyte(unsigned long adr){ //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);