X-Git-Url: http://git.rot13.org//?a=blobdiff_plain;f=firmware%2Fapps%2Fchipcon%2Fchipcon.c;h=b57b01fb1cba4195f629702b129465001da2042a;hb=ce0bba3cfbf4844bdce1f6984af24d1f78c347f1;hp=ad701beefda8585e528855bb0a0e633c8e6a79bb;hpb=d39e9b08dc3f689a6b6a53f73c0943385e053542;p=goodfet diff --git a/firmware/apps/chipcon/chipcon.c b/firmware/apps/chipcon/chipcon.c index ad701be..b57b01f 100644 --- a/firmware/apps/chipcon/chipcon.c +++ b/firmware/apps/chipcon/chipcon.c @@ -1,11 +1,14 @@ -//GoodFET ChipCon Debugging Application -//by Travis Goodspeed -// +/*! \file chipcon.c + \author Travis Goodspeed + + This is an implementation of the Chipcon 8051 + debugging protocol for the GoodFET. +*/ //This is like SPI, except that you read or write, not both. -/** N.B. The READ verb performs a write of all (any) supplied data, +/* N.B. The READ verb performs a write of all (any) supplied data, then reads a single byte reply from the target. The WRITE verb only writes. */ @@ -19,7 +22,7 @@ #include -/** Concerning clock rates, +/* Concerning clock rates, the maximimum clock rates are defined on page 4 of the spec. They vary, but are roughly 30MHz. Raising this clock rate might allow for clock glitching, but the GoodFET isn't sufficient fast for that.