<?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=5&amp;t=6791" />

<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>2010-12-18T01:09:14+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=6791</id>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-17T19:25:32+01:00</updated>
<published>2010-12-17T19:25:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29389#p29389</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29389#p29389"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29389#p29389"><![CDATA[
OK, so now I will set about making a template project for visual Studio by importing an AVRStudio makefile, the project will just be a simple LED chaser for CM510 .<br /><br />The idea is that using the FirmUp app in auto mode Visual Studio will allow the user to just hit &lt;CTRL&gt; and the code will compile, link and then the user will just have to press the red MODE button and then new firmware will be uploaded and begin execution.<br /><br />This saves time usually spent with terminal sending #s, selecting file etc.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Fri Dec 17, 2010 7:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-17T13:29:25+01:00</updated>
<published>2010-12-17T13:29:25+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29382#p29382</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29382#p29382"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29382#p29382"><![CDATA[
The application can be downloaded here:<br /><br /><a href="http://www.ledset.com/bioloid/apps/FirmUp_V101.zip" class="postlink">http://www.ledset.com/bioloid/apps/FirmUp_V101.zip</a><br /><br />Any bugs or suggestions, let me know.<br /><br /><img src="http://www.ledset.com/bioloid/photos/firmup.jpg" alt="Image" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Fri Dec 17, 2010 1:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-17T00:00:10+01:00</updated>
<published>2010-12-17T00:00:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29377#p29377</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29377#p29377"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29377#p29377"><![CDATA[
Sit tight folks, my problem may be answered in this thread:<br /><!-- m --><a class="postlink" href="http://robosavvy.org/forum/viewtopic.php?p=6304">http://robosavvy.org/forum/viewtopic.php?p=6304</a><!-- m --><br /><br />edit:<br />No it wasn't my problem was different: I ended up sniffing the port while running RoboPlus Terminal.<br /><br />Things I needed to correct:<br /><br />Needed to send &quot;\rLD\r&quot;, I was sending &quot;LD\r\n&quot;<br />Added checksum byte onto the end of BIN<br /><br />It works fine now, also added option to start running code as soon as upload finished using &quot;\rGO\r&quot; command.<br /><br />I will link to the .exe tomorrow, time to sleep now.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Fri Dec 17, 2010 12:00 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-16T23:01:19+01:00</updated>
<published>2010-12-16T23:01:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29375#p29375</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29375#p29375"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29375#p29375"><![CDATA[
I have almost finished writing a small windoze app to make firmware dev a little faster.<br /><br />Once hand configured it can be incorporated into a toolchain using command line arg &quot;-AUTO&quot;. The app remembers the last settings in a small ini file in the app directory.<br /><br />It all works fine:<br /><br />Loads .hex<br />Performs Hex2Bin (verified against standard hex2bin)<br />Opens port at 57600 8N1<br />Sends # stream<br />Waits for CM510 &quot;Boot loader&quot; reply<br />(power cycle CM510 to get here)<br />Sends &quot;LD&quot; command<br />Waits for CM510 &quot;Ready..&quot; reply<br /><br />THEN PROBLEM:<br />Tries to send the raw BIN and after first byte gets reply:<br /><blockquote class="uncited"><div><br />Error<br /> Rewriting:0X0000<br /> Size:0X00000001  Checksum:00-0A<br /></div></blockquote><br /><br />Anyone been here before and can tell me what I'm doing wrong, if not I'll have to try and spy on the serial line somehow to see what the robotis terminal is actually sending after the CM510 sends &quot;Ready..&quot;<br /><br /><img src="http://www.ledset.com/bioloid/photos/firmup.png" alt="Image" /><br />P.S. This app when completed will be free for all to download.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Thu Dec 16, 2010 11:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-16T23:16:52+01:00</updated>
<published>2010-11-30T23:08:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29077#p29077</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29077#p29077"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29077#p29077"><![CDATA[
<blockquote><div><cite>Fritzoid wrote:</cite><br />CM-510 bootloader operates at one speed only, 56 Kbs!  Faster ZIGBEE won't be recognized.<br /><br />AX-12 bootloader operates at same speed.<br /><br />CM-510 dynamixel bus would have to operate at 56 Kbs to upload firmware to the AX-12.  (difficult but not impossible).<br /></div></blockquote><br /><br />Thanks for the info. OK, so bootloader is fixed at same speed as the working bus which is set low so as not to hog clock cycles.<br /><br /><blockquote><div><cite>Fritzoid wrote:</cite><br />Plus I doubt that the CM-510 firmware will get around to sending ##'s in time for the servo bootloader to be satisfied.<br /><br />I'll stick with the USB2Dynamixel for servo firmware upgrades!<br /></div></blockquote><br /><br />So the AX12 has to RX ##'s within a certain time after reset due to poweron and the CM-510 will not have had time to initialise, RX the CMD and send the ##'s. Looks like my WIFI development pipe dreams can go on hold for the time being.<br /><br />I will drop into your embedded C thread, because that is what I am mainly interested in, writing new CM510 (and probably AX12) firmware.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Tue Nov 30, 2010 11:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2010-11-30T20:44:09+01:00</updated>
<published>2010-11-30T20:44:09+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29074#p29074</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29074#p29074"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29074#p29074"><![CDATA[
CM-510 bootloader operates at one speed only, 56 Kbs!  Faster ZIGBEE won't be recognized.<br /><br />AX-12 bootloader operates at same speed.<br /><br />CM-510 dynamixel bus would have to operate at 56 Kbs to upload firmware to the AX-12.  (difficult but not impossible).<br /><br />Plus I doubt that the CM-510 firmware will get around to sending ##'s in time for the servo bootloader to be satisfied.<br /><br />I'll stick with the USB2Dynamixel for servo firmware upgrades!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Tue Nov 30, 2010 8:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-11-30T16:55:37+01:00</updated>
<published>2010-11-30T16:55:37+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29065#p29065</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29065#p29065"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29065#p29065"><![CDATA[
OK, after looking at ZIG-100/110 docs:<br /><br /><!-- m --><a class="postlink" href="http://support.robotis.com/en/product/auxdevice/communication/zigbee_manual.htm">http://support.robotis.com/en/product/a ... manual.htm</a><!-- m --><br /><br />I think it can appear like a bi-dierectional serial line interfacing straight to the ATMEGAs UART. I will try and set the baud rate to max zigbee speed of 250kbps which makes binary upload around 30kB per second, not too painful, less than 10 seconds for full 256kB progmem. Of course I'll need to use a zig2serial board and the USB2Dynamixel as a serial port because my laptop only has USB. <br /><br />One other thought: with this configuration it would also be possible to upload BIN to any or all attached AX12 as well if a pass through function was written into CM510 which did the necessary # sends and other chars necessary to awaken the ATMEGA8 bootloader before squirting in the BIN. This would require some 2way protocol because ATMEGA2561 RAM couldn't hold all the BIN for ATMEGA8. <br /><br />Maybe this has all been covered before, but I couldn't find it. Bioloid sure is a versatile system, an ATMEGA8 in each servo is very nice.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Tue Nov 30, 2010 4:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-18T01:09:14+01:00</updated>
<published>2010-11-30T15:07:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29058#p29058</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29058#p29058"/>
<title type="html"><![CDATA[CM510 firmware upload with one click for Windows]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6791&amp;p=29058#p29058"><![CDATA[
edit: changed thread title (again)<br /><br />Hello All,<br /><br />First of all my compliments to all of your great work on this forum, I really enjoy reading it.<img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br />I am about to start writing for the CM510 and AX12+ (ATMEGA2561 and ATMEGA8).<br /><br />Before I start writing in earnest I want to set up my development environment to be as sweet as possible; I will be using VisualStudio2010 for its code complete functions (IMHO: necessary in larger c++ projects) and adding some postbuild commands to do hex2bin and then squirt the new BIN into the CM510. So it will be like AVR studio but with all the cool features of VS2010.<br /><br />I would really like a wireless connection between my PC and CM510 to negate the need to have a cable to upload new .bin to CM510. <br /><br />My question is, have any of your good selves looked at doing this, perhaps you could save me a few hours by giving me a heads up. For example:<br /><br />[1]<br />Could the ZIG110 module pair supplied in the BioloidPremium kit be used?<br /><br />[2]<br />Would it require a new bootloader for the ATMEGA2561?<br /><br />[3]<br />Would some minor HW hack be necessary?<br /><br />edit:<br />I think I have answered my above questions.<br />[1]:yes, but it will require a zig2serial board<br />[2]:no<br />[3]:no<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Tue Nov 30, 2010 3:07 pm</p><hr />
]]></content>
</entry>
</feed>