This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
got struck in running ecos application from ROMRAM
- From: Ganapat Rao P Kulkarni <gpkulkarni at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 30 Mar 2005 12:08:25 +0530
- Subject: [ECOS] got struck in running ecos application from ROMRAM
- Reply-to: Ganapat Rao P Kulkarni <gpkulkarni at gmail dot com>
Hi group,
I have created a bootloader application whihc gets
bootstrping from vectors.S and give control to my
application main function.
Initially i have tried to work it form ROM.
I am able to do it.
Now i am trying to do the same with ROMRAM feature.
i.e for few instructions (im my case ,till mmu is
enabled ) it will executes from the flash then it will
executes from ram. To do this i have made default
option ROMRAM in cdl file then created *.ecc file.
With this, i have compiled my application and flashed
it on my target (ARM9TDMI).
Now i am getting the prefetch abort exeception for
next instruction atfter enabling the mmu.
Please let me know what are all we need to take into
consideration while making it work with ROMRAM
feature.
thanks in advance
best regards
ganapat
PS:in this case i have assumed both ldi file rom.ldi
and romram.ldi (in dir pkgconf) are used together to
generate the final binary when you enable CYG_STARTUP=
ROMRAM.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss