Pico: Bootloader mode, than not connected #5016
Replies: 1 comment
-
Posted at 2021-10-06 by Robin Tue 2021.10.05 Hi @seriousStuff and it appears we are stuck with some serious stuff to deal with! ;-) I'm going to collect a bit more detail for others to resolve which will save some time in the
Different tools, different processes, different OS's, etc 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? Q3: Was any attempt made to try the 'Advanced Reflashing' ? Q4: Was an attempt made to flash directly from the WebIDE?
Posted at 2021-10-06 by seriousStuff Hi Robin, Sorry for not providing sufficient background, I'll do my best to answer all the open questions:
I'm on Windows 10, I used the Flasher tool from the WebIDE (Settings > Flasher).
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/espruino_2v10_pico_1r3.bin)
I did not. I read about this but I assumed that the device is (as of now) not broken.
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. The board so far works fine! Posted at 2021-10-06 by seriousStuff I made a video! (Sorry for the sideways camera...) Posted at 2021-10-06 by @gfwilliams Thanks for the video! Do the LEDs go from pulsing alternately to solid when you click the Web Serial button, or just after a set period of time? Usually when they go from alternately flashing to solid it's because some application on the computer has connected to it and started to send data. The only time I really heard of this happening was when something on someone's computer expected the Pico to be an old-school modem and started trying to send it modem commands, but I'd be surprised if that was happening here! Posted at 2021-10-06 by @gfwilliams Actually this could be something else. I believe the Pico you have is one of the first batch that were made 6 years ago (it has a sticker on the STM32, subsequent ones didn't). Something changed in the Windows 10 OS drivers, and I believe it meant that the Pico's bootloader no longer got detected in Windows 10 properly (or maybe w10 does treat it as a modem?), even though the Pico itself works fine when booting normally. So you have two options:
'Advanced Reflash' is a bit more of a faff, but it should fix your Pico for good, and you can then easily update with the IDE from Windows 10 from then on. Posted at 2021-10-06 by seriousStuff Hello Gordon,
The latter, it changes to solid without interaction.
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! Posted at 2021-10-07 by 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). Maybe you've got any idea on how I could proceed? Thanks! Attachments: Posted at 2021-10-13 by @gfwilliams Argh - I just had a quick google and found this: https://community.st.com/s/question/0D50X0000AwWPPhSQO/dfusedemo-v306-not-working-after-windows-10-update So it looks like at some point Windows changed something else and broke that flashing tool. It seems they now recommend this one: https://www.st.com/en/development-tools/stm32cubeprog.html Please can you give that a go and let me know how you get on? If it works I'll change all the docs. Appearing as Posted at 2021-10-23 by 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 downloaded the tool from the provided URL and followed this step-by-step instructions: https://doc.qt.io/QtForMCUs/qtul-flashinginstructions-st-bootloader.html Flashing worked just fine. I couldn't connect to the board though the device showed up in the serial port connection menu. Thank you gordon for being so helpful! Posted at 2021-10-23 by seriousStuff BRB, flashing my remaining Picos... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-10-05 by 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?
Beta Was this translation helpful? Give feedback.
All reactions