<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>programming using command line</title>
		<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line</link>
		<description>Posts in the discussion thread &quot;programming using command line&quot; - Compile a *.aesl file and flash thymio using commandline.</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 07 Sep 2026 18:03:53 +0000</lastBuildDate>
		
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2829792</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2829792</link>
				<description></description>
				<pubDate>Tue, 23 May 2017 06:32:06 +0000</pubDate>
				<wikidot:authorName>riedo</wikidot:authorName>				<wikidot:authorUserId>875981</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The massloader does not close because it is intended to load the same code to many robots; after loading it tells you when you can disconnect your robot, and will load the code to the next robot you connect too.<br /> However, in Windows 10, we have an unsolved issue on which we are working with the disconnection of the robots which is not detected. Other OS do not pose this reconnection problem.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2829434</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2829434</link>
				<description></description>
				<pubDate>Mon, 22 May 2017 19:53:34 +0000</pubDate>
				<wikidot:authorName>mortadella011</wikidot:authorName>				<wikidot:authorUserId>3114877</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Like mentioned above I'm working with FW 9 now.<br /> I use the massloader from Matlab with a system() call. The problem is now that the massloader does not close (no return value) and therefore Matlab can't continue so I have to cancel the operation with Ctrl+C.</p> <p>This may be caused by the change of the protocol, but please consider checking this as well.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2828866</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2828866</link>
				<description></description>
				<pubDate>Mon, 22 May 2017 08:44:45 +0000</pubDate>
				<wikidot:authorName>riedo</wikidot:authorName>				<wikidot:authorUserId>875981</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Indeed, there was a change in the aseba protocol between firmware 9 and 10, and it seems that the asebamassloader contained in the installer package was not recompiled completely. Thanks for your contribution, we will fix this!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2825349</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2825349</link>
				<description></description>
				<pubDate>Thu, 18 May 2017 13:09:39 +0000</pubDate>
				<wikidot:authorName>mortadella011</wikidot:authorName>				<wikidot:authorUserId>3114877</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Reinstalled everything on Windows but nothing changed.<br /> The firmware was up to date but i reinstalled the latest.</p> <p>The only thing I get is (on Windows):</p> <div class="code"> <pre><code>Found Thymio-II on port \\.\COM7</code></pre></div> <p>and on Ubuntu respectively (with self-built aseba from the source on github)</p> <div class="code"> <pre><code>Found Thymio-II on port /dev/ttyACM0</code></pre></div> <p>EDIT: <strong>It finally works now with FW version 9</strong>.<br /> Thank you very much for your support.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2825143</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2825143</link>
				<description></description>
				<pubDate>Thu, 18 May 2017 09:05:00 +0000</pubDate>
				<wikidot:authorName>riedo</wikidot:authorName>				<wikidot:authorUserId>875981</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi again mortadella011,</p> <p>Asebamassloader should give you some output even if the aesl file is corrupted. If the program was loaded the output should be:</p> <div class="code"> <pre><code>! XX bytecodes loaded to target thymio-II, you can disconnect target !</code></pre></div> <p>If the aesl file has a problem it will tell you</p> <div class="code"> <pre><code>Error in XML source file: error occurred while parsing element at line YY, column ZZ&quot;</code></pre></div> <p>If the program seems hung up and does not output anything, then either Thymio is not on the port you specified or there is a problem with your Aseba.</p> <p>I suggest to do the following (on windows):</p> <ol> <li>reinstall Aseba with the latest version from the website</li> <li>use the Thymio firmware upgrader to make sure your Thymio has the latest firmware</li> <li>try again with the following command line and make sure there is no other Aseba Studio open and connected to Thymio</li> </ol> <div class="code"> <pre><code>&quot;C:\Program Files (x86)\AsebaStudio\asebamassloader&quot; test.aesl &quot;ser:name=Thymio-II&quot;</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2825130</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2825130</link>
				<description></description>
				<pubDate>Thu, 18 May 2017 08:54:42 +0000</pubDate>
				<wikidot:authorName>mortadella011</wikidot:authorName>				<wikidot:authorUserId>3114877</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>yes I tried that aswell.<br /> no differences&#8230;<br /> The thing is, that I don't get any information from the programm, just no response.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2825088</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2825088</link>
				<description></description>
				<pubDate>Thu, 18 May 2017 07:39:57 +0000</pubDate>
				<wikidot:authorName>Albidochon</wikidot:authorName>				<wikidot:authorUserId>2924650</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hi all,<br /> did you try, trough the terminal, to cd in the asebamassloader directory to load the command directly in the directory where the program is ?<br /> For your notepad++, the mistake is that you need to edit a programming text with a code editor like for exemple notepad, in raw text.<br /> i hope it helps you</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2824086</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2824086</link>
				<description></description>
				<pubDate>Wed, 17 May 2017 12:33:34 +0000</pubDate>
				<wikidot:authorName>mortadella011</wikidot:authorName>				<wikidot:authorUserId>3114877</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thank you for your quick reply, but it won't work for me.</p> <p>I connected my Thymio via USB and it is on port 4.<br /> So my command should be like this in the directory of the aesl file:</p> <div class="code"> <pre><code>&quot;C:\Program Files (x86)\AsebaStudio\asebamassloader&quot; test.aesl &quot;ser:port=4&quot;</code></pre></div> <p>I am on Windows 10 and I run the command with administrator privileges, since I get no response of the programm, it seems it is hung up and i have to stop it with Ctrl+C.</p> <p>I have the same issue on ubuntu with the following command:</p> <div class="code"> <pre><code>asebamassloader test.aesl &quot;ser:name=Thymio-II&quot;</code></pre></div> <p>My .aesl file is created with asebastudio and has the following sample code in it:</p> <div class="code"> <pre><code>&lt;!DOCTYPE aesl-source&gt; &lt;network&gt; &lt;!--list of global events--&gt; &lt;!--list of constants--&gt; &lt;!--show keywords state--&gt; &lt;keywords flag=&quot;true&quot;/&gt; &lt;!--node thymio-II--&gt; &lt;node nodeId=&quot;1&quot; name=&quot;thymio-II&quot;&gt; onevent buttons if button.forward==1 then call leds.top(0,0,32) else call leds.top(0,0,0) end if button.forward==1 then motor.left.target=200 motor.right.target=200 end if button.center==1 then motor.left.target=0 motor.right.target=0 end if button.backward==1 then motor.left.target=-200 motor.right.target=-200 end if button.left==1 then motor.left.target=-200 motor.right.target=200 end if button.right==1 then motor.left.target=200 motor.right.target=-200 end onevent prox if prox.ground.delta[0]&lt;300 or prox.ground.delta[1]&lt;300 then motor.left.target=0 motor.right.target=0 call leds.top(32, 0, 0) end&lt;/node&gt; &lt;/network&gt;</code></pre></div> <p>What I could find out so far is that when I save the file with asebastudio and open it with notepad++, there is a problem with the coding: It can't display the &quot;&lt;&quot;, I just get &quot;&amp;lt;&quot; sign. Correcting that, nothing changes when i use the asebamassloader command.</p> <p>Thank you in advance for your help.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2822933</guid>
				<title>Re: programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2822933</link>
				<description></description>
				<pubDate>Tue, 16 May 2017 13:14:01 +0000</pubDate>
				<wikidot:authorName>riedo</wikidot:authorName>				<wikidot:authorUserId>875981</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>You can do this through asebamassloader. For example in windows you'd have something like:</p> <div class="code"> <pre><code>asebamassloader.exe yourfile.aesl &quot;ser:port=portnumber&quot;</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-2274537#post-2817822</guid>
				<title>programming using command line</title>
				<link>http://aseba.wikidot.com/forum/t-2274537/programming-using-command-line#post-2817822</link>
				<description></description>
				<pubDate>Thu, 11 May 2017 18:36:56 +0000</pubDate>
				<wikidot:authorName>mortadella011</wikidot:authorName>				<wikidot:authorUserId>3114877</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I want to compile a *.aesl file and load it on the thymio without using the IDE.<br /> Is there a way to do this by using the terminal?</p> <p>Thank you in advance!<br /> mortadella011</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>