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]
Other format: [Raw text]

Re: ecos for ATLAS (MIPS 4Kc)


On Friday 19 July 2002 08:40, Mike A wrote:
> Hi,
>
> I could run the examples from ecos package 1.3 (hello, serial, simple-alarm
> & twothreads) on my ATLAS (MIPS 4Kc) board. The ecos repository is in sync.
> with the latest source using wincvs.
>
> All these examples were built for the ROM with the ROM start-up & ran
> Standalone (ROMable code) out of Flash. I found some problems while running
> them. It was evident while running simple-alarm & twothreads images. There
> seems to be some problem with the system tick timer. I believe task
> switching is not happening due to this & also the OS timers are not
> ticking. I am still to work on this & get closer to the problem.
>
> If any of you have a clue on this, please share with me. Thanks a lot.
>
> Cheers!!
> -Mike.
>

It might be, that Your timer tick interrupt doesnt work. First check if the 
interrupts work?

And : if You build ROM code, You must enable the following:
  CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE

Regards
iz




>
>
> From: Iztok Zupet <iz@vsr.si>
>
> >Reply-To: iz@vsr.si
> >To: "Mike A" <embeddedeng@hotmail.com>
> >CC: ecos-discuss@sources.redhat.com
> >Subject: Re: [ECOS] ecos for ATLAS (MIPS 4Kc)
> >Date: Mon, 17 Jun 2002 10:30:46 +0200
> >
> >On Monday 17 June 2002 10:05, Mike A wrote:
> > > Hi Iztok,
> > >
> > > Thanks for you help.
> > >
> > > Now I need a more realistic ecos build...
> > >
> > > 1. A sample ecos application over YAMON with srec output downloadable
> >
> >over
> >
> > > the tty0 serial using “load asc:” command. Or
> > > 2. A ROMable application to run  out of Flash.
> > >
> > > If you already have a very simple application (just a few tasks, some
> > > IPCs), please send it across & a Configuration file, .ecc file. This
> >
> >will
> >
> > > get me started. It will help me a lot… This just an hobby for me.
> > >
> > > I work for openwave.com as an embedded engineer & I work on ARM7 over
> > > there. The ATLAS board is my own & I work on it at home. Thanks a lot
> >
> >for
> >
> > > helping me out!!!
> > >
> > >
> > > -Mike.
> >
> >Just do a "make tests" in the configuration tool and select the
> > appropriate CYG_HAL_STARTUP_RAM or CYG_HAL_STARTUP_ROM (also in
> > configuration tool).
> >
> >In the install subdirectory of Your configuration tool project, there will
> >be
> >many test binaries (for ROM startup) or many elf images(eg for RAM
> >startup).
> >
> >Since I dont use Windows for my eCos development platform, I can't tell
> > You really how the Windows configuration tool works, but nevertheless I
> > suggest:
> >
> >  Try to build RedBoot for Your target with CYG_HAL_STARTUP_ROM enabled,
> >first!
> >Then You will be able to use GDB or Insight to download test applications
> >built with CYG_HAL_STARTUP_RAM enabled and debug them.
> >
> >  Maybe somebody else, familiar with Windows version of eCos configtool
> >will
> >help You build the RedBoot for Your target. But first read about RedBoot
> >here: <http://www.redhat.com/embedded/technologies/redboot/>
> >
> >iz
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com


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


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