Closed sabas1080 closed 5 years ago
Hi @sabas1080 , sorry for the late response.
The 3 boards that are not updating are working fine with standard firmware (FirstConfiguration
example) ? If so, it may be a timing issue, since the factory flash is executed using a slightly modified version of MKRWANFWUpdate_standalone
sketch so any sold board should be able to update the fw.
Let me know! Thanks
in one FirstConfiguration example not work
in all devices the monitor serial break and not respond
About the serial monitor, are you able to use it with other boards or does it always break? I see you are on OSX so I'm not "at home" but it looks like you have another program running in the background which breaks the serial communication. Is it feasible for you to test the boards with another computer? This would also help sorting out why one doesn't even run FirstConfiguration sketch.
in other boards not break, I have test in other computer with windows same error
Ok, I suggest you to write to support for a replacement linking this github issue and the purchase order. Sorry for the inconvenience
Just got 4 boards from Amazon, 3 of them are bricked after trying the update script. (connect with Serial Monitor, try to press keys, nothing happening). The boards won't come back to life.
@pelikhan it's physically impossible to brick a board using the updater sketch (since its only writes the Murata module memory). What happens if you double click the reset button? The orange LED should start fading and the board should be in bootloader mode again.
The updated script gets stack after printing the first line to the serial console. It did work on one board after numerous resets.
I am buying more mkr 1300 boards and this is becoming a very common error @facchinm
It might be related with a module variability at this point; just to make sure it's not IDE related, would you mind (both @pelikhan and @sabas1080 ) to post your PC specs, SAMD core version, MKRWAN library version (attach it here if you patched it) so I can try reproducing locally with a board from a recent batch? Thanks
How can we get that info?
Is there any diagnostic Arduino sketch we can run?
Could these random update issues be related to the power supply issue with the Murata module? That is, the module on unmodified boards has an incorrect voltage applied when using the USB port.
Arduino IDE 1.8.8 and 1.8.6 MKRWAN version: 1.0.9 OS: MAC OS High Sierra SAMD Core: 1.6.20
I don’t have the board at hand but my issues were on Windows 10.
How can we get that info?
@pelikhan Here's how to find the SAMD core version:
Here's how to get the MKRWAN library version:
@sabas1080 would you mind sending me the serial number of the malfunctioning boards? To obtain it, connect a board and select "Tools/Get Board Info" from the IDE. Any sketch must be running (no bootloader mode, blink is enough). Thanks a lot
@sabas1080 @pelikhan would you mind testing this patch https://github.com/arduino-libraries/MKRWAN/commit/d994574bedf73c970a41a3d3b11d439e33f49d8c ? I was able to reproduce the hang at SAMD level and to fix it by setting cmd_get_reply
variable to NULL.
On my boards the Murata always responded correctly anyway, so I hope it's only a sw issue.
@facchinm fix problem! 4 boards :D
How do I deploy this patch?
@pelikhan I modified the sketch directly, file .h only add "=null"
I have 20 arduino MKR1300
I am updating 3 arduino mkr1300 with example of "MKRWANFWUpdate_standalone"
https://github.com/arduino-libraries/MKRWAN/tree/master/examples/MKRWANFWUpdate_standalone
but update does not finish in 3 arduino MKR1300, other devices ok update