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:
Connected to Web Bluetooth, Puck.js 1363
index.js:92927 >>> Minifying
index.js:92927 >>> Minification complete
index.js:92927 Uploading 2393 bytes to flash
index.js:92927 Found a prompt... great!
index.js:92927 >>> Sending...
index.js:92927 --->
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 @
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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 @