<?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>Thu, 08 Jan 2009 22:32:39 -0800</pubDate>
				<lastBuildDate>Thu, 08 Jan 2009 22:32:39 -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>Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[I am facing a very strange problem with string length in my program. <br /><br />I am getting following compiler error with Keil compiler:<br />*** ERROR L107: ADDRESS SPACE OVERFLOW<br />    SPACE:   DATA    <br />    SEGMENT: _DATA_GROUP_<br />    LENGTH:  002EH<br />Program Size: data=111.2 xdata=0 code=2709<br /><br />The problem occurs if I take the size of string more than 40 i.e. char str[50]<br /><br />But if I reduce the size of string to 40 or less than 40 then code compile without any error.<br /><br />Please help me I need a string of around 160 length so that I can send an SMS using that string.]]></description>
<pubDate>Sat, 02 Aug 2008 04:32:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[Yup...an idata variable should work.It allows you to use all of the 256 bytes.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 02 Aug 2008 11:22:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[hi say2paul,<br />maybe the problem is because the string is occupying the valuable RAM space( which is only 128 bytes in case of 8051). If the string is a fixed value ( u r not modifying the content in the program), try changing it to the following:<br />constant char str[50] <br />this will ensure that the string is stored in the program memory space instead of occupying the data RAM.<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 02 Aug 2008 09:12:18 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[<div class='quote_top'>pdi33 wrote ...</div><div class='quote'><br />hi say2paul,<br />maybe the problem is because the string is occupying the valuable RAM space( which is only 128 bytes in case of 8051). If the string is a fixed value ( u r not modifying the content in the program), try changing it to the following:<br />constant char str[50] <br />this will ensure that the string is stored in the program memory space instead of occupying the data RAM.<br /><br /></div><br /><br />I cannot take it as constant as I need to append data to same string..<br /><br />I think idata can work in this case as I am using AT89C55WD with 256 bytes of RAM.<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 02 Aug 2008 10:26:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[Can I use AT24C08 (external memory) instead??]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 04 Aug 2008 04:27:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[Anybody . . !]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 05 Aug 2008 00:31:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[128 bytes of memory of 8052 architecture is accessible directly using variables stored in ram, rest of 128 can only be accessed using indirect addressing.<br /><br />as sashi said try using idata (use the indirect part of your controller ram)<br /><br />e.g.<br /><div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br /><span style="color: #993333;">unsigned</span> <span style="color: #993333;">char</span> idata abc<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">50</span><span style="color: #66cc66;">&#93;</span>;<br />&nbsp;</div></div><br /><br />also if you want to use the external memory, its good but i would say a hectic process as reading and writing from eeprom is slow.<br /><br />try giving idata a chance <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>Tue, 05 Aug 2008 09:13:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
						<item>
						<title>Re: Strange problem with String length in 8051</title>
<link>http://www.8051projects.net/forum-t11326.html</link>
<description><![CDATA[hi say to paul,<br />As so truely said by ajay, EEPROM programming is slow but if u are planning to use 160 bytes for ur application ,then the uC will have only 96 bytes for all the other processing including the stack. <br />So  i feel u should keep the other global variables and static variables to a minimum. Try using local variables (variables inside functions) wherever possible so that the same RAM can be reused by the uC for multiple functions making the code more efficient.<br />good luck.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 05 Aug 2008 11:30:34 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t11326.html</guid>
</item>
				</channel>
				</rss>