<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rss  version="2.0">
				<channel>
				<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>

<language>en-gb</language>
				<copyright>2008 Rickey's World</copyright>
				<managingEditor>contact@nospam.com (Ajay Bhargav)</managingEditor>
				<webMaster>contact@nospam.com (Ajay Bhargav)</webMaster>
				<pubDate>Wed, 07 Jan 2009 11:19:42 -0800</pubDate>
				<lastBuildDate>Wed, 07 Jan 2009 11:19:42 -0800</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
				<textInput>
				<title>Search</title>
				<description>Search 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes</description>
				<name>query</name>
				<link>http://www.8051projects.net/search.php</link>
				</textInput>
						<item>
						<title>resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[for the past few days i have been working on my data logger.<br />here are the specification as well as the problem i am facing:<br /><br />1.controller : LPC2138<br />2.memory : flash 512kb<br />3. Ram : 32 Kib<br />WINArm windows Xp<br /><br />using IAP when i beed to erase data from the sectors i need to erase the complete sector.<br />that means to erase one data i need delete approx 128 records.<br />i have already used around 230 kbs for code.<br />section             size         addr<br />.text             210516            0<br />.data               2524   1073741824<br />.bss                7816   1073744348<br />.stack              8192   1073752320<br />.comment            1632            0<br />.debug_aranges       736            0<br />.debug_pubnames     7835            0<br />.debug_info        33986            0<br />.debug_abbrev       2730            0<br />.debug_line        10207            0<br />.debug_frame        5760            0<br />.debug_str           450            0<br />.debug_loc          7140            0<br />Total             299524<br /><br />now i need to optimise the memory (flash use)<br />i can invest only 20 sectors from base 14 to 19<br />the rest (remaining) shall be used by code and configuration data..<br />my proble:<br />1. i need to edit one selected report (i.e. delete it from flash and update from RAM). without affecting any other record..<br />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..).<br /><br />if some of u frnds have come across this problem before please help me by providing a logic to go by.<br />thnx in advance...<br /><br /><br />Post made: Sunday 05 October 2008 - 18:44:50<br />Posted by: pdi33<br /><br />Post: maybe 'linked list' logic...<br />just an idea not sure still...<br />]]></description>
<pubDate>Tue, 07 Oct 2008 03:36:53 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[<img src='http://www.8051projects.net/e107_images/emotes/yahoo/9.gif' alt='' style='vertical-align:middle; border:0' />  <br />Still .. as admin you could add those thanks to my "Thanked" count  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <br /><br />Not that I care about that sort of thing <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 08 Oct 2008 14:19:20 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[shyam, i have a good explample that resembles your requirement, Wavecom's Flash APIs.<br /><br />What they do is same what you want. Now think about logic.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  how we can do the same <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 07 Oct 2008 06:26:35 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[hi Pdi33..<br /><br />thnks for the reply..<br /><br /><div class='indent'>maybe 'linked list' logic</div><br /><br />well linked list is a handy tool when u r playing with RAM<br /><br />here i am dealing with flash.. malloc (dynamic allocation of memory) may not work here.<br />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.<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 07 Oct 2008 03:40:13 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[this is what i am doing=>sector no.20  declare as  SWAP.<br />each record = 60 bytes  so in one page (256 bytes we can have 4 records!!)<br />so 1 record write to SWAP<br />2 record write to SWAP +256<br />3 record write to swap +512<br />4 record write to swap +768<br /><br />5th record..  <br />read record1 and save data1<br />read record 2 and save data2<br />read record3 and save data3<br />read record 4 and save data4<br /><br />erase SWAP<br />catenate data1 data2 data3 data4 to data,<br /><br />write @ TESTSLOT+0<br />...<br />...<br />...<br />write @ TESTSLOT+256<br /><br /><br />i already had some partial successs....<br /><br />lets see. what is in store....<br />my client says   i will have 2 stay @ his place unless this issue is solved!!!!!<br />missing my office  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/2.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 07 Oct 2008 07:28:28 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[with the help and suggestion of ExperimenterUK <br />I have almost solved one of my problems..<br /><br />now i can write/use 240 kbs of the 256 blocks..<br />previously...  <br />I cud write only 60 bytes in the 256 blocks!!<br /><br />wish he wud had posted his suggestions here...<br />I wud have thanked him a hundred times...<br /><br />will post the logic tommorrow..  almost similar yo the one in the previous post!<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 07 Oct 2008 15:23:15 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
						<item>
						<title>Re: resubmit:data logger lpc2138</title>
<link>http://www.8051projects.net/forum-t13614.html</link>
<description><![CDATA[what was the logic? <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 25 Oct 2008 14:08:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t13614.html</guid>
</item>
				</channel>
				</rss>