X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fcommand.h;h=7eb1f610b6a5b155c35eaef702f1d1c66126787d;hp=c53917598f242a5a9f7de9cfd27609ab95490df1;hb=92560226caf1a463eb144324978b0a390327e09e;hpb=9e13b1450d770a5645468221d0eacc1533d654a9;ds=sidebyside diff --git a/firmware/include/command.h b/firmware/include/command.h index c539175..7eb1f61 100644 --- a/firmware/include/command.h +++ b/firmware/include/command.h @@ -49,6 +49,11 @@ extern unsigned char cmddata[256]; #define JTAG_DR_SHIFT 0x81 #define JTAG_DR_SHIFT20 0x91 +//SPI commands +#define SPI_JEDEC 0x80 +#define SPI_ERASE 0x81 +#define SPI_WRITE 0x82 + //JTAG430 commands #define JTAG430_HALTCPU 0xA0 #define JTAG430_RELEASECPU 0xA1