This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: How to RUN a program?


Hi JaiPrakash,
Nice to hear that our discussions helped somebody like you.
Actually my development tools are on Windows NT. I think you are working on UNIX/Linux looking at what you have written here.

Anyway, I will tell you what I have done,

1. Invoke arm-elf-gdb.exe (this is insight 5.0).
2. Open the console window.
3. (gdb) target remote COM2
4. (gdb) set remotebaud 38400 (this is the default in eCos config).
5. (gdb) load hello.exe
6. (gdb) continue.

hello.exe was built using the example programs provided with ecos
ecos/examples directory. There is a make file also, instructions are
provided there to change a few flags.

Hope this should be of some help for you.
Feel free to ask me if you have any other difficulties with which
I can help you.

regards,
- Nagendra.




--

On Thu, 5 Jul 2001 20:27:03    Jaiprakash wrote:
>hello nagendra,
>      i am facing similar situations as you are doing and the discussions
>between you, Johnathan and the rest have helped me a bit.   in your most
>recent mail i learnt you are able to debug ur application with Insight.
>      i'm able to debug only through command line though. could you just let
>me know what steps you follow once you enter the GUI..
>    i follow the following steps at the command line
>1. arm-elf-gdb -nw myapp
>2. set remotebaud
>3. set endian
>4. tar rem /dev/ttyS0
>5.load
>6.disable   (to disable the breakpoint which the gdb sets by default)
>7.continue
>8.break cyg_user_start
>9. and the rest of the commands
>    but i'm not able to acheive this through Insight.  my platform is an
>ARM7 based board.
>thanks
>regards,
>jaiprakash
>
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com


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