[ECOS] RedBoot load problem

Ian Campbell icampbell@arcom.com
Thu May 22 10:37:00 GMT 2003

On Thu, 2003-05-22 at 09:47, Martin Schoeberl wrote:
> I'm using an old 486 notebook for first tests. I've installed the eCos
> version from the book 'Embedded Software Dev. w. eCos'. Everything works
> fine till the download of the first example via Hyperterminal. The download
> starts but after about 20KB it stops and host and traget run into timeouts.
> Martin

I found that I needed to apply this patch to get serial downloads to
work in any useful way on my i386 target boards. I'm not sure why they
were disabled (I think someone told me but I can't remember that long
ago), but everything works fine for me with them turned on.


Index: hal/i386/pcmb/current/src/pcmb_serial.c
RCS file:
retrieving revision 1.5
diff -u -b -B -w -p -u -r1.5 pcmb_serial.c
--- hal/i386/pcmb/current/src/pcmb_serial.c     23 May 2002 23:03:16
+++ hal/i386/pcmb/current/src/pcmb_serial.c     14 May 2003 06:00:50
@@ -170,7 +170,8 @@ cyg_hal_plf_serial_init_channel(void* __
     HAL_READ_UINT8(base+CYG_DEV_LSR, lsr);
     ((channel_data_t*)__ch_data)->valid = (lsr != 0xFF);
-//    HAL_WRITE_UINT8(base+CYG_DEV_FCR, 0x07);  // Enable & clear FIFO
+    HAL_WRITE_UINT8(base+CYG_DEV_FCR, 0x07);  // Enable & clear FIFO

Ian Campbell
Design Engineer

Arcom                                   Direct: +44 (0)1223 403 465
Clifton Road                            Phone:  +44 (0)1223 411 200
Cambridge CB1 7EA                       E-Mail: icampbell@arcom.com
United Kingdom                          Web:    http://www.arcom.com

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list