Missing modules? #5478
Replies: 1 comment
-
Posted at 2016-11-13 by ClearMemory041063 The code you are trying to load is for either an espruino board or Pico connected via serial port to an ESP8266. It doesn't currently work on an ESP8266 running Espruino. That would require modification to the Espruino source code and a recompile. As a consumer of Espruino I'm not currently setup to do such a task. Perhaps some of the ESP8266 folks on the Forum who are so equipped can comment further. Posted at 2016-11-14 by @gfwilliams It sounds like @DH. does have a Pico? Maybe you could try just disconnecting and reconnecting the Web IDE? Sometimes if the Web IDE hasn't been able to communicate with the Espruino Board at startup it can't figure out which board is connected, so doesn't know which modules are installed ( In fact, the Web IDE might be giving you warnings, but the code that is uploading might be working file? Posted at 2016-11-14 by ClearMemory041063 This experiment used two Picos and two ESP8266. One Pico-ESP8266 (via serial) runs the server code and the other Pico-ESP8266 runs the client code. Posted at 2016-11-14 by @gfwilliams Did the disconnect/reconnect work? I guess the warnings you got were the orange popups in the bottom right? If you go into settings and immediately scroll down, do you see anything under Posted at 2016-11-14 by dh. I have no idea what's going on, after flashing with the newest version the board, it worked, but after trying again it's giving me those errors(yeah it's those little orange pop-ups on the right side of the screen) EDIT: Whenever I try to send any code to the board, even the basic led blink one, I get this message on the console: "ERROR: Prompt not detected - upload failed. Trying to recover..." Posted at 2016-11-14 by ClearMemory041063 Ah Ha! The program creates a menu system for the left pane of the WebIDE by redirecting the USB port. If you enter a zero followed by a return in the left pane it will exit the menu mode and return to the Console mode. Posted at 2016-11-14 by dh. Oh, so it was just "stuck" on this menu? Posted at 2016-11-14 by @gfwilliams Ahh, that makes sense. So, just to be clear: The specific code that you uploaded re-uses the USB port for something else, so when you upload, it takes control away from the Web IDE.
That's because the Web IDE realised the board wasn't responding to the usual commands. To make matters worse, unless you plug & replug the board to reset it, the IDE won't be able to communicate with the board at all - to upload or even to figure out what kind of board it is. Posted at 2016-11-14 by ClearMemory041063 If you upload and then enter 0 return in the left pane it exits the menu. Please change the broadcast address so it doesn't UDP the entire Internet. Posted at 2016-11-14 by dh. It got a bit worse because I already set to keep the code even when powering off in the IDE, so I had no idea how to reset if not flashing the board. Is there another way to do that? Posted at 2016-11-14 by @gfwilliams If you're powering the board externally often you can unplug and re-plug USB, and unless the console has been moved with In the newest bootloaders you can just hold the button down for ~3 seconds while powering on and it starts up without loading saved code - but the Picos won't have that unless you upload the bootloader (which is a real pain and can't be done through the Web IDE). Posted at 2016-11-14 by ClearMemory041063 In the code titled //UDP_TCPclient1.js //2 Oct 2016
The left screen
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-11-13 by dh.
Have been trying the code on this post: http://forum.espruino.com/conversations/293809/
But I have a problem, 2 missing modules:
Is there a new repo that I'm not aware or something?
I'm using an Espruino Pico and soldered a ESP8266 to it with the shim.
Beta Was this translation helpful? Give feedback.
All reactions