On Sun, Jun 12, 2011 at 12:00 PM, <[hidden email]> wrote: Send eLua-dev mailing list submissions to Hello, Thanks for your reply. Yes, the RPC server is running and the boot=luarpc is enabled at build. I even tried starting the server with rpc.server() but it takes me to an infinite waiting state. It does not respond.
No. I haven't changed any parameters. I am running them on the default parameters. I am using the codesourcery toolchain to cross compile elua. The baud rate is set to 115200.
I am using MinGW to build my desktop Lua, RPC enabled. I haven't modified the configuration.
Yes, I am using the FDTI based virtual com port interface provided in the disk that came along with the LM3S8962 dev-board. I have also checked the com port settings. It is configured to a baud of 115200 with 8 data bits, no parity, 1 stop bit and no flow control. Is there anything else I must set in the FTDI setting ? Awaiting your response.
Sure, thanks for the reply.
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
On Tue, Jun 14, 2011 at 6:01 AM, Raman Gopalan <[hidden email]> wrote:
> Hello, > > Thanks for your reply. > > Yes, the RPC server is running and the boot=luarpc is enabled at build. > I even tried starting the server with rpc.server() but it takes me to an > infinite waiting state. It does not respond. rpc.server is intended to "take over" and not do anything other than handle RPC requests after invokation. There's another model writing servers that intermingle with other running Lua code, but given some platform limitations and the way LuaRPC is currently written use of that approach is problematic on the MCU. We should have this supported in an upcoming release. > Awaiting your response. OK, so I've done some additional testing and what I'm currently finding is that while STM32 seems to work fine on Windows, Mac & Linux for me, I pulled out an LM3S6965 that I've got and while that works with a desktop OS X client, it doesn't appear to work with Windows. So, you have indeed found a bug, and one that I'm not quite sure why is manifesting in this way (working configurations/platforms vs non-working ones). I don't believe the problem is related to virtual com ports since the STM32 platform is also using one. I'm guessing it may have something to do with the differences in behavior between the Win and POSIX serial implementations and perhaps timing and how that might vary between platforms? I know some enhancements were made to the rfs/mux serial implementation for Windows that prevent some problematic conditions for that platform. I have tried updating the serial code being used by LuaRPC to use similar checks on setup reading and writing and that doesn't seem to fix the issue. I'll send an update as soon as I've narrowed down what might be causing this issue. -jsnyder _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |