I am using Arduino IDE 1.8.10 on Windows 10. I am trying uploading "matrixdemo" in Adafruit microbit Library.
Uploading worked for one of microbit boards and it is showing LED matrix demo. For another one, uploading process said "Veried OK" and looked the same with the other one, but, it won't run the LED demo and just runs serial communication demo that I uploaded days ago.
I tried uploading many times. Below are the uploading results for both of succeeded one and failed one though both of the results look same.
I understand that writing to memory eventually fails, but, why does the upload verification passes in Arduino IDE?
<Upload worked for one microbit (COM16)>
Sketch uses 29836 bytes (19%) of program storage space. Maximum is 151552 bytes.
Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
** OpenOCD: Bug Reporting**
debug_level: 0
swd
cortex_m reset_config sysresetreq
adapter speed: 1000 kHz
nrf51.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
auto erase enabled
wrote 30720 bytes from file C:\Users\vyou\AppData\Local\Temp\arduino_build_81972/matrixdemo.ino.hex in 2.785150s (10.771 KiB/s)
** Programming Finished **
** Verify Started **
verified 30092 bytes in 0.294089s (99.925 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked
<Upload did NOT worked for another microbit (COM15)>
Sketch uses 29836 bytes (19%) of program storage space. Maximum is 151552 bytes.
Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
** OpenOCD: Bug Reporting**
debug_level: 0
swd
cortex_m reset_config sysresetreq
adapter speed: 1000 kHz
nrf51.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x00000868 msp: 0x20004000
** Programming Started **
auto erase enabled
wrote 30720 bytes from file C:\Users\vyou\AppData\Local\Temp\arduino_build_341234/matrixdemo.ino.hex in 2.912931s (10.299 KiB/s)
** Programming Finished **
** Verify Started **
verified 30092 bytes in 0.280093s (104.918 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked