To upload a code to the Arduino MKR NB 1500 module please follow these steps.
Write 12484 bytes to flash (196 pages)
[========= ] 32% (64/196 pages)
[=================== ] 65% (128/196 pages)
[============================= ] 97% (192/196 pages)
[==============================] 100% (196/196 pages)
done in 0.111 seconds
Verify 12484 bytes of flash with checksum.
Verify successful
done in 0.010 seconds
CPU reset.