Can't enter bootloader, plus other mysteries #5707
Replies: 1 comment
-
Posted at 2017-02-25 by CriscoCrusader I think I fixed it! Reading other threads, learned about
That's my project code! And a clue! Let's try this then...
Hooray! Right?
fml Posted at 2017-02-25 by CriscoCrusader Ooohhhhhh, it works. I understand now. Instead of typing
Press
So if I upload code that isn't messed up (trying to support Getting into bootloader probably not working still :( Posted at 2017-02-25 by @gfwilliams To get into the bootloader you just power the board up with the button held down - does that not work? For modules that have to be loaded off the internet you have to use the right-hand side of the IDE so the IDE can detect their use and load them automatically. The left-hand side goes direct to the Espruino Board, so if it doesn't know about a module it's unable to load it. It'd be worth going through the quick start and a few of the Espruino Pico tutorials - I think a lot of this stuff is covered already there - it might save you some time :) Posted at 2017-02-25 by CriscoCrusader
It does not appear to be working. What does the yellow LED mean?
Ya, see how it works now.
I did when I got my first board. I saw the section about save and onInit at the time, but I didn't try it out, and I forgot those features existed. I don't learn well by reading, I learn by doing, which is apparently uncommon among developers. FWIW, the Lodash project documentation is really easy to work with. Would be super if Espruino could have similar documentation at some point in the future. Posted at 2017-02-25 by @gfwilliams
There is no yellow LED? If both red and green LEDs are on it's in bootloader mode, but hasn't got an active connection to USB (they pulse when it's connected). If that's the case it could be the USB cable, or maybe a driver issue on your PC? If you try it on another computer it'll probably work fine.
Like this? https://lodash.com/docs#now Espruino has this - which apart from some CSS is pretty similar: http://www.espruino.com/Reference I've been trying to add more examples (and eventually I'll add an index down the left-hand side) - but it's not that bad. There's just a lot of it. Posted at 2017-02-25 by CriscoCrusader My bad. I've used that before, I think it's quite good, and I see these functions are there too. I'm really sleep deprived, that will be my excuse. Sorry for being a nuisance :). Thanks as always. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-02-25 by CriscoCrusader
I'm working with an Espruino WiFi.
The board seems be working correctly when I run code in the left panel.
However,
require('EspruinoWiFi')
throwsAnd same result with MQTT. So I try to clear flash.
The last line,
var client = mqtt.create(MQTT_HOST);
is some code from my project. I'm not able to clear it from flash.Also tried
E.setBootCode()
, then save, same result. Also triedE.setBootCode()
, reset, save, still no luck.Decided to try a fresh update. Holding down BTN1, plug in power, see yellow LED for 2s, see red LED flash, then no LED's lit. Can't get into bootloader mode it seems. Also not finding documentation for yellow LED.
Beta Was this translation helpful? Give feedback.
All reactions