This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos Array memory size
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Yong Chen Tan <oricon776 at hotmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 2 Oct 2008 08:54:47 +0200
- Subject: Re: [ECOS] eCos Array memory size
- References: <BAY112-W169EDF3E433E8CDA605548EF3D0@phx.gbl>
On Thu, Oct 02, 2008 at 06:47:20AM +0000, Yong Chen Tan wrote:
>
>
> Hi, I am currently developing a RFID application with eCos using AT91RM9200 processor. I meet with some problems when I am trying to capture all the incoming bits from RFID tag response.
>
> I actually declared an array int raw_data[2238]. Is it too big for an array? When I am capturing such a big response, my RFID application hangs. I got no problems capturing the bits reponse with a smaller raw_data value. (Eg, raw_data[500]) May I know what is the maximum memory allocated for an int array? Is there any way to expand this memory? Thanks
Where in memory is this array? Is it static allocated? Allocated by
malloc? On the stack?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss