<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding a scripting language to Coldfire M52236 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188529#M8074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was unclear and using future tense... :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the new zip is out, with the library version of StickOS, you'll be able to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2009 21:21:42 GMT</pubDate>
    <dc:creator>RichTestardi</dc:creator>
    <dc:date>2009-06-09T21:21:42Z</dc:date>
    <item>
      <title>Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188522#M8067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;I am on the look for somebody that has some experience with adding scripting capability to an application on a Coldfire.&lt;/SPAN&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;I have made a piece of hardware and written the basic functions to handle the I/O, RS-232 and LAN.&lt;BR /&gt;Now I will like to be able to add the possibility that the user of the hardware can change the functionality by changing a script and then upload it to the Coldfire.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;I have been looking at the Lua and Pawn, but find it very hard to get it integrated and running in my application (Could be my skills, but the result remain the same ;-)).&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;Have any of you tried this, or do you know of any other scripting language that I can use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: Calibri;"&gt;Steen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 19:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188522#M8067</guid>
      <dc:creator>Cremericon</dc:creator>
      <dc:date>2009-06-08T19:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188523#M8068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to take a look at StickOS at &lt;A href="http://www.cpustick.com/" rel="nofollow" target="_blank"&gt;www.cpustick.com&lt;/A&gt;.&amp;nbsp; It runs on an MCF52235 already, and might just run on a 36 (you can download it on the Downloads page)&amp;nbsp;-- otherwise ports within the ColdFire family usually take a day or so.&amp;nbsp; Right now, it "takes over" the MCU as the only application, but even as we speak I'm trying to turn it into a "library" so it can be linked into other applications to provide generic scripting (and the application trivially can add its own new script statements to the core BASIC engine).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:rich@testardi.com" rel="nofollow" target="_blank"&gt;rich@testardi.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 21:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188523#M8068</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-06-08T21:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188524#M8069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have successfully integrated Pawn into my design. It was ARM-based, but it doesn't make a big difference. Pawn ships with the virtual machine in ARM assembly among other versions, so I used that. But it worked fine with ANSI C version of VM too. It didn't take too much effort to do the porting. The overall impression of Pawn was very good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 00:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188524#M8069</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-06-09T00:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188525#M8070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;scifi wrote:&lt;BR /&gt;&lt;P&gt;But it worked fine with ANSI C version of VM too. It didn't take too much effort to do the porting.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have been reading the "Implementer's Guide" and found that the need of memory looked to be big. In the M52236 I only have 4 Kb RAM available for the Pawn. Will that do?&lt;/P&gt;&lt;P&gt;Also I find hard to se were to begin adding the Pawn to my application and find it hard to see if there are any possibilities for success!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188525#M8070</guid>
      <dc:creator>Cremericon</dc:creator>
      <dc:date>2009-06-09T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188526#M8071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been lokking at your homepage, and it looks like somthing that coudt solve my problem;-)&lt;/P&gt;&lt;P&gt;The only thing that it looks like I miss are "printf" look alike functions to the uarts?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Rich T wrote:&lt;BR /&gt;&lt;P&gt;but even as we speak I'm trying to turn it into a "library" so it can be linked into other applications to provide generic scripting (and the application trivially can add its own new script statements to the core BASIC engine).&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:rich@testardi.com" rel="nofollow" target="_blank"&gt;mailto:rich@testardi.com" rel="nofollow" target="_blank&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sounds great any ides on when I can try this "library" (This sound like the )?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 18:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188526#M8071</guid>
      <dc:creator>Cremericon</dc:creator>
      <dc:date>2009-06-09T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188527#M8072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on the library right now (my schedule just cleared up! :smileyhappy:...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will totally allow you to "print" to a uart, just like we allow you to "print" to the badge board's led matrix with it -- you'll be able to follow the badge board example (in parse2.c and run2.c) and do your own thing using the exact same mechanisms...&amp;nbsp; I hope to have it on the website by the end of next week (6/19).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 19:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188527#M8072</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-06-09T19:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188528#M8073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sounds great, looking forward to see the result and the possibility to integrated in to my existing application.&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Rich T wrote:&lt;BR /&gt;&lt;P&gt;you'll be able to follow the badge board example (in parse2.c and run2.c) and do your own thing using the exact same mechanisms...&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have had a look at the parser2.c and run2.c in the skeleton.zip, but they are missing from the zip file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Cremericon on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-06-09&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 20:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188528#M8073</guid>
      <dc:creator>Cremericon</dc:creator>
      <dc:date>2009-06-09T20:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188529#M8074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was unclear and using future tense... :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the new zip is out, with the library version of StickOS, you'll be able to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 21:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188529#M8074</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-06-09T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188530#M8075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Cremericon wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Have been reading the "Implementer's Guide" and found that the need of memory looked to be big. In the M52236 I only have 4 Kb RAM available for the Pawn. Will that do?&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I remember correctly, RAM is needed mostly to store the script (plus its stack+heap.) Besides, the guide mentions that scripts could be executed out of ROM. Some functions in the implementation of Pawn do use rather big automatic variables, but they are nowhere near 4K bytes. So basically the 4K bytes of RAM mostly limits the size of scripts you can run. Depending on what you want to do, this could be enough. Just try compiling some scripts and see how much memory they need. Don't forget to trim down stack+heap size using compiler options.&lt;/P&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Cremericon wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Also I find hard to se were to begin adding the Pawn to my application and find it hard to see if there are any possibilities for success!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;I don't know what to say. I followed the implementer's guide. Besides, Pawn's source code is sufficiently easy to understand. And there is even an 'official' support forum, although it seems rather deserted. It's a shame, really, since Pawn is such a great tool.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 03:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188530#M8075</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-06-10T03:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a scripting language to Coldfire M52236</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188531#M8076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;scifi wrote:&lt;BR /&gt;I don't know what to say. I followed the implementer's guide. Besides, Pawn's source code is sufficiently easy to understand. And there is even an 'official' support forum, although it seems rather deserted. It's a shame, really, since Pawn is such a great tool.&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay perhaps I just was blinded by all the documentation and the fact that there was no sample for the CodeWarrior&lt;BR /&gt;Have just now got the first Pawn script running in my application and got the script to call a C function...&lt;BR /&gt;I think I will keep working this way.&lt;/P&gt;&lt;P&gt;scifi thanks for showing me the way;-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 16:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Adding-a-scripting-language-to-Coldfire-M52236/m-p/188531#M8076</guid>
      <dc:creator>Cremericon</dc:creator>
      <dc:date>2009-06-12T16:30:35Z</dc:date>
    </item>
  </channel>
</rss>

