delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Message-ID: | <COL121-W40FCC8F0E9CEE897F0C1A4C6A40@phx.gbl> |
X-Originating-IP: | [85.131.65.206] |
From: | Hannu Vuolasaho <vuokko AT msn DOT com> |
To: | <geda-user AT delorie DOT com> |
Subject: | RE: [geda-user] OT scripting inside an MCU |
Date: | Sun, 2 Sep 2012 21:16:28 +0300 |
Importance: | Normal |
In-Reply-To: | <50415C6B.7020402@ecosensory.com> |
References: | |
<CACwWb3DPSG8YgiTsHnfbQE0uyE7X57wPUG4+6-1+XAObLZ=x2Q AT mail DOT gmail DOT com> | |
<5040BF06 DOT 9040601 AT ecosensory DOT com> | |
<CACwWb3AGf1LTJ75bWFN3zSWbJtXHfCyxebbKF_GDC70=V-fj4g AT mail DOT gmail DOT com>,<50415C6B DOT 7020402 AT ecosensory DOT com> | |
MIME-Version: | 1.0 |
X-OriginalArrivalTime: | 02 Sep 2012 18:16:28.0627 (UTC) FILETIME=[12441230:01CD8937] |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
--_9d5ec2fb-5940-4807-b08d-869053a82b8d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Date: Fri=2C 31 Aug 2012 19:52:59 -0500 > From: john AT ecosensory DOT com >=20 > On 08/31/2012 08:58 AM=2C Levente wrote: > > On the root node there is a RTOS (also my code)=2C but on the sensors a= nd actor nodes there's only a while(1) loop. > > > > I don't know how to solve the programmability with your approach. Maybe= I wasn't clear enough. I want to change the program at run > > time as well for example by writing an SMS to the integrated GSM modem= =2C or editing from a keypad=2C etc. I could write code in > > native C of course=2C but I don't want to re-program the root-card each= time I want to set new temperature=2C etc. Well=2C I didn't saw that AVR was specified.=20 However if AVR is used its flash can be reprogrammed interactively from the= other parts except boot-loader part. AmForth does this and writes data to flash with i!=20 Another problem is that Amforth can't be used with C programs. One solution= might be using ficl. ficl.sf.net It would require some modification with printf=2C select and some other par= ts. ficl can't and I don't know how it even could be possible to change the= running code=2C but ficl could write data to eeprom and with that change t= he behaviour of the sytem. However under ficl you can call C functions. But= porting ficl needs some work. Most Forths are written with assembler and embedding them to existing proje= ct is next to impossible :( Best regards=2C Hannu Vuolasaho = --_9d5ec2fb-5940-4807-b08d-869053a82b8d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Tahoma } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'> >=3B Date: Fri=2C 31 Aug 2012 19:52:59 -0500<br><div>>=3B From: john AT ec= osensory.com<br>>=3B <br>>=3B On 08/31/2012 08:58 AM=2C Levente wrote:<= br>>=3B >=3B On the root node there is a RTOS (also my code)=2C but on = the sensors and actor nodes there's only a while(1) loop.<br>>=3B >=3B<= br>>=3B >=3B I don't know how to solve the programmability with your ap= proach. Maybe I wasn't clear enough. I want to change the program at run<br= >>=3B >=3B time as well for example by writing an SMS to the integrated= GSM modem=2C or editing from a keypad=2C etc. I could write code in<br>>= =3B >=3B native C of course=2C but I don't want to re-program the root-ca= rd each time I want to set new temperature=2C etc.<br><br>Well=2C I didn't = saw that AVR was specified. <br>However if AVR is used its flash can be rep= rogrammed interactively from the other parts except boot-loader part.<br>Am= Forth does this and writes data to flash with i! <br><br>Another problem is= that Amforth can't be used with C programs. One solution might be using fi= cl. ficl.sf.net<br><br>It would require some modification with printf=2C se= lect and some other parts. ficl can't and I don't know how it even could be= possible to change the running code=2C but ficl could write data to eeprom= and with that change the behaviour of the sytem. However under ficl you ca= n call C functions. But porting ficl needs some work.<br><br>Most Forths ar= e written with assembler and embedding them to existing project is next to = impossible :(<br><br>Best regards=2C<br>Hannu Vuolasaho<br></div> = </div></body> </html>= --_9d5ec2fb-5940-4807-b08d-869053a82b8d_--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |