Puck.js firmware update #3273
Replies: 28 comments
-
|
Posted at 2020-02-05 by Robin Wed 2020.02.05 Hello @user109289 and thank you for your interest and purchase of Espruino Puck's. While it might be somewhat frustrating, attempting to reflash a device, the instructions have been used by many successfully, but I found it a bit intimidating attempting to grasp which mode the device was in and at what time.
After flashing, what LED's flashed as the battery is re-inserted? http://www.espruino.com/Puck.js#hard-reset
While I don't have a Puck handy, and would have to perform the following from memory, I shall be checking back here over the next three hours, say every half hour or so. It's 17:30 CST I'll re-read the flash steps to refresh my memory, but in the mean time, has a re-flash been attempted? Has a flash of an older version of Espruino been tried? (just to rule out any new version un-validated anomalies) Start here, move to parent directory: http://www.espruino.com/binaries/travis/master/ It will be necessary to search by date, such as '2019-12' |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-05 by user109289 when battery inserted now no lights blink at all. If you press the button the green light comes on and stays on and will not go off until battery pulled and put back in. It won't allow Hard Reset now. No matter how long I hold the button down while inserting the battery the light just stays green now after flashing. I am new to this device but have been flashing devices for over 20 years. I followed the instructions precisely. Thank you very much for your assistance. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-05 by user109289 Yes I did try to go back a version to re-attempt flash with one version back. Have not tried more than one back. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-05 by user109289 I do want to mention again that during the flash process through android, at the end when it gets to 100% (blue light lit on puck) the blue light goes out and the android software says it has disconnected from puck and upload failed. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin
Might be as a non-complete flash may have occurred.
Do the other three LED's blink at all, after the green LED is seen? Is it possible the battery may have drained below a threshold to allow suitable flashing? Two Puck's were mentioned in post #1, has the other battery, or a different battery been tried? Has the other device been tried? (I'd hold off on flashing the latter for now so that we have a working unit to compare with) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 I tried the procedure on the second one and I have same result exactly. If I scan in nRF Logger I see "DfuTarg". I hit connect and it connects and the puck LED changes from solid green to solid blue. From there I can see logs. Other than that that is the only two color changes I get after flashing not matter what I try. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Also, when I hit disconnect from "DfuTarg" the LED on the puck goes from blue back to solid green. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin
Is the Red LED ever seen after re-inserting the battery? The Blu LED seems to be consistent with BLE connectivity, so my best guess at this time is the device did not complete the flash process, also confirmed in post #5. Try first: > 'Release the button within 3 seconds of inserting the battery - either the Red LED should light instead or on new Puck.js devices, Green will light more brightly. If it doesn't, you'll need to try again, holding the button down for less time after inserting the battery.' I've not done a re-flash with a newer version of Espruino. Would it be accurate to state that the Red LED is never seen, but the Grn LED glows more brightly? Try second; For a Hard Reset > 'Perform the steps for a Reset (see above) but keep the button held for around 10 seconds. The green LED should light, followed by all 3 LEDs, then the red LED will blink 5 times.' Really hold down for ten seconds, count out loud so I can hear you! ;-) Would it be correct that all three LED's never illuminate? > 'via nRF Logger and captured a debug file I could email you' Is the file too large to just upload/insert here? While @gfwilliams may have a small amount of time to break away from his dedication to the Bangle Kickstarter, it will be at least 12 hours from now GMT at the earliest, and more likely 18 or later, before his expertise could be used. He may have you email should that be necessary. It may not be relavant, but where\distributor was the purchase made, and when\date time frame? *(to isolate battery age, Espruino version flashed and possible unlikely hardware changes)* |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Is the Red LED ever seen after re-inserting the battery? I've not done a re-flash with a newer version of Espruino. Would it be accurate to state that the Red LED is never seen, but the Grn LED glows more brightly? Tried 2nd hard reset, no matter how long I hold the button down on battery insert no other lights except mid green, when let go goes brighter green. here is debug file: nRF Connect, 2020-02-05
|
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin
Is the upload/re-flash process able to be started at the point the Grn LED illuminates the brighter green? I'm at step 5 |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 if you hold down button while inserting battery and let off after 1 second it does go from green to brighter green. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 holding the button down shorter or longer seems to have no effect after flash |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Here is some node red debug too: 2/5/2020, 5:14:20 PMnode: 3ff089d7.fdc376 |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 I have both of them on now and apparently my Ridgid battery is near haha |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin
Again, is the flash process able to be started at this point? (post #11) The brighter Green is indicative of the device needing to start the upload/flash process. It is in the correct mode, waiting for the Android device. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 it appears i can go through the flash process again. which should i use? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin While my version is still at 1v99 (don't own a suitable Android device or smart phone) that version is stable as I'm sure the rest are also. Haven't heard of issues prior to 2v04 (or even 2v04 until now) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 well ive tried 2v04 and 2v03. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin Is the suggestion then, that after flashing and then popping the battery out, and then re-inserting, that the Red LED never flashes showing the boot process starting? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 that is correct |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin I'm about out of ideas, and really short on time, but could you outline for others the steps/sequence exactly as the battery is inserted after the flash process. I've never seen/heard of a state where no LED(s) illuminate, but until the button is pressed. It may not be relavant, but where\distributor was the purchase made, and when\date time frame? *(to isolate battery age, Espruino version flashed and possible unlikely hardware changes)* |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Adafruits Website 2 day shipping received today. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by Robin Thank you @user109289 for posting the logs and the steps taken. I'm sure it is frustrating, not being able to move forward, but there is an answer. I just don't have enough experience for the next steps. Be patient, and someone with a greater knowledge base and understanding should be able to get to the root of this. In the mean time, while not a Puck, get started with some programming using the emulator on the Bangle. Just came across this '8-Ball' demo another individual is working on. Runs in the browser. Launch link at: |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 thank you very much for trying |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Wow, went back to 1v95 firmware and everything came back as it should working.. yaa. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by user109289 Also just tried 1v96 to get larger memory format and that version doesn't work with the puck.js either. Have I received really old stock that won't upgrade past certain firmware? Only up to 1v95 operates normal. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by AkosLukacs That's strange. But if connection is lost during DFU (for example my phone has a short screen lock timeout, and just locked itself while sending DFU, breaking the DFU process), you can reconnect and continue where you were. In my experience Nordic's DFU software handles that automagically. Woh, this sentence sounds awkward, because you "download" twice :) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-02-06 by @gfwilliams Hi - sorry you're having issues with this. Thanks for posting the logs, although I'm not seeing much in the way of an error there - I wonder if it actually logged the firmware update? As @AkosLukacs points out, if the upload fails then then you can normally just reconnect and resume the upload from where you left off. A failed upload will stop Puck.js from working as a Puck but you'll still be able to get the bootloader (appearing as DfuTarg, with the green LED) so you can finish the update and get it working. It sounds like you were just at that stage. Adafruit have pretty up to date stock, but regardless of the age you should be able to update the firmware to the latest version just fine. Have you tried to flash with both "NRF Toolbox" and "NRF Connect"? Please can you try:
Also - does the issue happen on both Puck.js devices, or just one? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-02-05 by user109289
Hello, I received two puck.js today and the website said it's best to update the firmware when you get them.
I used my Galaxy s9+ and downloaded the nrf toolbox.
Held the button while powering the puck.js on briefly and green light turned brighter as described.
I went and downloaded the latest firmware 2v04 and went through the process of uploading. Puck light went from bright green to blue during the upload process.
All seemed well, got to 100% and the puck.js blue light went off and the nrf toolbox showed failed/puck disconnected.
After this nothing works except when you push the button on the puck.js it now just glows bright green when you push the button. If you take battery out and hold button while inserting battery it just stays green no matter how long you hold button. Search only finds "DfuTarg" now. If you take battery out and put back in and don't touch button, you find nothing on search from any device.
Beta Was this translation helpful? Give feedback.
All reactions