Solid green light, hard reset not working #4162
Replies: 1 comment
-
Posted at 2021-08-21 by Robin Sat 2021.08.21 Hi @user133430 although I might not have the exact response you are seeking, there are a few questions that others may need to get you back on track. Which Puck version (hardware) are we working with? Should that not be known, about how long ago was the Puck purchased and from which vendor? Posted at 2021-08-23 by @gfwilliams Hi, It's extremely unlikely you bricked the Pucks - there's quite a bit of code in there to stop you accidentally getting them into a state where they no longer work. The usual solid green light is just when you boot the Puck with the button held down and then release it too early (in which case it enters bootloader mode)... What happens if you insert the battery into the Puck while keeping it held for at least 15 seconds? The logs you post up sound fine, but to see if it's reproducable I'd need the actual code you posted up. Posted at 2021-08-23 by user133430 Looks like there is still hope to make them work again :) I'll be home tomorrow and will send some pictures of what is going on. When I tried to hard reset it, green light will be on, then after a few sec blue LED will light up quickly and that's it. Posted at 2021-08-23 by user133430 Hi, so I ordered puck from here https://www.adafruit.com/product/3372, V2 . I also did flash it with firmware, don't quite remember the version it had. It's basically behaving like I'm pressing the button during startup while I'm not doing that and it's out of the case. I'll try to see if I'm able to get it connected with nRF Toolbox and flash the latest firmware. Posted at 2021-08-23 by user133430 The code I'm uploading. Basically, it allows me to connect my android app and retrieve log files.
Posted at 2021-08-24 by Robin Mon 2021.08.23
@gfwilliams pointed out an attempt removing the battery in post #3 What was observed performing that removal test? Nothing stands out; nit picky here 'sppiling' ;-) error L88 Not sure if this works as desired, but is it known that the timeouts will execute inside the loop immediately queue'ing up and overlap each other. Might lead to an odd visual blinking. Is this intentional? > I also did flash it with firmware, don't quite remember the version it had. Please post the results of Posted at 2021-08-24 by @gfwilliams Thanks for posting the code up - I don't see anything that could cause an issue in there at all, it looks really neat. Only thing I'd say is I guess it's for testing, but:
Unless I am misunderstanding, it's writing every time there are 5 log entries, and it's being called every 2 seconds so it'll be writing a new log file every 10 seconds...
Let me know how you get on, but is it possible that you were just accidentally pressing the button? It's actually really easy to do - I've done it plenty of times and I know others have too. Posted at 2021-08-26 by user133430 Thank you all for looking into it, I was able to "fix" them by updating firmware with nRF Toolbox app. I also made a video of the issue when trying to hard reset it: https://youtu.be/zg66NeCJJPk Posted at 2021-08-26 by @gfwilliams Thanks for that video, and for managing to sort it out yourself! That really is odd - I'll add that to the troubleshooting. What I think must be happening then is that somehow the Puck.js firmware got corrupted - and so the bootloader tries to boot, fails, and then just reverts to bootloader mode. If you figure out some code that you can upload that reliably reproduces the issue, please can you post it up (or send it privately if you don't want to share publicly) then I can see if I can get a fix into the Puck.js firmware. Posted at 2022-08-24 by user148415 I had the Same issue today, puck.js is new v2.1a. is there now a fix for it? With best regards Posted at 2022-08-24 by @gfwilliams Did you just accidentally plug the battery in while holding the button down? That's the problem 99% of the time. Posted at 2022-08-24 by user148415 I found out with someone that it has something to do with Android, on the PC everything works without problems Posted at 2023-03-23 by user154784 ISSUE RESOLVED: Follow instructions here. http://forum.espruino.com/conversations/340193/#comment14961911 Install the firmware via your iPhone. It requires you downloading a zip file of the firmware you're looking for, but I had no success after a lot of trial and error until I attempted this. I just got my PuckJS today. I'm now seeing this issue as well. I'm a M1 Mac user. I tried updating the firmware from 2.15 (?) to 2.17 (?). I cannot hard reset it -- it does seem like I may have managed to corrupt the firmware and can no longer boot. Any help would be greatly appreciated!
Afterwards, I get a solid blue light. If I remove and replace the battery, I'm stuck in boatload mode again and will get the same error as above if I try to re-flash. I am unable to connect to the device in any way other than attempting to flash it
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-08-21 by user133430
I suspect that Puck somehow bricked during connect/disconnect or flash memory update. Green LED stays lit even when I try hard reset. Please help if there is any way to reset the Puck, same thing happened to 2 devices today, I'm not sure what is the cause and I don't want to keep breaking them. Console log:
BUNCH OF CODE HERE
index.js:92927 Splitting for reset(), delay 250
index.js:92927 >>> Sent
index.js:92927 BT> Disconnected (gattserverdisconnected)
index.js:92927 Disconnect callback... {"port":"Web Bluetooth","portName":"Puck.js 1363"}
index.js:92932 [notify_warn] Disconnected from Web Bluetooth, Puck.js 1363
console.warn @ index.js:92932
index.js:92927 >>> Disconnected from Web Bluetooth, Puck.js 1363
index.js:92927 >>> Connecting...
index.js:92927 Set Slow Write = true
index.js:92927 BT> Starting device chooser
index.js:92927 BT> ERROR: NotFoundError: User cancelled the requestDevice() chooser.
index.js:92937 [notify_error] Connection Failed: NotFoundError: User cancelled the requestDevice() chooser.
console.error @ index.js:92937
index.js:92927 >>> Connection Failed: NotFoundError: User cancelled the requestDevice() chooser.
index.js:92927 >>> Connecting...
index.js:92927 Set Slow Write = true
index.js:92927 BT> Starting device chooser
index.js:92927 BT> ERROR: NotFoundError: User cancelled the requestDevice() chooser.
index.js:92937 [notify_error] Connection Failed: NotFoundError: User cancelled the requestDevice() chooser.
console.error @ index.js:92937
index.js:92927 >>> Connection Failed: NotFoundError: User cancelled the requestDevice() chooser.
index.js:92927 >>> Connecting...
index.js:92927 Set Slow Write = true
index.js:92927 BT> Starting device chooser
index.js:92927 BT> ERROR: NotFoundError: User cancelled the requestDevice() chooser.
index.js:92937 [notify_error] Connection Failed: NotFoundError: User cancelled the requestDevice() chooser.
console.error @
Beta Was this translation helpful? Give feedback.
All reactions