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,
I was trying to run one of the sample program on my SA1110 target,
after refering to the "Getting started" manual.

Now,
I invoke my insight-gdb by running arm-gdb. Then open up a console window (since the insight gui window gave some problem connecting). Now, I type target remote COM2, I am able to connect. I am able to load the program also. But when I say continue, it just stays there for a long time without any output. Where should I look for the output? Am I doing anything wrong?

please suggest.

The GDB console details pasted here...FYR
------------------------------------------------------
(gdb) target remote COM2
Remote debugging using COM2
0x500074c8 in ?? ()

(gdb) load hello.o
Loading section .rodata, size 0x14 lma 0x0
Loading section .text.main, size 0x28 lma 0x0
Start address 0x0 , load size 60
Transfer rate: 480 bits in <1 sec, 30 bytes/write.

(gdb) continue
Continuing.
-------------------------------------------------------

regards,
- Nagendra.

--

On Mon, 02 Jul 2001 22:27:41   Jonathan Larmour wrote:
>Nagendra EM wrote:
>> 
>> Hi All,
>> I have build redboot for SA1110 eval board and with that I am able to boot my target. Now, I need to download the eCos image onto it and try running one of the example programs. Has anyone done this before? What are the steps to be followed?
>> 
>> I am using cygwin tools, the latest repository of eCos from the CVS and the config tool version 2.0.2.
>
>In the first instance I would suggest trying to load and run the eCos tests
>from GDB. To do this, create a new eCos configuration, build the eCos
>library and tests for the default configuration by choosing Build->Tests.
>This should create test executables in the test subdirectory of your chosen
>install tree stored with your configuration. Go to a cygwin prompt and
>start running GDB.
>
>You should also read the Getting Started manual from
>http://sources.redhat.com/ecos/docs-latest/
>
>Jifl
>-- 
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>Come to the Red Hat TechWorld open source conference in Brussels!
>Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/
>


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]