<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=4&amp;t=6809" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2015-01-08T01:40:57+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=6809</id>
<entry>
<author><name><![CDATA[Magicace]]></name></author>
<updated>2015-01-08T01:40:57+01:00</updated>
<published>2015-01-08T01:40:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43465#p43465</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43465#p43465"/>
<title type="html"><![CDATA[Re: How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43465#p43465"><![CDATA[
<blockquote><div><cite>PaulL wrote:</cite><br />Is what you're experiencing similar to this?<br /><br /><a href="http://robosavvy.com/forum/viewtopic.php?f=4&amp;t=14120" class="postlink">http://robosavvy.com/forum/viewtopic.php?f=4&amp;t=14120</a><br /></div></blockquote><br /><br /><br /><br />Thanks for reply ...Problem SOLVED  bad serial socket connection on the Mr-3024 <br />re solder should sort the problem.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7938">Magicace</a> — Thu Jan 08, 2015 1:40 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PaulL]]></name></author>
<updated>2015-01-04T23:51:54+01:00</updated>
<published>2015-01-04T23:51:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43459#p43459</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43459#p43459"/>
<title type="html"><![CDATA[Re: How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43459#p43459"><![CDATA[
Is what you're experiencing similar to this?<br /><br /><a href="http://robosavvy.com/forum/viewtopic.php?f=4&amp;t=14120" class="postlink">http://robosavvy.com/forum/viewtopic.php?f=4&amp;t=14120</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=741">PaulL</a> — Sun Jan 04, 2015 11:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Magicace]]></name></author>
<updated>2014-12-26T22:28:48+01:00</updated>
<published>2014-12-26T22:28:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43455#p43455</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43455#p43455"/>
<title type="html"><![CDATA[Re: How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=43455#p43455"><![CDATA[
Hi All<br />Im Stuck in a loop.<br /><br />every time I switch on RN1 it starts doing the goalkeeper movement and I cant<br />download anything else to clear it . I get communication error from robotbasic 2.5 &amp; 2.7<br />I using a serial to usb connection an all has been fine.<br />Ive not done any firmware update. robo flash says robonova port is closed, so cant do a flash either.<br />any help please.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7938">Magicace</a> — Fri Dec 26, 2014 10:28 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ozfiddler]]></name></author>
<updated>2010-12-06T19:31:40+01:00</updated>
<published>2010-12-06T19:31:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29177#p29177</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29177#p29177"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29177#p29177"><![CDATA[
Brilliant! Just Brilliant!! Thank you so much for this. It worked and I now have it all back to normal. I definitely owe you a beer or three.<br /><br />I'll keep that special file safely stored away in case of future stuff-ups. Cheers mate.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2395">ozfiddler</a> — Mon Dec 06, 2010 7:31 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-12-06T17:58:37+01:00</updated>
<published>2010-12-06T17:58:37+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29174#p29174</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29174#p29174"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29174#p29174"><![CDATA[
The quickest was to make a build of 2.72 with the interpreter disabled. This does not run the errant code, but the download etc should still work, so you can download some good code to flash.<br /><br />It is in the hex file in this zip:<br /><!-- m --><a class="postlink" href="http://robosavvy.com/Builders/i-Bot/c3024ozz.zip">http://robosavvy.com/Builders/i-Bot/c3024ozz.zip</a><!-- m --><br />just download with roboflash, send some good robobasic code to flash, then load the proper 2.72.<br /><br />This was a quick and dirty to avoid too much work and testing. If this does not work, then we need to look in more detail.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Dec 06, 2010 5:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-12-06T13:02:26+01:00</updated>
<published>2010-12-06T13:02:26+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29170#p29170</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29170#p29170"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29170#p29170"><![CDATA[
OK, I will take a look,<br /><br />I cut the code down to this:<br /><dl class="codebox"><dt>Code: </dt><dd><code>'================================================ <br />' <br />' VRbot Template <br />' <br />'================================================ <br /><br />' VRbot definitions and routines <br /><br />GOSUB led_off <br /><br />CONST RES_ERROR = 255 <br />CONST RES_TIMEOUT = 254 <br />CONST RES_WAITING = 253 <br />CONST RES_BUILTIN = 32 <br /><br />CONST SDA = 46 'Use port 46 for Data, constant SDA <br />CONST SCL = 47 'Use port 47 for Clock, constant SCL <br /><br />DIM I2cBuf AS BYTE <br />DIM I2cAddr AS BYTE <br />DIM I2cReg AS BYTE <br />DIM I2cData AS BYTE <br />DIM I2cBit AS BYTE <br />DIM I2cTx AS BYTE <br />DIM I2cRx AS BYTE <br /><br />' VRA = protocol command/status byte <br />' VRA1 = first in/out argument <br />DIM VRA AS BYTE, VRA1 AS BYTE <br /><br />' VRLED = led status <br />'DIM VRLED AS BYTE <br />'VRLED = 1 'off <br /><br />led_on: <br />OUT 52,0 <br />RETURN <br /><br />led_off: <br />OUT 52,1 <br />RETURN <br /><br />' main program begins at Startup label <br />Startup:<br />GOTO Startup </code></dd></dl><br /><br />Which compiles to this in bytecode:<br /><dl class="codebox"><dt>Code: </dt><dd><code>0x10 GOSUB &#91; 0x18&#93;<br />0x13 OUT 52, 0<br />0x17 RET<br />0x18 OUT 52, 1<br />0x1C RET<br />0x1D GOTO &#91; 0x1D&#93;<br />0x20 GOTO &#91; 0x20&#93;</code></dd></dl><br /><br />I am guessing the problem is the RETURN without the GOSUB getting an odd stack value.<br /><br />I will look to either setting the flash, or maybe just a temporary version of 2.72 with the interpreter disabled to allow the download to work.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Dec 06, 2010 1:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ozfiddler]]></name></author>
<updated>2010-12-06T11:34:08+01:00</updated>
<published>2010-12-06T11:34:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29166#p29166</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29166#p29166"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29166#p29166"><![CDATA[
Hi i-Bot - great to hear from you! This is the code (I was modifying the program produced by VRbot).<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>'================================================<br />'<br />' VRbot Template<br />'<br />'================================================<br /><br />' VRbot definitions and routines<br /><br />GOSUB led_off<br /><br />CONST RES_ERROR = 255<br />CONST RES_TIMEOUT = 254<br />CONST RES_WAITING = 253<br />CONST RES_BUILTIN = 32<br /><br />CONST SDA = 46 'Use port 46 for Data, constant SDA<br />CONST SCL = 47 'Use port 47 for Clock, constant SCL<br /><br />DIM I2cBuf AS BYTE<br />DIM I2cAddr AS BYTE<br />DIM I2cReg AS BYTE<br />DIM I2cData AS BYTE<br />DIM I2cBit AS BYTE<br />DIM I2cTx AS BYTE<br />DIM I2cRx AS BYTE<br /><br />' VRA = protocol command/status byte<br />' VRA1 = first in/out argument<br />DIM VRA AS BYTE, VRA1 AS BYTE<br /><br />' VRLED = led status<br />'DIM VRLED AS BYTE<br />'VRLED = 1 'off<br /><br />led_on:<br />OUT 52,0<br />RETURN<br /><br />led_off:<br />OUT 52,1<br />RETURN <br /><br />' main program begins at Startup label<br />GOTO Startup<br /><br />CONST CMD_BREAK       = &amp;H62   ' abort recog or ping<br />CONST CMD_SLEEP       = &amp;H73   ' go to power down<br />CONST CMD_KNOB       = &amp;H6B   ' set si knob &lt;1&gt;<br />CONST CMD_LEVEL       = &amp;H76   ' set sd level &lt;1&gt;<br /><br />etc etc</code></dd></dl><br /><br />I meant to move the led_on and led_off down to the bottom but forgot. Now when I start it up it just gives a pathetic squawk and sits there. It's fine if I go back to 2.5 (I can load up new programs and run them) but as soon as I try 2.72 or your revised firmware it just won't communicate at all.<br /><br />Would be very grateful for any help.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2395">ozfiddler</a> — Mon Dec 06, 2010 11:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-12-06T11:05:35+01:00</updated>
<published>2010-12-06T11:05:35+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29160#p29160</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29160#p29160"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29160#p29160"><![CDATA[
I don't have aprogram to clear the region of flash to store robobasic code, but it should be easy to make one. We can crate a small loadable asm firmware to do that. It may take me a while to find all the files though !<br /><br />Alternatively, it may be enough just to set a &quot;START: GOTO START&quot; into the flash. Or maybe better to fix 2.72 ?<br /><br />I don't quite understand the failure, since the robobasic code is interpreted out of flash and not executed directly. Could you post the code that caused the problem, so I can understand why it might upset the interpreter.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Dec 06, 2010 11:05 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ozfiddler]]></name></author>
<updated>2010-12-06T00:50:01+01:00</updated>
<published>2010-12-06T00:50:01+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29154#p29154</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29154#p29154"/>
<title type="html"><![CDATA[How to clear flash memory - I'm stuck!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6809&amp;p=29154#p29154"><![CDATA[
OK, I've done something stupid (not surprisingly). I mistakenly loaded a new program that had a subroutine right at the top - so when it starts up I assume it goes into a frantic loop and won't talk to me at all.  So now I can't even get a connection established to reload the old program code. Unfortunately I'm using the 2.72 firmware and so the evil program is loaded into the flash memory. I can revert to the 2.5 firmware and load a new program and Robo runs OK like that, but as soon as I upgrade to 2.72 the program that is presumably still stored in flash takes over and it loses the ability to establish a serial connection.<br /><br />Can anyone tell me how to clear the program out of flash memory?? Please!!!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2395">ozfiddler</a> — Mon Dec 06, 2010 12:50 am</p><hr />
]]></content>
</entry>
</feed>