Internal RAM full, SP=0x00?

Help
ss77
2010-09-30
2013-03-12
  • ss77
    ss77
    2010-09-30

    I was incrementally developing an application. At one stage, it was strange that the program was built without any error with very minor change, but it refuses to run. I realize that the internal RAM was just fully utilized and linker output indicates that SP is set to 0x00 … with 0 bytes available. Wandering if such situation can be flag as an error (or at least as a warning) by the linker.

    Internal RAM layout:
          0 1 2 3 4 5 6 7 8 9 A B C D E F
    0x00:|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|
    0x10:|a|a|a|a|a|a|a|a|a|a|a|b|c|f|g|g|
    0x20:|B|B|B|T|d|d|d|d|d|e|e|e|e|e|e|h|
    0x30:|h|h|i|i|j|k|k|l|l|m|m|m|m|m|m|m|
    0x40:|m|m|m|m|n|n|o|p|p|q|q|q|q|q|r|s|
    0x50:|s|s|s|s|t|t|t|t|u|v|v|v|v|v|v|w|
    0x60:|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|
    0x70:|x|x|x|x|x|x|y|y|y|y|z|D|D|D|Q|Q|
    0x80:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0x90:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xa0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xb0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xc0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xd0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xe0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0xf0:|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|A|
    0-3:Reg Banks, T:Bit regs, a-z:Data, B:Bits, Q:Overlay, I:iData, S:Stack, A:Absolute

    Stack starts at: 0x00 (sp set to 0xffffffff) with 0 bytes available.

    Other memory:
       Name             Start    End      Size     Max    
       ----------- ----- ----- ----- -----
       PAGED EXT. RAM                         0      256  
       EXTERNAL RAM     0x0000   0x0191     402      512  
       ROM/EPROM/FLASH  0x0000   0x1c69    7274     7680  

     
  • Maarten Brock
    Maarten Brock
    2010-10-04

    What have you located at absolute address 0x80 - 0xFF?