1 Reply Latest reply on Feb 24, 2013 5:20 PM by jasonrc
      • 1. Re: How do I debug using command line gdb?
        The WICED development system provides GDB debugging via OpenOCD.

         

        OpenOCD is a gdb server that communicates with GDB via the GDB remote protocol.

         

         

        Many of the GDB commands that are normally used for debugging local PC programs are not supported when using GDB remote targets.

         

         

        I strongly suggest you use the far superior debugging power of the Eclipse-based WICED IDE.

         

         

        Notes for some commonly used gdb commands:

         

         

        > run         Does not work with WICED because the target is embedded and is always running

         

        > continue  Allows a paused program to continue running

         

        > kill          Has no meaning on an embedded target - the program is always running from flash

         

        > reset      Remote OpenOCD targets dont support this command. Instead use: monitor reset halt