[ECOS] executing application in ROM results in SIGBUS

Michael Anburaj embeddedeng@hotmail.com
Sun Sep 21 19:22:00 GMT 2003


Hi Rakesh,

<I may be wrong>

Points:
1. GDB is only meant to debug applications in RAM & not ROM, because it 
needs to manipulate instructions (replace with an instruction to cause abort 
for break points – ARM specific).
2. GDB cannot burn flash <I think so>. So, I guess you need to burn your ROM 
image into the Flash using Redboot menus & run it by issuing 'go'.
3. You can burn the ecos ROM application image starting from 0x24000000 as a 
stand-alone self-booting ROM application.

Hope this helps!
Cheers,
-Mike.




>From: rakesh <mljangir@yahoo.co.in>
>To: ecos-mailing-list <ecos-discuss@sources.redhat.com>
>Subject: [ECOS] executing application in ROM results in SIGBUS
>Date: Sun, 21 Sep 2003 02:43:42 -0700 (PDT)
>
>I  have been running an application on eCos
>successfully. The hardware is ARM Integrator board. I
>have redboot in flash(starting at 0x24000000)
>and I build application startup type as RAM. I load
>application image by connecting gdb to redboot and
>everything works fine.
>Later I tried to load image in ROM. For that I changed
>application startup type as ROM and changed
>.rom_vector loading location to 0x25000000 from
>0x24000000 in target.ld. I loaded the image again by
>gdb connecting to redboot. But executing the
>application resulted in crash giving SIGBUS, Bus
>error. I tried with ROMRAM option also but didn't
>help. Any clue?
>
>Regards
>Rakesh
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.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
>

_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month.  Limited time offer-- 
sign up now!   http://join.msn.com/?page=dept/dialup


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



More information about the Ecos-discuss mailing list