Re: CrossWorks as debugger

Started by fjrg...@yahoo.com June 1, 2007
I tried that option, but I don't know how to tell crossstudio that I just want to debug. When creating the Externally Built Executable project I cannot see any option to load my elf file and then to debug it.

CrossStudio IDE is nice, but I like more Eclipse (there are more options for editing) and free tool-chains. However the CrossStudio's debugger is really amazing!!

If anyone knows how to do that or has a link to other place to review please tell me. Thanks in advanced =)
> Hi,
>
>> Hi there,
>> Is it possible to use CrossWorks as debugger using elf file
>> generated by
>> external tools? To use CrossWorks with Wiggler interface and
>> to import
>> elf or other file and to debug it!
>> Best regards,
>
>Yes, you can do that. There is an Externally Built Executable project
>type.
>
>--
>Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
>CrossWorks for MSP430, ARM, AVR and now MAXQ processors
>
>
>

An Engineer's Guide to the LPC2100 Series

> I tried that option, but I don't know how to tell crossstudio
> that I just want to debug. When creating the Externally Built
> Executable project I cannot see any option to load my elf
> file and then to debug it.

1) File->New->New Blank Solution
2) New project window pops up, in the left window select the chip you are
using, in the right window select externally built executable.
3) Click ok.
4) Project setup window pops up in which you select the target processor AND
the executable file you want to debug.

Job done?

Regards,
Richard.

+ http://www.FreeRTOS.org
A free real time kernel for 8, 16 and 32bit systems.

+ http://www.SafeRTOS.com
An IEC 61508 certified real time kernel for safety related systems.
Hi,

> I tried that option, but I don't know how to tell crossstudio that I
> just want to debug. When creating the Externally Built Executable
> project I cannot see any option to load my elf file and then to debug
> it.

CrossStudio won't know how to load the application at all because you
haven't told it, so you'll need to load it outside of CrossStudio. This is
particularly true of systems which need their RAM set up before loading or
FLASH programmed. That's why the New Project wizard does all that setting
up for you.

> CrossStudio IDE is nice, but I like more Eclipse (there are more
> options for editing) and free tool-chains. However the CrossStudio's
> debugger is really amazing!!

I have my own opinions of Eclipse. If you're more inclined to Eclipse and
free toolchains, then I'm in no way stopping you from forging ahead with
them, there's a lot to choose from.

-- Paul.