Changes between Version 4 and Version 5 of Tools/Memory Checker
- Timestamp:
- Jan 30, 2009, 4:57:51 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tools/Memory Checker
v4 v5 77 77 * The default base address for the register bank of the memory checker is 0x00004200. This address can be changed but must stay close to 0 to fit on some processor instruction immediate field. You should consider this if you already have components at these addresses. 78 78 * The Memory checker registers bank is protected by a magic value and is unlikely to be modified by an other running software. 79 80 == Output example == 81 82 With the following code using an unitialized stack variable to set a global: 83 84 {{{ 85 int foo; 86 87 void _main(void*unused) 88 { 89 int bar; 90 foo = bar; 91 92 // ... 93 } 94 }}} 95 96 We get the following output: 97 98 {{{ 99 cache0 error: 100 access to uninitialized word 101 at PC=[@0x60100564: (_main + 0x8)] 102 SP=[@0x62207fb8: (context_stack + 0x7f94)] 103 last Dreq: <DataReq mode MODE_KERNEL valid type DATA_READ @ 0x62207fc8 wdata 0 be 0xf> [@0x62207fc8: (context_stack + 0x7fa4)] 104 }}} 105