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: Redboot vs GDB application download (ARM E7T)


Hello,

the culprit is found, the problem solved:

My code contained some "char" declarations which gcc apparently did not like at all.
Changing the "char" to the corresponding "unsigned char" declarations fixed the problem. The code is now loading and running just as it is when via GDB.


Thanks,

Ali


From: Mark Salter <msalter@redhat.com>
To: Ali Sina <replay688@hotmail.com>
CC: gary@mlbassoc.com, ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Redboot vs GDB application download (ARM E7T)
Date: Fri, 17 Jun 2005 15:34:07 -0400

On Thu, 2005-06-16 at 20:45 +0000, Ali Sina wrote:
> Hello,
>
> is there any difference between loading an application to RAM and running it
> there via Redboot as opposed to via GDB?
>
> On the E7T with a ROM Redboot I observe the following:
> - loading the app to RAM via GDB and starting it (continue) works fine.
> Application has not crashed in months.
> - loading the same code to RAM via Redboot (load -m xmodem) and starting it
> (go) will start the application but the systems hangs after a few seconds.
>
> Anyone a clue as to why this could be happening?
>


The go command will turn off caches by default. Loading and running with
gdb won't turn off caches.

--Mark



_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



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


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