<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2009-01-08T08:59:55-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t13614.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>for the past few days i have been working on my data logger.here are the specification as well as the problem i am facing:1.controller : LPC21382.memory : flash 512kb3. Ram : 32 KibWINArm windows Xpusing IAP when i beed to erase data from the sectors i need to erase the complete sector.that means to erase one data i need delete approx 128 records.i have already used around 230 kbs for code.section             size         addr.text             210516            0.data               2524   1073741824.bss                7816   1073744348.stack              8192   1073752320.comment            1632            0.debug_aranges       736            0.debug_pubnames     7835            0.debug_info        33986            0.debug_abbrev       2730            0.debug_line        10207            0.debug_frame        5760            0.debug_str           450            0.debug_loc          7140            0Total             299524now i need to optimise the memory (flash use)i can invest only 20 sectors from base 14 to 19the rest (remaining) shall be used by code and configuration data..my proble:1. i need to edit one selected report (i.e. delete it from flash and update from RAM). without affecting any other record..2.i can write minimum of 256 bytes at atime.. my record sze is only 100 bytes.. i need to utilise the (now wasted memory too..).if some of u frnds have come across this problem before please help me by providing a logic to go by.thnx in advance...Post made: Sunday 05 October 2008 - 18:44:50Posted by: pdi33Post: maybe 'linked list' logic...just an idea not sure still...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>ExperimenterUK</dc:creator>
						<dc:subject></dc:subject>
						<description>Still .. as admin you could add those thanks to my "Thanked" count     Not that I care about that sort of thing</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>shyam, i have a good explample that resembles your requirement, Wavecom's Flash APIs.What they do is same what you want. Now think about logic..   how we can do the same</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>hi Pdi33..thnks for the reply..maybe 'linked list' logicwell linked list is a handy tool when u r playing with RAMhere i am dealing with flash.. malloc (dynamic allocation of memory) may not work here.i dont think i will be able to  implement linked list in memory(flash), cause it has to be written sequentially 256 bytes at a time.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>this is what i am doing=>sector no.20  declare as  SWAP.each record = 60 bytes  so in one page (256 bytes we can have 4 records!!)so 1 record write to SWAP2 record write to SWAP +2563 record write to swap +5124 record write to swap +7685th record..  read record1 and save data1read record 2 and save data2read record3 and save data3read record 4 and save data4erase SWAPcatenate data1 data2 data3 data4 to data,write @ TESTSLOT+0.........write @ TESTSLOT+256i already had some partial successs....lets see. what is in store....my client says   i will have 2 stay @ his place unless this issue is solved!!!!!missing my office</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>with the help and suggestion of ExperimenterUK I have almost solved one of my problems..now i can write/use 240 kbs of the 256 blocks..previously...  I cud write only 60 bytes in the 256 blocks!!wish he wud had posted his suggestions here...I wud have thanked him a hundred times...will post the logic tommorrow..  almost similar yo the one in the previous post!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t13614.html">
						<title>Re: resubmit:data logger lpc2138</title>
						<link>http://www.8051projects.net/forum-t13614.html</link>
						<dc:date>2009-01-08T08:59:55-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>what was the logic?</description>
						</item>
				</rdf:RDF>