Monitor improved to measure stack depth of any other application.
[goodfet] / firmware / include / command.h
index c539175..d5e22e6 100644 (file)
@@ -19,6 +19,8 @@ extern unsigned char cmddata[256];
 
 // Monitor Commands
 #define MONITOR_CHANGE_BAUD 0x80
+#define MONITOR_RAM_PATTERN 0x90
+#define MONITOR_RAM_DEPTH 0x91
 
 //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
 
+//SPI commands
+#define SPI_JEDEC 0x80
+#define SPI_ERASE 0x81
+
 //JTAG430 commands
 #define JTAG430_HALTCPU 0xA0
 #define JTAG430_RELEASECPU 0xA1