What version of msp430-gdb are you running?   Where did you get it?

do..

dpkg -l "*msp430*"

and how do you have apt configured?    What repository are you using to get
the tools from?



On Sat, Jun 22, 2013 at 5:10 PM, John Willauer <jo...@willauers.net> wrote:

>  How do I eliminate the "Segmentation fault" that occurs when I start
> msp430-gdb  using the following procedure Jose Luis Honorato described in
> his response to Ravim.
>
> When the msp430-gdb is started, in the second shell, a Segmentation fault
> is reported then the msp430-gdb terminates.
>
> I am trying to use  gdb  to debug code running on a Launchpad with a
> msp430g2553 chip.
>
>
> --
> John
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>
> On 06/22/2013 01:06 PM, Eric Decker wrote:
>
>
>  Just asking how to get rid of a "seg fault" isn't to helpful.
>
>  What program was actually running?   What version?  What address?
>
>
> On Sat, Jun 22, 2013 at 11:55 AM, John Willauer <jo...@willauers.net>wrote:
>
>> How do I eliminate the "Segmentation fault" I get when I try it using:
>>
>>    Ubuntu          12.04
>>    mspdebug     0.18-1
>>    gdb-msp430  7.2~mspgcc-7.2.2
>>    gcc-msp439  4.5.3~mspgcc-201
>>
>> --
>> John
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>
>>
>>
>> On 06/20/2013 09:53 AM, Jose Luis Honorato L. wrote:
>>
>>>  Hi Ravim,
>>>
>>> I can't see the output messages you intended to include, but here's a
>>> short
>>> how-to. I just hope you don't have a specific problem with your setup.
>>>
>>> You can use the ez430-FET emulator to program the msp-exp430f5529 without
>>> any external hardware. Just plug your mini USB cable to the lower left
>>> USB
>>> connector (the one in the ez430-FET emulator) and run:
>>>
>>> sudo mspdebug rf2500 "prog bin.elf"
>>>
>>> That should program the device after a few console messages.
>>>
>>> You can use mspdebug with gdb too, for that you should:
>>>
>>>     1. Run mspdebug (sudo mspdebug rf2500)
>>>     2. In mspdebug, type gdb
>>>     3. In another window, run msp430-gdb
>>>     4. In gdb, type target remote localhost:2000
>>>     5. Done
>>>
>>> This is assuming you have all these tools installed, if not there are
>>> plenty of guides out there on how to install them.
>>>
>>> Kind regards,
>>> Jose
>>>  _______________________________________________
>>> Mspgcc-users mailing list
>>> Mspgcc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Mspgcc-users mailing list
>> Mspgcc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>>
>>
>
>
>  --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to