* RE: [ECOS] PC target
@ 2001-01-24 9:20 Natarajan, Mekala (CTS)
0 siblings, 0 replies; 4+ messages in thread
From: Natarajan, Mekala (CTS) @ 2001-01-24 9:20 UTC (permalink / raw)
To: 'Koeller, T.'; +Cc: 'ecos-discuss@sourceware.cygnus.com'
Hi Koeller,
To download u'r application program first u need to build ecos gdb
stub. This is something similar to that a monitor program. U need to load
this stub into the bootsector of the floppy.
mount the floppy drive in binmode and then use this command
dd conv=sync if=/d/ecos_stub/ecos_install/bin/gdb_module.bin of=/dev/fd0
once this is done boot the floppy.
mekala
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] PC target
@ 2001-01-24 1:43 Koeller, T.
2001-01-24 1:59 ` Christian Plessl
2001-01-24 2:02 ` Jesper Skov
0 siblings, 2 replies; 4+ messages in thread
From: Koeller, T. @ 2001-01-24 1:43 UTC (permalink / raw)
To: 'ecos-discuss@sourceware.cygnus.com'
I am currently evaluating eCos to see if it's suitable for an upcoming
embedded project. My host environment is Windows NT / Cygwin. For evaluation
purposes only, I am using the PC target with CYG_HAL_STARTUP set to FLOPPY.
I found that the cross-development tools I installed (i386-elf) always
generate elf executables (xxx.exe), which is not really surprising, given
the names of those tools. However, the executables generated cannot be
loaded directly on the target, so I used objcopy to convert them to raw
binary format. This step is not described anywhere in the docs, and I
therefore wonder if I am doing it the way it's supposed to be done. Any
comments?
-----------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-390
Fax +49 (4102) 463-109
mailto:Thomas.Koeller@baslerweb.com
http://www.baslerweb.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] PC target
2001-01-24 1:43 Koeller, T.
@ 2001-01-24 1:59 ` Christian Plessl
2001-01-24 2:02 ` Jesper Skov
1 sibling, 0 replies; 4+ messages in thread
From: Christian Plessl @ 2001-01-24 1:59 UTC (permalink / raw)
To: Koeller, T., 'ecos-discuss@sourceware.cygnus.com'
Hi Thomas
>This step is not described anywhere in the docs, and I
>therefore wonder if I am doing it the way it's supposed to be done. Any
>comments?
Did you have a look at the ecos tutorial for the i386 target?
http://sources.redhat.com/ecos/docs-latest/pdf/ecos-tutorial-i386PC.pdf
The proposed way to go with the ecos excecutables, is to build a loader
application with gdb stubs, which is startet via a boot floppy. This gives
you the possibility to upload and debug applications via gdb, which is
connected via serial null-modem. Using this gdb connection, you can upload
elf binaries directly.
/Chris
--
Christian Plessl <cplessl@ee.ethz.ch>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] PC target
2001-01-24 1:43 Koeller, T.
2001-01-24 1:59 ` Christian Plessl
@ 2001-01-24 2:02 ` Jesper Skov
1 sibling, 0 replies; 4+ messages in thread
From: Jesper Skov @ 2001-01-24 2:02 UTC (permalink / raw)
To: Koeller, T.; +Cc: 'ecos-discuss@sourceware.cygnus.com'
>>>>> "Koeller," == Koeller, T <Thomas.Koeller@baslerweb.com> writes:
Koeller,> I am currently evaluating eCos to see if it's suitable for
Koeller,> an upcoming embedded project. My host environment is Windows
Koeller,> NT / Cygwin. For evaluation purposes only, I am using the PC
Koeller,> target with CYG_HAL_STARTUP set to FLOPPY. I found that the
Koeller,> cross-development tools I installed (i386-elf) always
Koeller,> generate elf executables (xxx.exe), which is not really
Koeller,> surprising, given the names of those tools. However, the
Koeller,> executables generated cannot be loaded directly on the
Koeller,> target, so I used objcopy to convert them to raw binary
Koeller,> format. This step is not described anywhere in the docs, and
Koeller,> I therefore wonder if I am doing it the way it's supposed to
Koeller,> be done. Any comments?
If you follow the instructions here:
http://sources.redhat.com/ecos/docs-latest/tutorials/i386pc/ecos-tutorial.d.html#pgfId=2565417
You will be able to boot a GDB stub on the target. From then on, you
use GDB to download the files over serial.
Jesper
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-24 9:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 9:20 [ECOS] PC target Natarajan, Mekala (CTS)
-- strict thread matches above, loose matches on Subject: below --
2001-01-24 1:43 Koeller, T.
2001-01-24 1:59 ` Christian Plessl
2001-01-24 2:02 ` Jesper Skov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).