Current Lua downloadable firmware will be posted here

User avatar
By scargill
#3005 Lovely - since this morning the program is stable...

BUT... two of us have separate installations - both of us have a connection to our routers- both tried the TELNET installation straight off your example - in both cases it crashed the minute we tried to access it via Telnet (port 2323) - any chance you could take a look please - really would appreciate it...

Pete.
User avatar
By zeroday
#3034
4refr0nt wrote:Hi!
Tell me, please.
Where address of flash data (where init.lua, etc) and size?
If we have boot loop - we can flash blank.bin for erase bad script, full reflashing firmware not needed.


for this build
the firmware take sectors from 0x00 to 0x54
file system wuold be at 0x55 to 0x7B
factory config 0x7c to 0x7d sector
blank 0x7e to end.

one sector 0x1000 byte.

as firmware grows 0x55 may become 0x56,0x57...
User avatar
By zeroday
#3035
scargill wrote:Lovely - since this morning the program is stable...

BUT... two of us have separate installations - both of us have a connection to our routers- both tried the TELNET installation straight off your example - in both cases it crashed the minute we tried to access it via Telnet (port 2323) - any chance you could take a look please - really would appreciate it...

Pete.


work for me
Code: Select all    -- a simple telnet server
    s=net.createServer(net.TCP,180)  -- time out 180s
    s:listen(2323,function(c)
       con_std = c
       function s_output(str)
          if(con_std~=nil)
             then con_std:send(str)
          end
       end
       node.output(s_output, 0)  -- use 1 to see output in  serial
       c:on("receive",function(c,l)
          node.input(l)
       end)
       c:on("disconnection",function(c)
          con_std = nil
          node.output(nil)
       end)
    end)


Code: Select allnode.output(s_output, 1)  -- use 1 to see output in  serial

to see if there is any useful output to debug