projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct ftdi vendor info
[goodfet]
/
firmware
/
include
/
command.h
diff --git
a/firmware/include/command.h
b/firmware/include/command.h
index
dfa4003
..
3abffad
100644
(file)
--- a/
firmware/include/command.h
+++ b/
firmware/include/command.h
@@
-15,7
+15,7
@@
#define u32 unsigned long
#define u32 unsigned long
-#ifdef msp430
x
2274
+#ifdef msp430
f
2274
//256 bytes, plus overhead
//For chips with very little RAM.
#define CMDDATALEN 0x104
//256 bytes, plus overhead
//For chips with very little RAM.
#define CMDDATALEN 0x104
@@
-35,8
+35,8
@@
extern unsigned char silent;
#define cmddataword ((unsigned int*) cmddata)
#define cmddatalong ((unsigned long*) cmddata)
#define cmddataword ((unsigned int*) cmddata)
#define cmddatalong ((unsigned long*) cmddata)
-#define memorybyte ((
unsigned char*)
0)
-
#define memoryword ((unsigned int*) 0
)
+#define memorybyte ((
char*)
0)
+
//#define memoryword ((unsigned int*) 0)
)
// Global Commands
#define READ 0x00
// Global Commands
#define READ 0x00
@@
-48,6
+48,9
@@
extern unsigned char silent;
#define STOP 0x21
#define CALL 0x30
#define EXEC 0x31
#define STOP 0x21
#define CALL 0x30
#define EXEC 0x31
+#define LIMIT 0x7B /* limit reached */
+#define EXIST 0x7C /* already or doesnt exist */
+#define NMEM 0x7D /* OOM */
#define NOK 0x7E
#define OK 0x7F
#define NOK 0x7E
#define OK 0x7F