projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
goodfet.spiflash now does verification.
[goodfet]
/
firmware
/
include
/
command.h
diff --git
a/firmware/include/command.h
b/firmware/include/command.h
index
c539175
..
d5e22e6
100644
(file)
--- a/
firmware/include/command.h
+++ b/
firmware/include/command.h
@@
-19,6
+19,8
@@
extern unsigned char cmddata[256];
// Monitor Commands
#define MONITOR_CHANGE_BAUD 0x80
// Monitor Commands
#define MONITOR_CHANGE_BAUD 0x80
+#define MONITOR_RAM_PATTERN 0x90
+#define MONITOR_RAM_DEPTH 0x91
//CHIPCON commands
#define CC_CHIP_ERASE 0x80
//CHIPCON commands
#define CC_CHIP_ERASE 0x80
@@
-49,6
+51,10
@@
extern unsigned char cmddata[256];
#define JTAG_DR_SHIFT 0x81
#define JTAG_DR_SHIFT20 0x91
#define JTAG_DR_SHIFT 0x81
#define JTAG_DR_SHIFT20 0x91
+//SPI commands
+#define SPI_JEDEC 0x80
+#define SPI_ERASE 0x81
+
//JTAG430 commands
#define JTAG430_HALTCPU 0xA0
#define JTAG430_RELEASECPU 0xA1
//JTAG430 commands
#define JTAG430_HALTCPU 0xA0
#define JTAG430_RELEASECPU 0xA1