This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: processor hangs at 'hal_mon_init'
- From: Rohit Pandita <pandi008 at umn dot edu>
- To: bob dot koninckx at o-3s dot com
- Cc: Gary Thomas <gary at mlbassoc dot com>, ecos-discuss at sourceware dot org
- Date: Mon, 03 Jul 2006 12:41:54 -0500
- Subject: Re: [ECOS] processor hangs at 'hal_mon_init'
- References: <W790762629185061151479637@webmail6> <44A2DCA4.8060403@umn.edu> <1151616124.4774.4.camel@pc-006.vuilenbos.net>
Hi Bob,
I've got it, the problem was with memory layout, it's working now.
Thanks for pointing in the right direction.
Can you also suggest where eCos compatible API/ libraries be found for
MIOS, TPU. Thanks.
Rohit
Bob Koninckx wrote:
Hi,
- using ROM startup, CYGSEM_HAL_USE_ROM_MONITOR not included (RedBoot
set to behave as ROM monitor)
- error occurs at instruction 'STWU R0,0004(R4)' in hal_mon_init.
Before execution: R0=7C71 43A6, R4=FFFF FFFC
After: -no change-
Why is it trying to write to a ROM location (0000 0000) when VSR table
should be copied to RAM, if I understand correctly
That's what you have to find out. Probably your memory layout is not
correct or the memory controller is not configured correctly. Did you
initialize the memory controller ? (see e.g file ec555.S for an example
of how you should do this). Is your RAM supposed to be at address
0x00000000 ?
Bob
--
Rohit Pandita
Graduate Student
Office:
15, Akerman Hall
Mail address:
107, Akerman Hall
Department of Aerospace Engineering and Mechanics
University of Minnesota
110, Union Street S.E.
Minneapolis, MN 55455
Tel: 1-612-625-6561
Fax: 1-612-625-1558
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss