Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

[Help] how to get RAM usage from mspdebug?

$
0
0

Hi,

 

this is probably a dumb question: how can I see the amount of free ram on the chip from within a mspdebug session?

 

This is my current session:

mspdebug rf2500 
MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Trying to open interface 1 on 011
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
FET protocol version is 30394216
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
fet: FET returned error code 4 (Could not find device (or device not supported))
fet: command C_IDENT1 failed
fet: identify failed
Trying again...
Initializing FET...
FET protocol version is 30394216
Configured for Spy-Bi-Wire
Sending reset...
Set Vcc: 3000 mV
Device ID: 0x2553
Device: MSP430G2553
Code memory starts at 0xc000
Number of breakpoints: 2

Available commands:
    =         delbreak  gdb       load      opt       reset     simio     
    alias     dis       help      locka     prog      run       step      
    break     erase     hexout    md        read      set       sym       
    cgraph    exit      isearch   mw        regs      setbreak  

Available options:
    color           gdb_loop        iradix          
    fet_block_size  gdbc_xfer_size  quiet           

Type "help <topic>" for more information.
Press Ctrl+D to quit.


(mspdebug) load ledmatrix.elf
Writing 1518 bytes to c000 [section: .text]...
Writing 1106 bytes to c5ee [section: .rodata]...
Writing   32 bytes to ffe0 [section: .vectors]...



Viewing all articles
Browse latest Browse all 2077

Trending Articles