]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/config.inc
* New config option: SRAM_FILL
[avrcpm.git] / avr / config.inc
index 5e1304ce8541b361339c02c5d0637f7752ba72e8..fba09b8f25597effcfdb78f8078374f050821020 100644 (file)
@@ -74,7 +74,8 @@
 
 .equ BOOTWAIT      = 1
 .equ MEMTEST       = 1
-.equ MEMFILL       = 1
+.equ MEMFILL       = 1         /* Fill DRAM */
+.equ SRAM_FILL     = 1         /* Fill unused SRAM */
 .equ MMC_DEBUG     = 0         /* Increase for more debugging */
 .equ MMC_DEBUG_RDW = 0
 .equ DSKSEL_DEBUG  = 0
 
 #define DEBUGPORT   0x4F
 
-#define startTraceCmd 1                        /* 'OUT (DEBUGPORT),startTraceCmd' starts tracing */
-#define stopTraceCmd  0
+#define startTraceCmd 0x01                     /* 'OUT (DEBUGPORT),startTraceCmd' starts tracing */
+#define stopTraceCmd  0x00
+#define PrintStackCmd 0x02
 
 ; Virtual I2C Interface
 #define I2CSTAT        0x05
 #define MEMFILL_VAL      0x76  /* Fill ram with HALT opcode. */
 #define DBG_TRACE_BOTTOM 0x01  /* Page boundaries for INS_DEBUG and PRINT_PC  */
 #define DBG_TRACE_TOP   0xdc   /* Trace is off, below bottom page and above top page. */
+#define SRAMFILL_VAL    0x5A   /* Fill unused SRAM */
 
 #ifndef DRAM_8BIT
   #define DRAM_8BIT 1          /* 1 = 8bit wide data bus to DRAM (ie two 4-bit Chips)*/