Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] REG: Memory Storage on LPC

2005-11-15 by Samuel

To store in flash you can use IAP, the file saving
stuff is a little diffcult to use with IAR, there is
functions like fopen and stuff but, but you need to
wrtie this function out and tie them to your
filestructure, its really messy so I would suggest
either geting a OS with a filesystem, or writing a
simple filestructure for your project, there is alot
of info on filesystem in the previous messages and a
recent update of a fat source code in the download
section, 

Hope this helps

Samuel 

--- rockraj_2003 <rockraj_2003@...> wrote:

> Dear Friends,
> 
> Now i am doing a prototype of Wireless Data
> Acquisiton System.
> I am using Lpc 2148. It has 512KB flash. I want to
> use the Flash for
> Data Storage. 
> 
> Is it Possible to use the Flash for Storing the
> Current receiving Data.
> I am using the compiler of IAR Embedded WorkBench.
> 32K
> limit(Evaluation Version)
> 
> If it is Possible then how to store in Flash.
> 
> some Doubts on memory:
> 
> If i am declaring an Array int COUNT[1000] in my
> program,
> where the 2000 bytes of memory will be allocated.
> 
> Is it allocated in Flash or in RAM.
> 
> kindly clarify my doubt.
> 
> One more question on File Handling.
> 
>  How to handle Files in IAR.
> 
> can any one send some example codes on Files and
> Assembly Program,
> which works on LPC 2106.
> 
> 
> with regards,
> Rajendra 
> 
> 
> 
> 
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.