Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is NodeMCU online and the Lua interpreter ready ? #90

Open
ellenfel opened this issue Mar 7, 2022 · 1 comment
Open

is NodeMCU online and the Lua interpreter ready ? #90

ellenfel opened this issue Mar 7, 2022 · 1 comment

Comments

@ellenfel
Copy link

ellenfel commented Mar 7, 2022

I am running this tool on ubuntu16.04
and iam currently following instructions from:
https://github.com/nodemcu/nodemcu-firmware/blob/release/docs/getting-started.md#nodemcu-tool

after installing NodeMCU-Tool globally with $ npm install nodemcu-tool -g
running $ nodemcu-tool --version gives 3.2.1 so i assume installation was successful but when i try to upload a lua file
$ nodemcu-tool upload --port=/dev/ttyUSB0 helloworld.l,

[NodeMCU-Tool]~ Unable to establish connection
[NodeMCU-Tool]~ Timeout, no response detected - is NodeMCU online and the Lua interpreter ready ?
error messages returns.

$ nodemcu-tool devices returns
(node:18906) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
[device] ~ Device filter is active - only known NodeMCU devices (USB vendor-id) will be listed.
[device] ~ Connected Devices | Total: 1
[device] ~ - /dev/ttyUSB0 (1a86, usb-1a86_USB2.0-Ser_-if00-port0)

This issue has opend here before in : #25
and the solution was: $ nodemcu-tool mkfs --connection-delay 1000
but unfortunattly this just returns the same error that returns when i try to upload a lua file.

@AndiDittrich
Copy link
Owner

Hi @ellenfel ,

the issue template contains some questions / required debug informations. please check them first as well as the docs related to https://github.com/AndiDittrich/NodeMCU-Tool/blob/master/docs/Reset_on_Connect.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants