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]

PID ROM and eCos




Hi,
	I've got an application that uses serial, and I seem to be getting
serial overruns at 38400 on the serial port on the PID but only when I'm
running eCos out of the FLASH on board, the flash is 16-bit so is probably
slow to load stuff from, 

I've enabled serial FIFOs and set the level to 8 bytes and fixed the
serial driver so this works :-), (patch attached),

So my question is how feasible is to build eCos for RAM, and build a small
routine to link against it that boots up and copies all of eCos into RAM
and starts it ?

Could I use something like redboot or anything like that for this purpose
or is a platform where this has been done ..

Regards,
	Dave.

-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com
Index: ser_16x5x.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c,v
retrieving revision 1.3
diff -u -r1.3 ser_16x5x.c
--- ser_16x5x.c	2000/12/22 02:37:28	1.3
+++ ser_16x5x.c	2001/01/24 15:04:09
@@ -425,8 +425,9 @@
     // is pending of the low bit of the isr is *0*, not 1.
     HAL_READ_UINT8(base+REG_isr, _isr);
     while ((_isr & ISR_nIP) == 0) {
-        switch (_isr&0x6) {
+        switch (_isr&0xE) {
         case ISR_Rx:
+	case ISR_RxTO:
         {
             cyg_uint8 _lsr;
             unsigned char c;

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