Avatar for seriousStuff


Member since Dec 2015 • Last active Nov 2021
  • 1 conversations

Most recent activity

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    BRB, flashing my remaining Picos...

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    TL;DR: It works!

    Yesterday I gave the Espruino Pico one last shot trying my luck again to flashing the bootloader, still no success.
    I was a couple minutes ago I was in the process to cleanup all related tabs and call it a day, when I reloaded this thread and just then realized that you posted an answer already 10 days ago...It must have slipped through somehow...

    I downloaded the tool from the provided URL and followed this step-by-step instructions: https://doc.qt.io/QtForMCUs/qtul-flashin­ginstructions-st-bootloader.html

    Flashing worked just fine.
    After removing pencil marks on the BOOT0/BTN solder jumper, I could enter the bootloader mode just fine (LEDs keep pulsing, instead of changing to the "solid" state).

    I couldn't connect to the board though the device showed up in the serial port connection menu.
    I checked the trouble shooting section that exactly described this and after restarting first chrome and than my PC it now works flawlessly as far I can tell.
    (I had a error message in the Web IDE when flashing code to the device, that is now gone)

    Thank you gordon for being so helpful!

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    Sorry to bother you again, but I'm having trouble using the Advanced Reflash...

    As described in the documentation, I shortened the BOOT0/BTN solder jumper and plugged in the device while pressing the button. In the device overview a stm32 bootloader is shown, I guess that means that it is in the proper state (screenshot).
    I then tried to use the DFU tool to flash the firmware, but ultimately I'm stuck here. The tool doesn't seem to recognize the pico in any configuration I tried (see screenshot).

    Maybe you've got any idea on how I could proceed? Thanks!

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    Hello Gordon,
    thank you very much!

    Do the LEDs go from pulsing alternately to solid when you click the Web Serial button, or just after a set period of time?

    The latter, it changes to solid without interaction.

    I believe the Pico you have is one of the first batch that were made 6 years ago

    This is very likely, it backed the kickstarter campaign of the pico and got this one as a reward. (Just checked, that was Apr 2015! 👌)

    Since I don't have a non W10 computer, I'll try my luck with the Advanced Reflash!

    Thank you for the kind and fast replies, appreciate it very much!

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    I made a video!

    (Sorry for the sideways camera...)

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    Hi Robin,
    thanks for your answer!

    Sorry for not providing sufficient background, I'll do my best to answer all the open questions:

    Q1: Could you explain which tool and/or process along with PC
    environment/OS please?

    I'm on Windows 10, I used the Flasher tool from the WebIDE (Settings > Flasher).

    Q2: Which version is being flashed and by chance do you recall what version was there, ballpark okay? One of these perhaps, or some other file?

    The current version is 1v91, the tool tried to flash 2v10 for the revision 1.3 of the pico board (https://www.espruino.com/binaries/esprui­no_2v10_pico_1r3.bin)

    Q3: Was any attempt made to try the 'Advanced Reflashing' ?

    I did not. I read about this but I assumed that the device is (as of now) not broken.

    Q4: Was an attempt made to flash directly from the WebIDE?

    Yes, I only used the WebIDE.

    I believe the issue is not the flashing tool or the firmware version to be flashed. It has probably something to do with the fact that after entering bootloader mode both LEDs are lit brightly and it is not possible to connect to the board any longer.
    Therefore also the Flasher tool is not able to connect to the board and do some actual flashing.

    The board so far works fine!
    I can just connect normally and store some sample code and execute it.

  • in Pico / Wifi / Original Espruino
    Avatar for seriousStuff

    I tried to flash the firmware, for that I use the Flasher tool.
    After entering the bootloader mode the red and the green LEDs pulse alternating. After a few seconds both LEDs are brightly lit.

    The documentation (https://www.espruino.com/Troubleshooting­#on-the-espruino-pico-wifi-boards) says that this might have to do with a bad cable, but I'm getting the same result when I'm plugging the board directly into my computer.

    Any idea what I could try additionally?

  • in JavaScript
    Avatar for seriousStuff

    Hi, thank you for looking into this!

    Will test this out, the intermediate solution above is fine!
    What are the plans for releasing th next version of the WebIDE?

    Thanks for doing an amazing job!
    The espruino made my entry into hardware tinkering very easy. :)

  • in JavaScript
    Avatar for seriousStuff

    i have a question regarding the require mechanism and the project handling in the webIDE.

    i created a simple wrapper for the 'HC-SR04' which abstracts the low level handling.
    this wrapper of course uses the 'HC-SR04' module from espruino.com
    i want to reuse this class on several places so i put it into the 'modules' folder of the configured project directory in the webIDE.

    when i 'require(...)' this file i get the error message that the modul can not be found.

    it seems to me that it is not possible for a module (from the modules directory) to require another module regardless if it's a local one or from the web?