-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
particle update (v1.43) is failing to complete dfu, new bootloader method presumed at fault #498
Comments
ah, sorry about that. i'll investigate ASAP. thanks for the report 👍 |
Fixes issue #498 where `particle update` fails on Photon/P1
I'm getting near identical symptoms with what seems to be a corrupted P1 board. particle-cli 1.52.0 using node 10.16 (and tried 8.6)
The device afterwards hangs on a solid yellow light. If you run particle update again, it actually comes out with an interesting javascript error:
|
hi @markterrill sorry to hear you are hitting issues again. i know it's not very comforting but we're unable to reproduce the issue over here. the solid yellow led on the device indicates if you are still hitting issues, do you mind opening a new issue here (as opposed to discussing it in this closed one). you can always link over here for context and be sure to provide the troubleshooting info we ask for in the issue template. thanks 🙏 |
Hi, USB cable? Srly? To me it's the same issue, that is repeating like a bad curry. If you'd like to open a new case for the javascript error then you're welcome to. I'm spending enough of my time debugging faulty Particle software and hardware, ie this one https://github.com/particle-iot/device-os/issues/1958 has cost us significant delays and staff labour during the busiest retail time of the year. |
Note, that USB cable has been reflashing boards all week to remediate boards corrupted by the #1958 issue. USB cable. Funny stuff. |
@busticated flicked through github responses today and nothing, but I was curious as to whether it was a wrong library or silly mistake that wasn't tested. dfu.util
rightio, so timeoutGenerator is being called with a library used to create temporary files. That's odd isn't it. let's take a look at utilities.js
rightio. So we pass a full library (used for temporary files) as a parameter to a function that is only used once in the entire program and then call a method (.reject) that doesn't exist. Seems like they tried to reject the promise inside the function but failed to get close. As there is a Testing and code review score: 0 |
I posted an issue against device-os as it seems to be a combination of 1.2.1 new bootloader process and particle-cli 'particle update'
https://github.com/particle-iot/device-os/issues/1856
Note the 'cannot read property 'code' of undefined.
Marks-2017MBP:sdb-firmwareflash markterrill$ particle update
Your device is ready for a system update.
This process should take about 30 seconds. Here it goes!
! An error occurred while attempting to update the system firmware of your device:
dfu-util:
File too short for DFU suffix
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util:
Error during download get_status
Please visit our community forums for help with this error:
https://community.particle.io/
Cannot read property 'code' of undefined
The text was updated successfully, but these errors were encountered: