This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Loading Binary images..
- From: Surya Prakash Rao <srao at ikanos dot com>
- To: 'Gary Thomas' <gthomas at redhat dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 25 Mar 2002 16:39:37 -0800
- Subject: RE: [ECOS] Loading Binary images..
Hi Gary,
Yaah..I did select the file. Even it displays the status window showing the
file trasfer progress.
But not even a single byte goes out ..I am not getting the header bytes
either 'SOH' or 'STX' at the target end.
Can you please tell me what exactly the following part of the code (in
xyzmodem.c) does ??
>>>>>>>>>>>>>>>>>>>>>>
// Set up the I/O channel. Note: this allows for using a different port
in the future
console_chan =
CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT);
if (chan >= 0) {
CYGACC_CALL_IF_SET_CONSOLE_COMM(chan);
} else {
CYGACC_CALL_IF_SET_CONSOLE_COMM(console_chan);
}
xyz.__chan = CYGACC_CALL_IF_CONSOLE_PROCS();
CYGACC_CALL_IF_SET_CONSOLE_COMM(console_chan);
CYGACC_COMM_IF_CONTROL(*xyz.__chan, __COMMCTL_SET_TIMEOUT,
xyzModem_CHAR_TIMEOUT);
>>>>>>>>>>>>>>
Thanks for your prompt replies...
Regards
Surya
-----Original Message-----
From: Gary Thomas [mailto:gthomas@redhat.com]
Sent: Monday, March 25, 2002 4:18 PM
To: Surya Prakash Rao
Cc: 'ecos-discuss@sources.redhat.com'
Subject: RE: [ECOS] Loading Binary images..
On Mon, 2002-03-25 at 17:11, Surya Prakash Rao wrote:
> I am doing the same way. But I don't see anything coming out of the
> Hyperterminal
> except the last three 'CAN' commands. Why is this happening ?
> Does the Hyperterminal expects something to start the transfer ?
>
Did you tell HyperTerm what file to send?
I've used it before and it worked just fine.
>
> Thanks & Regards
> Surya
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss