msp430-gdb target sim for MSP430FG4617

Help
jingxyz
2008-02-04
2013-03-06
  • jingxyz
    jingxyz
    2008-02-04

    Anybody tried to use msp430-gdb.exe compiled-in simulator to debug sw written for MSP430xG4617?

    I always get a SIGTRAP after trying to run the program (as shown below).  Any clue what went wrong?

    Had tried the stackcheck example provided with the mspgcc toolset.  Able to do step by step trace.  But once i change the makefile to CPU=msp430xG4617.  Same SIGTRAP error was observed.

    --------------------
    (gdb) b main
    Breakpoint 1 at 0x9144: file source/main.c, line 9.
    (gdb) r
    Starting program: /cygdrive/e/904101/KMH (BT-SPP)/Temp/bin/Temp.elf

    Program received signal SIGTRAP, Trace/breakpoint trap.
    0x00000000 in ?? ()
    (gdb)

    thanks in advance