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]

RE: Problems booting from FLASH on ARM7/AT91


Thank you very much for your input.

After a long debugging session, we found that the wrong timer was
initialized
and used for eCos. This lead to that eCos never got a tick and got stuck in
the idle loop. As always the worst bugs are the the ones that are the most
uncomplicated. But at least I've gained some experience when it comes to the
the boot process of ARM7 and the vector setup of eCos for ARM. 

We got down to some low level debugging by using some registers and a free
I/O pin on a PLD connected to the AT91 to send a serial debug output message
that we measured on an oscilloscope (both serial ports on the AT91 are used
for other functions). 

Thank you for your ideas.

Regards,
Karl-Magnus


> -----Original Message-----
> From: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Sent: den 12 augusti 2001 21:58
> To: Möller Karl-Magnus
> Cc: ecos-discuss@sourceware.cygnus.com
> Subject: Re: [ECOS] Problems booting from FLASH on ARM7/AT91
> 
> 
> Karl-Magnus.Moeller@combitechsystems.com wrote:
> > The first thread that displays a welcome
> > message on the LCD also starts. But right after that, it seems like
> > everything just locks up. And I just can't understand why.
> 
> You could use the old "printf" technique to see how far it gets (or
> "diag_printf" would be better in eCos). But my first guess 
> would be some
> problem with the clock interrupt. If you were having problems with the
> memory mapping, perhaps the IRQ vector is not pointing into 
> the memory map
> with the correct addresses.
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 
> (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || 
> Opinions==mine
> 


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