This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about run download sequence


On Fri, 2003-06-20 at 05:26, Aaron Case wrote:
> I can open the file, add breaks, connect to target, and download the file.
> The problem comes when I run the file. It tries to download the file over
> and over. The program gets stuck in the target setting dialog box and is
> unrecoverable at this point.I have to kill the program and restart it. I
> have tried arm elf format and srec format with the same result.

Can you explain the exact sequence of steps that you use to run your
program? (File->Open, click Run, Select "foo" target, port/baud, etc)
Make sure you include what target settings you are attempting to use and
what hardware (MultiICE? ARMulator?).

You should be able to just click Run and it should "just work," provided
everything is okay. (Which it appears not to. :-)

A couple of things to try:
1. Try running to a breakpoint using "vanilla" (command-line) gdb. This
will tell us if there is something wrong with all the "backend" stuff
(gdb) or if the problem lies in the GUI code (Insight).

2. Try opening a debug window when you go to run. You can do this by
opening a console window and entering the command "tk ManagedWin::open
DebugWin" at the "(gdb)" prompt.

3. Keep the console window open when attaching/downloading/running. Any
warnings/errors output to it?

4. Does it work on the built-in simulator?

Gdb should be able to download either of these file formats (elf,srec).

Keith




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]