Elua with a web server (wrote in true 'C') inside.

classic Classic list List threaded Threaded
51 messages Options
123
Nuccio Raciti Nuccio Raciti
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

yes, my crazy idea is have a full simulator for Mizar32,
using as PIO a parallel port, the network, the UART,
avoiding the needs to move the SD-Card
from the PC to the board during development.

It should be a good idea also for downloadable demo and examples.

Ciao,
nuccio


Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha scritto:

>
>
> On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti <[hidden email]>
> wrote:
>         good news,
>         I will try to add the network support...
>
> Cool.
>
> Last year, Thiago Naves and Marcelo Politzer were also experimenting
> with Proteus (http://www.labcenter.com/products/vsm_overview.cfm),
> trying to find a suitable target to embedd eLua.
> It would be great to have an eLua simulator on this kind of
> environment, as it already has interesting views and debug tools for
> the peripherals and even for simulated externally hardware connected
> to the MCU.
> As it has happened to eLua on the real world, I hope it is just a
> matter of time that new and larger (RAM & ROM) MCUs appear on the
> Proteus supported set.
>
>
>         ciao,
>         nuccio
>
> Best
>
>
>
>  
>
>        
>         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan Marinescu
>         ha
>        
>         scritto:
>         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>         > Raciti <[hidden email]> wrote:
>         >         really?
>         >
>         >
>         > Yes ;)
>         >
>         >         I thought we should restart the PC for every run.
>         >         the "sim" target is different of "i386" one?
>         >
>         >
>         > Yes. You get an executable that you can run
>         using ./run_elua_sim.sh
>         > (Linux only)
>         >
>         >
>         > Best,
>         > Bogdan
>         >
>         >
>         >
>         >
>         >         Il giorno gio, 17/03/2011 alle 15.51 +0200, Bogdan
>         Marinescu
>         >         ha scritto:
>         >
>         >         > Hi,
>         >         >
>         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio Raciti
>         >         > <[hidden email]> wrote:
>         >         >         Hi,
>         >         >         what about an eLua simulator:
>         >         >
>         >         >         1- with the network support (using a
>         TUN/TAP device
>         >         >         http://en.wikipedia.org/wiki/TUN/TAP).
>         >         >         2- running as a user space linux
>         application.
>         >         >         3- using the linux FS as /mmc /rom file
>         systems.
>         >         >
>         >         >
>         >         > There is already a target ('sim') that does 2 and
>         3 above.
>         >         >
>         >         >
>         >         > Best,
>         >         > Bogdan
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>        
>        
>        
>        
>         _______________________________________________
>         eLua-dev mailing list
>         [hidden email]
>         https://lists.berlios.de/mailman/listinfo/elua-dev
>        
>


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

Hi,

On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]> wrote:
yes, my crazy idea is have a full simulator for Mizar32,
using as PIO a parallel port, the network, the UART,

Although we all know you well by now, I don't see anything crazy on this idea :)
 
avoiding the needs to move the SD-Card
from the PC to the board during development.

It is still a bit hard to install and actually use (we're working on this) but eLua already has a solution for this, the Remote File System http://www.eluaproject.net/en_arch_rfs.html

It should be a good idea also for downloadable demo and examples.

Yep.
 
Ciao,
nuccio

Best
Dado


 


Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha scritto:
>
>
> On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti <[hidden email]>
> wrote:
>         good news,
>         I will try to add the network support...
>
> Cool.
>
> Last year, Thiago Naves and Marcelo Politzer were also experimenting
> with Proteus (http://www.labcenter.com/products/vsm_overview.cfm),
> trying to find a suitable target to embedd eLua.
> It would be great to have an eLua simulator on this kind of
> environment, as it already has interesting views and debug tools for
> the peripherals and even for simulated externally hardware connected
> to the MCU.
> As it has happened to eLua on the real world, I hope it is just a
> matter of time that new and larger (RAM & ROM) MCUs appear on the
> Proteus supported set.
>
>
>         ciao,
>         nuccio
>
> Best
>
>
>
>
>
>
>         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan Marinescu
>         ha
>
>         scritto:
>         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>         > Raciti <[hidden email]> wrote:
>         >         really?
>         >
>         >
>         > Yes ;)
>         >
>         >         I thought we should restart the PC for every run.
>         >         the "sim" target is different of "i386" one?
>         >
>         >
>         > Yes. You get an executable that you can run
>         using ./run_elua_sim.sh
>         > (Linux only)
>         >
>         >
>         > Best,
>         > Bogdan
>         >
>         >
>         >
>         >
>         >         Il giorno gio, 17/03/2011 alle 15.51 +0200, Bogdan
>         Marinescu
>         >         ha scritto:
>         >
>         >         > Hi,
>         >         >
>         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio Raciti
>         >         > <[hidden email]> wrote:
>         >         >         Hi,
>         >         >         what about an eLua simulator:
>         >         >
>         >         >         1- with the network support (using a
>         TUN/TAP device
>         >         >         http://en.wikipedia.org/wiki/TUN/TAP).
>         >         >         2- running as a user space linux
>         application.
>         >         >         3- using the linux FS as /mmc /rom file
>         systems.
>         >         >
>         >         >
>         >         > There is already a target ('sim') that does 2 and
>         3 above.
>         >         >
>         >         >
>         >         > Best,
>         >         > Bogdan
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>
>
>
>
>         _______________________________________________
>         eLua-dev mailing list
>         [hidden email]
>         https://lists.berlios.de/mailman/listinfo/elua-dev
>
>




_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Nuccio Raciti Nuccio Raciti
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

yes I know, but I fear it is slow,
in special case for web server purposes.
Thanks,
nuccio

Il giorno gio, 17/03/2011 alle 14.12 -0300, Dado Sutter ha scritto:

> Hi,
>
> On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]>
> wrote:
>         yes, my crazy idea is have a full simulator for Mizar32,
>         using as PIO a parallel port, the network, the UART,
>
> Although we all know you well by now, I don't see anything crazy on
> this idea :)
>  
>
>         avoiding the needs to move the SD-Card
>         from the PC to the board during development.
>
> It is still a bit hard to install and actually use (we're working on
> this) but eLua already has a solution for this, the Remote File System
> http://www.eluaproject.net/en_arch_rfs.html
>
>
>         It should be a good idea also for downloadable demo and
>         examples.
>
> Yep.
>  
>
>         Ciao,
>         nuccio
>
> Best
> Dado
>
>
>  
>
>        
>        
>         Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha
>         scritto:
>        
>         >
>         >
>         > On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti
>         <[hidden email]>
>         > wrote:
>         >         good news,
>         >         I will try to add the network support...
>         >
>         > Cool.
>         >
>         > Last year, Thiago Naves and Marcelo Politzer were also
>         experimenting
>         > with Proteus
>         (http://www.labcenter.com/products/vsm_overview.cfm),
>         > trying to find a suitable target to embedd eLua.
>         > It would be great to have an eLua simulator on this kind of
>         > environment, as it already has interesting views and debug
>         tools for
>         > the peripherals and even for simulated externally hardware
>         connected
>         > to the MCU.
>         > As it has happened to eLua on the real world, I hope it is
>         just a
>         > matter of time that new and larger (RAM & ROM) MCUs appear
>         on the
>         > Proteus supported set.
>         >
>         >
>         >         ciao,
>         >         nuccio
>         >
>         > Best
>         >
>         >
>         >
>         >
>         >
>         >
>         >         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan
>         Marinescu
>         >         ha
>         >
>         >         scritto:
>         >         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>         >         > Raciti <[hidden email]> wrote:
>         >         >         really?
>         >         >
>         >         >
>         >         > Yes ;)
>         >         >
>         >         >         I thought we should restart the PC for
>         every run.
>         >         >         the "sim" target is different of "i386"
>         one?
>         >         >
>         >         >
>         >         > Yes. You get an executable that you can run
>         >         using ./run_elua_sim.sh
>         >         > (Linux only)
>         >         >
>         >         >
>         >         > Best,
>         >         > Bogdan
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >         Il giorno gio, 17/03/2011 alle 15.51
>         +0200, Bogdan
>         >         Marinescu
>         >         >         ha scritto:
>         >         >
>         >         >         > Hi,
>         >         >         >
>         >         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio
>         Raciti
>         >         >         > <[hidden email]> wrote:
>         >         >         >         Hi,
>         >         >         >         what about an eLua simulator:
>         >         >         >
>         >         >         >         1- with the network support
>         (using a
>         >         TUN/TAP device
>         >         >         >
>         http://en.wikipedia.org/wiki/TUN/TAP).
>         >         >         >         2- running as a user space linux
>         >         application.
>         >         >         >         3- using the linux FS
>         as /mmc /rom file
>         >         systems.
>         >         >         >
>         >         >         >
>         >         >         > There is already a target ('sim') that
>         does 2 and
>         >         3 above.
>         >         >         >
>         >         >         >
>         >         >         > Best,
>         >         >         > Bogdan
>         >         >         >
>         >         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>         >         _______________________________________________
>         >         eLua-dev mailing list
>         >         [hidden email]
>         >         https://lists.berlios.de/mailman/listinfo/elua-dev
>         >
>         >
>        
>        
>        
>


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Marcelo Politzer Marcelo Politzer
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

What about qemu? they also have some ARMs support.

2011/3/17 Nuccio Raciti <[hidden email]>:

> yes I know, but I fear it is slow,
> in special case for web server purposes.
> Thanks,
> nuccio
>
> Il giorno gio, 17/03/2011 alle 14.12 -0300, Dado Sutter ha scritto:
>> Hi,
>>
>> On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]>
>> wrote:
>>         yes, my crazy idea is have a full simulator for Mizar32,
>>         using as PIO a parallel port, the network, the UART,
>>
>> Although we all know you well by now, I don't see anything crazy on
>> this idea :)
>>
>>
>>         avoiding the needs to move the SD-Card
>>         from the PC to the board during development.
>>
>> It is still a bit hard to install and actually use (we're working on
>> this) but eLua already has a solution for this, the Remote File System
>> http://www.eluaproject.net/en_arch_rfs.html
>>
>>
>>         It should be a good idea also for downloadable demo and
>>         examples.
>>
>> Yep.
>>
>>
>>         Ciao,
>>         nuccio
>>
>> Best
>> Dado
>>
>>
>>
>>
>>
>>
>>         Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha
>>         scritto:
>>
>>         >
>>         >
>>         > On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti
>>         <[hidden email]>
>>         > wrote:
>>         >         good news,
>>         >         I will try to add the network support...
>>         >
>>         > Cool.
>>         >
>>         > Last year, Thiago Naves and Marcelo Politzer were also
>>         experimenting
>>         > with Proteus
>>         (http://www.labcenter.com/products/vsm_overview.cfm),
>>         > trying to find a suitable target to embedd eLua.
>>         > It would be great to have an eLua simulator on this kind of
>>         > environment, as it already has interesting views and debug
>>         tools for
>>         > the peripherals and even for simulated externally hardware
>>         connected
>>         > to the MCU.
>>         > As it has happened to eLua on the real world, I hope it is
>>         just a
>>         > matter of time that new and larger (RAM & ROM) MCUs appear
>>         on the
>>         > Proteus supported set.
>>         >
>>         >
>>         >         ciao,
>>         >         nuccio
>>         >
>>         > Best
>>         >
>>         >
>>         >
>>         >
>>         >
>>         >
>>         >         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan
>>         Marinescu
>>         >         ha
>>         >
>>         >         scritto:
>>         >         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>>         >         > Raciti <[hidden email]> wrote:
>>         >         >         really?
>>         >         >
>>         >         >
>>         >         > Yes ;)
>>         >         >
>>         >         >         I thought we should restart the PC for
>>         every run.
>>         >         >         the "sim" target is different of "i386"
>>         one?
>>         >         >
>>         >         >
>>         >         > Yes. You get an executable that you can run
>>         >         using ./run_elua_sim.sh
>>         >         > (Linux only)
>>         >         >
>>         >         >
>>         >         > Best,
>>         >         > Bogdan
>>         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >         >         Il giorno gio, 17/03/2011 alle 15.51
>>         +0200, Bogdan
>>         >         Marinescu
>>         >         >         ha scritto:
>>         >         >
>>         >         >         > Hi,
>>         >         >         >
>>         >         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio
>>         Raciti
>>         >         >         > <[hidden email]> wrote:
>>         >         >         >         Hi,
>>         >         >         >         what about an eLua simulator:
>>         >         >         >
>>         >         >         >         1- with the network support
>>         (using a
>>         >         TUN/TAP device
>>         >         >         >
>>         http://en.wikipedia.org/wiki/TUN/TAP).
>>         >         >         >         2- running as a user space linux
>>         >         application.
>>         >         >         >         3- using the linux FS
>>         as /mmc /rom file
>>         >         systems.
>>         >         >         >
>>         >         >         >
>>         >         >         > There is already a target ('sim') that
>>         does 2 and
>>         >         3 above.
>>         >         >         >
>>         >         >         >
>>         >         >         > Best,
>>         >         >         > Bogdan
>>         >         >         >
>>         >         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >
>>         >
>>         >
>>         >
>>         >         _______________________________________________
>>         >         eLua-dev mailing list
>>         >         [hidden email]
>>         >         https://lists.berlios.de/mailman/listinfo/elua-dev
>>         >
>>         >
>>
>>
>>
>>
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>



--
[]s,
Marcelo
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator



On Thu, Mar 17, 2011 at 16:41, Marcelo Politzer <[hidden email]> wrote:
What about qemu?

You tell us :)
 
they also have some ARMs support.

Cool. Do they have an "eLua-capable virtual device" already ?

Best
Dado






2011/3/17 Nuccio Raciti <[hidden email]>:
> yes I know, but I fear it is slow,
> in special case for web server purposes.
> Thanks,
> nuccio
>
> Il giorno gio, 17/03/2011 alle 14.12 -0300, Dado Sutter ha scritto:
>> Hi,
>>
>> On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]>
>> wrote:
>>         yes, my crazy idea is have a full simulator for Mizar32,
>>         using as PIO a parallel port, the network, the UART,
>>
>> Although we all know you well by now, I don't see anything crazy on
>> this idea :)
>>
>>
>>         avoiding the needs to move the SD-Card
>>         from the PC to the board during development.
>>
>> It is still a bit hard to install and actually use (we're working on
>> this) but eLua already has a solution for this, the Remote File System
>> http://www.eluaproject.net/en_arch_rfs.html
>>
>>
>>         It should be a good idea also for downloadable demo and
>>         examples.
>>
>> Yep.
>>
>>
>>         Ciao,
>>         nuccio
>>
>> Best
>> Dado
>>
>>
>>
>>
>>
>>
>>         Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha
>>         scritto:
>>
>>         >
>>         >
>>         > On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti
>>         <[hidden email]>
>>         > wrote:
>>         >         good news,
>>         >         I will try to add the network support...
>>         >
>>         > Cool.
>>         >
>>         > Last year, Thiago Naves and Marcelo Politzer were also
>>         experimenting
>>         > with Proteus
>>         (http://www.labcenter.com/products/vsm_overview.cfm),
>>         > trying to find a suitable target to embedd eLua.
>>         > It would be great to have an eLua simulator on this kind of
>>         > environment, as it already has interesting views and debug
>>         tools for
>>         > the peripherals and even for simulated externally hardware
>>         connected
>>         > to the MCU.
>>         > As it has happened to eLua on the real world, I hope it is
>>         just a
>>         > matter of time that new and larger (RAM & ROM) MCUs appear
>>         on the
>>         > Proteus supported set.
>>         >
>>         >
>>         >         ciao,
>>         >         nuccio
>>         >
>>         > Best
>>         >
>>         >
>>         >
>>         >
>>         >
>>         >
>>         >         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan
>>         Marinescu
>>         >         ha
>>         >
>>         >         scritto:
>>         >         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>>         >         > Raciti <[hidden email]> wrote:
>>         >         >         really?
>>         >         >
>>         >         >
>>         >         > Yes ;)
>>         >         >
>>         >         >         I thought we should restart the PC for
>>         every run.
>>         >         >         the "sim" target is different of "i386"
>>         one?
>>         >         >
>>         >         >
>>         >         > Yes. You get an executable that you can run
>>         >         using ./run_elua_sim.sh
>>         >         > (Linux only)
>>         >         >
>>         >         >
>>         >         > Best,
>>         >         > Bogdan
>>         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >         >         Il giorno gio, 17/03/2011 alle 15.51
>>         +0200, Bogdan
>>         >         Marinescu
>>         >         >         ha scritto:
>>         >         >
>>         >         >         > Hi,
>>         >         >         >
>>         >         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio
>>         Raciti
>>         >         >         > <[hidden email]> wrote:
>>         >         >         >         Hi,
>>         >         >         >         what about an eLua simulator:
>>         >         >         >
>>         >         >         >         1- with the network support
>>         (using a
>>         >         TUN/TAP device
>>         >         >         >
>>         http://en.wikipedia.org/wiki/TUN/TAP).
>>         >         >         >         2- running as a user space linux
>>         >         application.
>>         >         >         >         3- using the linux FS
>>         as /mmc /rom file
>>         >         systems.
>>         >         >         >
>>         >         >         >
>>         >         >         > There is already a target ('sim') that
>>         does 2 and
>>         >         3 above.
>>         >         >         >
>>         >         >         >
>>         >         >         > Best,
>>         >         >         > Bogdan
>>         >         >         >
>>         >         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >         >
>>         >
>>         >
>>         >
>>         >
>>         >         _______________________________________________
>>         >         eLua-dev mailing list
>>         >         [hidden email]
>>         >         https://lists.berlios.de/mailman/listinfo/elua-dev
>>         >
>>         >
>>
>>
>>
>>
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>



--
[]s,
Marcelo
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Marcelo Politzer Marcelo Politzer
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

[hidden email]

2011/3/17 Dado Sutter <[hidden email]>:

>
>
> On Thu, Mar 17, 2011 at 16:41, Marcelo Politzer <[hidden email]>
> wrote:
>>
>> What about qemu?
>
> You tell us :)
>
>>
>> they also have some ARMs support.
>
> Cool. Do they have an "eLua-capable virtual device" already ?
>
> Best
> Dado
>
>
>
>
>
>>
>> 2011/3/17 Nuccio Raciti <[hidden email]>:
>> > yes I know, but I fear it is slow,
>> > in special case for web server purposes.
>> > Thanks,
>> > nuccio
>> >
>> > Il giorno gio, 17/03/2011 alle 14.12 -0300, Dado Sutter ha scritto:
>> >> Hi,
>> >>
>> >> On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]>
>> >> wrote:
>> >>         yes, my crazy idea is have a full simulator for Mizar32,
>> >>         using as PIO a parallel port, the network, the UART,
>> >>
>> >> Although we all know you well by now, I don't see anything crazy on
>> >> this idea :)
>> >>
>> >>
>> >>         avoiding the needs to move the SD-Card
>> >>         from the PC to the board during development.
>> >>
>> >> It is still a bit hard to install and actually use (we're working on
>> >> this) but eLua already has a solution for this, the Remote File System
>> >> http://www.eluaproject.net/en_arch_rfs.html
>> >>
>> >>
>> >>         It should be a good idea also for downloadable demo and
>> >>         examples.
>> >>
>> >> Yep.
>> >>
>> >>
>> >>         Ciao,
>> >>         nuccio
>> >>
>> >> Best
>> >> Dado
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>         Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha
>> >>         scritto:
>> >>
>> >>         >
>> >>         >
>> >>         > On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti
>> >>         <[hidden email]>
>> >>         > wrote:
>> >>         >         good news,
>> >>         >         I will try to add the network support...
>> >>         >
>> >>         > Cool.
>> >>         >
>> >>         > Last year, Thiago Naves and Marcelo Politzer were also
>> >>         experimenting
>> >>         > with Proteus
>> >>         (http://www.labcenter.com/products/vsm_overview.cfm),
>> >>         > trying to find a suitable target to embedd eLua.
>> >>         > It would be great to have an eLua simulator on this kind of
>> >>         > environment, as it already has interesting views and debug
>> >>         tools for
>> >>         > the peripherals and even for simulated externally hardware
>> >>         connected
>> >>         > to the MCU.
>> >>         > As it has happened to eLua on the real world, I hope it is
>> >>         just a
>> >>         > matter of time that new and larger (RAM & ROM) MCUs appear
>> >>         on the
>> >>         > Proteus supported set.
>> >>         >
>> >>         >
>> >>         >         ciao,
>> >>         >         nuccio
>> >>         >
>> >>         > Best
>> >>         >
>> >>         >
>> >>         >
>> >>         >
>> >>         >
>> >>         >
>> >>         >         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan
>> >>         Marinescu
>> >>         >         ha
>> >>         >
>> >>         >         scritto:
>> >>         >         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>> >>         >         > Raciti <[hidden email]> wrote:
>> >>         >         >         really?
>> >>         >         >
>> >>         >         >
>> >>         >         > Yes ;)
>> >>         >         >
>> >>         >         >         I thought we should restart the PC for
>> >>         every run.
>> >>         >         >         the "sim" target is different of "i386"
>> >>         one?
>> >>         >         >
>> >>         >         >
>> >>         >         > Yes. You get an executable that you can run
>> >>         >         using ./run_elua_sim.sh
>> >>         >         > (Linux only)
>> >>         >         >
>> >>         >         >
>> >>         >         > Best,
>> >>         >         > Bogdan
>> >>         >         >
>> >>         >         >
>> >>         >         >
>> >>         >         >
>> >>         >         >         Il giorno gio, 17/03/2011 alle 15.51
>> >>         +0200, Bogdan
>> >>         >         Marinescu
>> >>         >         >         ha scritto:
>> >>         >         >
>> >>         >         >         > Hi,
>> >>         >         >         >
>> >>         >         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio
>> >>         Raciti
>> >>         >         >         > <[hidden email]> wrote:
>> >>         >         >         >         Hi,
>> >>         >         >         >         what about an eLua simulator:
>> >>         >         >         >
>> >>         >         >         >         1- with the network support
>> >>         (using a
>> >>         >         TUN/TAP device
>> >>         >         >         >
>> >>         http://en.wikipedia.org/wiki/TUN/TAP).
>> >>         >         >         >         2- running as a user space linux
>> >>         >         application.
>> >>         >         >         >         3- using the linux FS
>> >>         as /mmc /rom file
>> >>         >         systems.
>> >>         >         >         >
>> >>         >         >         >
>> >>         >         >         > There is already a target ('sim') that
>> >>         does 2 and
>> >>         >         3 above.
>> >>         >         >         >
>> >>         >         >         >
>> >>         >         >         > Best,
>> >>         >         >         > Bogdan
>> >>         >         >         >
>> >>         >         >         >
>> >>         >         >
>> >>         >         >
>> >>         >         >
>> >>         >         >
>> >>         >
>> >>         >
>> >>         >
>> >>         >
>> >>         >         _______________________________________________
>> >>         >         eLua-dev mailing list
>> >>         >         [hidden email]
>> >>         >         https://lists.berlios.de/mailman/listinfo/elua-dev
>> >>         >
>> >>         >
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > eLua-dev mailing list
>> > [hidden email]
>> > https://lists.berlios.de/mailman/listinfo/elua-dev
>> >
>>
>>
>>
>> --
>> []s,
>> Marcelo
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>



--
[]s,
Marcelo
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Marcelo Politzer Marcelo Politzer
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

Yes, I tried to do it a while ago, but never got it to work. But maybe
one of the enlightened people around here might succeed. :)

2011/3/17 Marcelo Politzer <[hidden email]>:
> [hidden email]
>
Sorry about this. Brain damage kicking on :O


> 2011/3/17 Dado Sutter <[hidden email]>:
>>
>>
>> On Thu, Mar 17, 2011 at 16:41, Marcelo Politzer <[hidden email]>
>> wrote:
>>>
>>> What about qemu?
>>
>> You tell us :)
>>
>>>
>>> they also have some ARMs support.
>>
>> Cool. Do they have an "eLua-capable virtual device" already ?
>>
>> Best
>> Dado
>>
>>
>>
>>
>>
>>>
>>> 2011/3/17 Nuccio Raciti <[hidden email]>:
>>> > yes I know, but I fear it is slow,
>>> > in special case for web server purposes.
>>> > Thanks,
>>> > nuccio
>>> >
>>> > Il giorno gio, 17/03/2011 alle 14.12 -0300, Dado Sutter ha scritto:
>>> >> Hi,
>>> >>
>>> >> On Thu, Mar 17, 2011 at 14:02, Nuccio Raciti <[hidden email]>
>>> >> wrote:
>>> >>         yes, my crazy idea is have a full simulator for Mizar32,
>>> >>         using as PIO a parallel port, the network, the UART,
>>> >>
>>> >> Although we all know you well by now, I don't see anything crazy on
>>> >> this idea :)
>>> >>
>>> >>
>>> >>         avoiding the needs to move the SD-Card
>>> >>         from the PC to the board during development.
>>> >>
>>> >> It is still a bit hard to install and actually use (we're working on
>>> >> this) but eLua already has a solution for this, the Remote File System
>>> >> http://www.eluaproject.net/en_arch_rfs.html
>>> >>
>>> >>
>>> >>         It should be a good idea also for downloadable demo and
>>> >>         examples.
>>> >>
>>> >> Yep.
>>> >>
>>> >>
>>> >>         Ciao,
>>> >>         nuccio
>>> >>
>>> >> Best
>>> >> Dado
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>         Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha
>>> >>         scritto:
>>> >>
>>> >>         >
>>> >>         >
>>> >>         > On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti
>>> >>         <[hidden email]>
>>> >>         > wrote:
>>> >>         >         good news,
>>> >>         >         I will try to add the network support...
>>> >>         >
>>> >>         > Cool.
>>> >>         >
>>> >>         > Last year, Thiago Naves and Marcelo Politzer were also
>>> >>         experimenting
>>> >>         > with Proteus
>>> >>         (http://www.labcenter.com/products/vsm_overview.cfm),
>>> >>         > trying to find a suitable target to embedd eLua.
>>> >>         > It would be great to have an eLua simulator on this kind of
>>> >>         > environment, as it already has interesting views and debug
>>> >>         tools for
>>> >>         > the peripherals and even for simulated externally hardware
>>> >>         connected
>>> >>         > to the MCU.
>>> >>         > As it has happened to eLua on the real world, I hope it is
>>> >>         just a
>>> >>         > matter of time that new and larger (RAM & ROM) MCUs appear
>>> >>         on the
>>> >>         > Proteus supported set.
>>> >>         >
>>> >>         >
>>> >>         >         ciao,
>>> >>         >         nuccio
>>> >>         >
>>> >>         > Best
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan
>>> >>         Marinescu
>>> >>         >         ha
>>> >>         >
>>> >>         >         scritto:
>>> >>         >         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>>> >>         >         > Raciti <[hidden email]> wrote:
>>> >>         >         >         really?
>>> >>         >         >
>>> >>         >         >
>>> >>         >         > Yes ;)
>>> >>         >         >
>>> >>         >         >         I thought we should restart the PC for
>>> >>         every run.
>>> >>         >         >         the "sim" target is different of "i386"
>>> >>         one?
>>> >>         >         >
>>> >>         >         >
>>> >>         >         > Yes. You get an executable that you can run
>>> >>         >         using ./run_elua_sim.sh
>>> >>         >         > (Linux only)
>>> >>         >         >
>>> >>         >         >
>>> >>         >         > Best,
>>> >>         >         > Bogdan
>>> >>         >         >
>>> >>         >         >
>>> >>         >         >
>>> >>         >         >
>>> >>         >         >         Il giorno gio, 17/03/2011 alle 15.51
>>> >>         +0200, Bogdan
>>> >>         >         Marinescu
>>> >>         >         >         ha scritto:
>>> >>         >         >
>>> >>         >         >         > Hi,
>>> >>         >         >         >
>>> >>         >         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio
>>> >>         Raciti
>>> >>         >         >         > <[hidden email]> wrote:
>>> >>         >         >         >         Hi,
>>> >>         >         >         >         what about an eLua simulator:
>>> >>         >         >         >
>>> >>         >         >         >         1- with the network support
>>> >>         (using a
>>> >>         >         TUN/TAP device
>>> >>         >         >         >
>>> >>         http://en.wikipedia.org/wiki/TUN/TAP).
>>> >>         >         >         >         2- running as a user space linux
>>> >>         >         application.
>>> >>         >         >         >         3- using the linux FS
>>> >>         as /mmc /rom file
>>> >>         >         systems.
>>> >>         >         >         >
>>> >>         >         >         >
>>> >>         >         >         > There is already a target ('sim') that
>>> >>         does 2 and
>>> >>         >         3 above.
>>> >>         >         >         >
>>> >>         >         >         >
>>> >>         >         >         > Best,
>>> >>         >         >         > Bogdan
>>> >>         >         >         >
>>> >>         >         >         >
>>> >>         >         >
>>> >>         >         >
>>> >>         >         >
>>> >>         >         >
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >
>>> >>         >         _______________________________________________
>>> >>         >         eLua-dev mailing list
>>> >>         >         [hidden email]
>>> >>         >         https://lists.berlios.de/mailman/listinfo/elua-dev
>>> >>         >
>>> >>         >
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> > _______________________________________________
>>> > eLua-dev mailing list
>>> > [hidden email]
>>> > https://lists.berlios.de/mailman/listinfo/elua-dev
>>> >
>>>
>>>
>>>
>>> --
>>> []s,
>>> Marcelo
>>> _______________________________________________
>>> eLua-dev mailing list
>>> [hidden email]
>>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>
>
>
> --
> []s,
> Marcelo
>



--
[]s,
Marcelo
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

In reply to this post by Nuccio Raciti


On Thu, Mar 17, 2011 at 7:02 PM, Nuccio Raciti <[hidden email]> wrote:
yes, my crazy idea is have a full simulator for Mizar32,
using as PIO a parallel port, the network, the UART,
avoiding the needs to move the SD-Card
from the PC to the board during development.

That could be interesting. Currently 'sim' is limited (in my view at least) to testing and debugging platform-independent components such as the LTR or the RFS (something which would be a nightmare to test on a MCU). A full-fledged eLua running under Linux seems appealing, but I'd be careful with that. It might give one a sense of speed that is not achievable on the actual target which in turn could lead to some interesting problems :)

Best,
Bogdan

Il giorno gio, 17/03/2011 alle 13.41 -0300, Dado Sutter ha scritto:
>
>
> On Thu, Mar 17, 2011 at 11:17, Nuccio Raciti <[hidden email]>
> wrote:
>         good news,
>         I will try to add the network support...
>
> Cool.
>
> Last year, Thiago Naves and Marcelo Politzer were also experimenting
> with Proteus (http://www.labcenter.com/products/vsm_overview.cfm),
> trying to find a suitable target to embedd eLua.
> It would be great to have an eLua simulator on this kind of
> environment, as it already has interesting views and debug tools for
> the peripherals and even for simulated externally hardware connected
> to the MCU.
> As it has happened to eLua on the real world, I hope it is just a
> matter of time that new and larger (RAM & ROM) MCUs appear on the
> Proteus supported set.
>
>
>         ciao,
>         nuccio
>
> Best
>
>
>
>
>
>
>         Il giorno gio, 17/03/2011 alle 16.12 +0200, Bogdan Marinescu
>         ha
>
>         scritto:
>         > On Thu, Mar 17, 2011 at 4:06 PM, Nuccio
>         > Raciti <[hidden email]> wrote:
>         >         really?
>         >
>         >
>         > Yes ;)
>         >
>         >         I thought we should restart the PC for every run.
>         >         the "sim" target is different of "i386" one?
>         >
>         >
>         > Yes. You get an executable that you can run
>         using ./run_elua_sim.sh
>         > (Linux only)
>         >
>         >
>         > Best,
>         > Bogdan
>         >
>         >
>         >
>         >
>         >         Il giorno gio, 17/03/2011 alle 15.51 +0200, Bogdan
>         Marinescu
>         >         ha scritto:
>         >
>         >         > Hi,
>         >         >
>         >         > On Thu, Mar 17, 2011 at 3:48 PM, Nuccio Raciti
>         >         > <[hidden email]> wrote:
>         >         >         Hi,
>         >         >         what about an eLua simulator:
>         >         >
>         >         >         1- with the network support (using a
>         TUN/TAP device
>         >         >         http://en.wikipedia.org/wiki/TUN/TAP).
>         >         >         2- running as a user space linux
>         application.
>         >         >         3- using the linux FS as /mmc /rom file
>         systems.
>         >         >
>         >         >
>         >         > There is already a target ('sim') that does 2 and
>         3 above.
>         >         >
>         >         >
>         >         > Best,
>         >         > Bogdan
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>
>
>
>
>         _______________________________________________
>         eLua-dev mailing list
>         [hidden email]
>         https://lists.berlios.de/mailman/listinfo/elua-dev
>
>


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Nuccio Raciti Nuccio Raciti
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

Yes there are several advantages to have a full simulator,
but from my point of view there are two major benefits:
1- people without real hardware can try eLua using just a Linux
executable and a .lua/.lc file.
2- it would be very useful in the development of the web pages for the
"eLuaWebServer"

Best,
Nuccio

Il giorno gio, 17/03/2011 alle 23.06 +0200, Bogdan Marinescu ha scritto:
> That could be interesting. Currently 'sim' is limited (in my view at
> least) to testing and debugging platform-independent components such
> as the LTR or the RFS (something which would be a nightmare to test on
> a MCU). A full-fledged eLua running under Linux seems appealing, but
> I'd be careful with that. It might give one a sense of speed that is
> not achievable on the actual target which in turn could lead to some
> interesting problems

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Martin Guy Martin Guy
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

> 1- people without real hardware can try eLua using just a Linux
> executable and a .lua/.lc file.

Excellent idea. Emulate it at a higher level. Perfect.

   M
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: i386 eLua simulator

One other concept that might make it nice to deal with on varied
platforms would be to use a portable runtime like Google's Native
Client, which if I recall correctly actually uses, of all things,
newlib :-)

http://code.google.com/p/nativeclient/

I believe they may be getting close to shipping this turned on by
default in Chrome which would make the environment available on
Windows, Mac & Linux or anywhere else that Chrome or NaCl runs?

Just a thought.

-jsnyder

On Fri, Mar 18, 2011 at 12:16 AM, Martin Guy <[hidden email]> wrote:

>> 1- people without real hardware can try eLua using just a Linux
>> executable and a .lua/.lc file.
>
> Excellent idea. Emulate it at a higher level. Perfect.
>
>   M
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>



--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
123