Lua-RTOS-ESP32 icon indicating copy to clipboard operation
Lua-RTOS-ESP32 copied to clipboard

ublox NINA W

Open tcpipchip opened this issue 6 years ago • 49 comments

Sir,

I see that LUA RTOS image is too big to fit a ESP32 with 2MB flash!

Can you give some suggestion on "make menuconfig" to reduce the size of LUA RTOS to feet on ESP32 (2MB version) ?

No problem if i loose some resource!

tcpipchip avatar Jan 28 '19 12:01 tcpipchip

@tcpipchip,

Maybe you can start disabling graphic displays, and SSH server in Kconfig:

Component config > Lua RTOS > Lua > Lua RTOS Modules Component config > Lua RTOS > Network services > SSH server

jolivepetrus avatar Jan 29 '19 12:01 jolivepetrus

HI @jolivepetrus Thanks to feedback! Still not solve it the size! I wil try FS size space reduce!

tcpipchip avatar Jan 29 '19 13:01 tcpipchip

thank you so much!

tcpipchip avatar Jan 29 '19 21:01 tcpipchip

@tcpipchip,

Any progress in this issue?

jolivepetrus avatar Feb 06 '19 10:02 jolivepetrus

Hello Petrus Yes, it´s running on NINA W. But WHITECAT not works! Always shutdown when try to connect to LUA RTOS. here the BLOG https://lua-ninaw.blogspot.com/2019/01/nina-w-programado-em-lua.html Thanks to remember me! And thanks for your help!

tcpipchip avatar Feb 06 '19 15:02 tcpipchip

@tcpipchip,

When you say "but WHITECAT not works", you mean that you can't program the board with The Whitecat IDE?

jolivepetrus avatar Feb 06 '19 16:02 jolivepetrus

yes, The Whitecat agent closes when ide try to contact it.. How the whitecat search for a the LUA RTOS ? Today i am using the LUA RTOS with TERATERM....

tcpipchip avatar Feb 06 '19 19:02 tcpipchip

I use WINDOWS 7

tcpipchip avatar Feb 06 '19 19:02 tcpipchip

@tcpipchip,

To add this board and see what happens I should need the following:

  • Know the VID:PID of the board's usb to serial adapter. You can get this information executing the following in the command line:

python -m serial.tools.list_ports -v

  • Have a copy of your sdkconfig file. You can send it to [email protected]

  • If you have the possibility it would be nice to have one of this board.

jolivepetrus avatar Feb 12 '19 10:02 jolivepetrus

Good morning Jaume

/dev/ttyUSB3 desc: EVB-NINA-W1 hwid: USB VID:PID=0403:6011 SER=D4CA6EB4CDC1 LOCATION=1-1:1.3

Attached sdkconfig

Btw, do mean about module NINA W, right ?


De: Jaume Olivé Petrus [email protected] Enviado: terça-feira, 12 de fevereiro de 2019 10:45 Para: whitecatboard/Lua-RTOS-ESP32 Cc: tcpipchip; Mention Assunto: Re: [whitecatboard/Lua-RTOS-ESP32] ublox NINA W (#221)

@tcpipchiphttps://github.com/tcpipchip,

To add this board and see what happens I should need the following:

  • Know the VID:PID of the board's usb to serial adapter. You can get this information executing the following in the command line:

python -m serial.tools.list_ports -v

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/whitecatboard/Lua-RTOS-ESP32/issues/221#issuecomment-462710585, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9MzN33GE6vGd5nY14OoVW__50QXS95ks5vMptSgaJpZM4aV1gz.

tcpipchip avatar Feb 12 '19 17:02 tcpipchip

@tcpipchip,

Initial support for this boar has been added in https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/70d4160f9ebc1de38ae716308204e28fc69d84f0.

It should work now with Whitecat IDE.

About the possibility to have one of this board, I mean a board like than the board you have. This help us to be more efficient and faster when resolving issues.

jolivepetrus avatar Feb 13 '19 10:02 jolivepetrus

Hi Jaume

Thank you so much! i will test soon!

Where are you in EUROPE ?

I will talk with distributor and see how can we send you a sample, ok ?

Miguel

PS: btw, are you thinking to add the basic BLE ?


De: Jaume Olivé Petrus [email protected] Enviado: quarta-feira, 13 de fevereiro de 2019 10:44 Para: whitecatboard/Lua-RTOS-ESP32 Cc: tcpipchip; Mention Assunto: Re: [whitecatboard/Lua-RTOS-ESP32] ublox NINA W (#221)

@tcpipchiphttps://github.com/tcpipchip,

Initial support for this boar has been added in 70d4160https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/70d4160f9ebc1de38ae716308204e28fc69d84f0.

It should work now with Whitecat IDE.

About the possibility to have one of this board, I mean a board like than the board you have. This help us to be more efficient and faster when resolving issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/whitecatboard/Lua-RTOS-ESP32/issues/221#issuecomment-463150715, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9MzPLpcbJkhZ1Of8AWtbNF4Qx8r83zks5vM-yXgaJpZM4aV1gz.

tcpipchip avatar Feb 13 '19 13:02 tcpipchip

@tcpipchip,

Yes, we are in Europe. Our contact address is:

whitecatboard.org PLAÇA CAN SURTIS S/N (EDIFICI CITILAB CORNELLÀ) 08940 - CORNELLÀ DE LLOBREGAT BARCELONA

About BLE it's not planned yet. No much funds now, so Whitecat is mainly financed with private funds.

Best regards.

jolivepetrus avatar Feb 13 '19 14:02 jolivepetrus

@tcpipchip,

Sorry, a transcription error ....

whitecatboard.org PLAÇA CAN SURIS S/N (EDIFICI CITILAB CORNELLÀ) 08940 - CORNELLÀ DE LLOBREGAT BARCELONA

jolivepetrus avatar Feb 13 '19 14:02 jolivepetrus

Good morning!!!!

Still not works! Can find the NINA W102

Serial is working, because i can see the LUA BOOT.

Tested on minicom (linux)

I gave /dev/ttyUSBx permissions


De: Jaume Olivé Petrus [email protected] Enviado: quarta-feira, 13 de fevereiro de 2019 10:44 Para: whitecatboard/Lua-RTOS-ESP32 Cc: tcpipchip; Mention Assunto: Re: [whitecatboard/Lua-RTOS-ESP32] ublox NINA W (#221)

@tcpipchiphttps://github.com/tcpipchip,

Initial support for this boar has been added in 70d4160https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/70d4160f9ebc1de38ae716308204e28fc69d84f0.

It should work now with Whitecat IDE.

About the possibility to have one of this board, I mean a board like than the board you have. This help us to be more efficient and faster when resolving issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/whitecatboard/Lua-RTOS-ESP32/issues/221#issuecomment-463150715, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9MzPLpcbJkhZ1Of8AWtbNF4Qx8r83zks5vM-yXgaJpZM4aV1gz.

tcpipchip avatar Feb 13 '19 15:02 tcpipchip

Must i compile the LUA RTOS again ?


De: Jaume Olivé Petrus [email protected] Enviado: quarta-feira, 13 de fevereiro de 2019 10:44 Para: whitecatboard/Lua-RTOS-ESP32 Cc: tcpipchip; Mention Assunto: Re: [whitecatboard/Lua-RTOS-ESP32] ublox NINA W (#221)

@tcpipchiphttps://github.com/tcpipchip,

Initial support for this boar has been added in 70d4160https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/70d4160f9ebc1de38ae716308204e28fc69d84f0.

It should work now with Whitecat IDE.

About the possibility to have one of this board, I mean a board like than the board you have. This help us to be more efficient and faster when resolving issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/whitecatboard/Lua-RTOS-ESP32/issues/221#issuecomment-463150715, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9MzPLpcbJkhZ1Of8AWtbNF4Qx8r83zks5vM-yXgaJpZM4aV1gz.

tcpipchip avatar Feb 13 '19 15:02 tcpipchip

I published now on UBLOX forum about LUA RTOS

tcpipchip avatar Feb 15 '19 13:02 tcpipchip

can you modify again ? /dev/ttyUSB2
desc: EVB-NINA-W1 hwid: USB VID:PID=0403:6011 SER=D4CA6EB4CDC1 LOCATION=1-1:1.2

tcpipchip avatar Feb 15 '19 14:02 tcpipchip

Hi Petrus I guess that i found a bug After execute make, the script ask me the EVK-NINA-W ID, i choose 31...and all compile... When i burn and execute the LUA, not shows EVK-NINA-W on boot, but generic. And in the LINUX cant find BOARD, try SCANNING, but no boards.

tcpipchip avatar Feb 15 '19 17:02 tcpipchip

looks that is looking for PID GENERIC board but mine is EVK-NINA-W

tcpipchip avatar Feb 15 '19 17:02 tcpipchip

@tcpipchip,

VID/PID for your board has been added to The Whitecat IDE. It should work now.

jolivepetrus avatar Feb 28 '19 18:02 jolivepetrus

Thank you! Btw i dont forget about your sample!

tcpipchip avatar Feb 28 '19 19:02 tcpipchip

Still not work! Testing on linux vm! Do you try to send some uart package to lua board to answer ? I will try in other machine

Enviado do meu iPhone

Em 28 de fev de 2019, às 15:56, Jaume Olivé Petrus <[email protected]mailto:[email protected]> escreveu:

@tcpipchiphttps://github.com/tcpipchip,

VID/PID for your board has been added to The Whitecat IDE. It should work now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/whitecatboard/Lua-RTOS-ESP32/issues/221#issuecomment-468393433, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9MzEjg-Lj8vPp7PSIcYcQbGGjxkRehks5vSCZkgaJpZM4aV1gz.

tcpipchip avatar Feb 28 '19 20:02 tcpipchip

Hi, i tested in other machine, W7, same problem of other W7, agent execute, show scanning and disapear!

In LINUX VM only scanning and shows a strange string sequence and again the SCANNING message

Strange!

Did you try in W7 or only 10 ?

tcpipchip avatar Mar 01 '19 02:03 tcpipchip

@tcpipchip,

I have an idea about what happens.

The following is a capture of my board's console output when doing a manual reset:

` ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT) configsip: 188777542, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:4016 ho 0 tail 12 room 4 load:0x40078000,len:9288 ho 0 tail 12 room 4 load:0x40080400,len:5928 entry 0x400806bc Booting Lua RTOS... `

Can you atached a capture console of your board when doing a manual reset. Whitecat Create Agent uses the bootloader output to take some decisions about the board. Maybe your board has a pull-down on GPIO15 that disables the bootloader output. If this is your case, we will write some changes in the Whitecat Create Agent.

jolivepetrus avatar Mar 02 '19 12:03 jolivepetrus

Hi!!!!

I will send you this info Tuesday

Btw, dont whitecat send some txd data first to serial ? Or first wait for a rxd data ?

tcpipchip avatar Mar 02 '19 20:03 tcpipchip

@tcpipchip,

First data is sent to the board only if Lua RTOS is detected on it.

jolivepetrus avatar Mar 02 '19 20:03 jolivepetrus

Make sense!!!!

tcpipchip avatar Mar 02 '19 22:03 tcpipchip

ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:4148 load:0x40078000,len:9748 ho 0 tail 12 room 4 load:0x40080400,len:6060 entry 0x400806dc Booting Lua RTOS...

[2J[1;1H /\ /\

/ _____/ \

/_____________\

W H I T E C A T

Lua RTOS beta 0.1. Copyright (C) 2015 - 2018 whitecatboard.org

build 1550248939

commit 9c757a84beaa5e5cdd6a3605cb09de5d90bb59c1

Running from factory partition

board type GENERIC

cpu ESP32 rev 1 at 240 Mhz

spiffs start address at 0xf000, size 256 Kb

spiffs mounted on /

Lua RTOS beta 0.1 powered by Lua 5.3.4

/ >

tcpipchip avatar Mar 05 '19 02:03 tcpipchip

hi, no news there ?

tcpipchip avatar Mar 17 '19 21:03 tcpipchip