arduino / lab-micropython-installer

This repository hosts the entire code of the Arduino MicroPython Installer tool
GNU Affero General Public License v3.0
17 stars 2 forks source link

Cannot upload firmware to Nano 33 BLE Sense in Windows automatically #3

Closed aliphys closed 1 year ago

aliphys commented 1 year ago

Describe the problem

I am able to upload firmware for the Portenta H7 and Nicla Vision following fixes made in https://github.com/arduino/lab-micropython-installer/issues/2 and released as v1.1.0-beta.3.

I can drag the bin file onto the Window and get it to install MicroPython. However, I cannot upload the firmware to the Nano BLE 33 Sense using the INSTALL MICROPYTHON button. Also, in the case of the drag and drop method, I do not see a disk created as is the case for the Portenta H7 and Nicla Vision.

To reproduce

  1. Connect the Nano BLE 33 Sense via USB cable

  2. Navigate to the folder for v1.1.0-beta.3 which is C:\Users\Ali Jahangiri\AppData\Local\micropython_installer\app-1.1.0-beta3 in my case.

  3. Right click an empty area and select Open in Terminal.

    image
  4. In order to get the a detailed log in the Terminal, run .\micropython-installer.exe echo

  5. The board should be automatically detected. Click on INSTALL MICROPYTHON.

Console output for the Nano BLE 33 Sense via the `INSTALL MICROPYTHON` button ``` PS C:\Users\Ali Jahangiri\AppData\Local\micropython_installer\app-1.1.0-beta3> .\micropython-installer.exe echo PS C:\Users\Ali Jahangiri\AppData\Local\micropython_installer\app-1.1.0-beta3> feedURL https://update.electronjs.org/arduino/lab-micropython-installer/win32-x64/1.1.0-beta.3 requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (win32: x64)' } checking-for-update updater error Command failed: 4294967295 System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.d__43`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Squirrel.FileDownloader.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.d__8.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.d__43`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Squirrel.FileDownloader.d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.d__8.MoveNext()<--- [22212:0707/125953.278:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is πŸ” Finding latest firmware for board 'arduino_nano_33_ble_sense' ... πŸ”— Firmware URL: https://downloads.arduino.cc/micropython/arduino_nano_33_ble_sense-20230426-v1.20.0.bin 🌐 Downloading firmware ... πŸ‘€ Device found: Nano 33 BLE at COM18 πŸ‘’ Entering bootloader ... βŒ›οΈ Waiting for bootloader to become available... πŸ‘ Device is now in bootloader mode. πŸ”₯ Flashing firmware 'arduino_nano_33_ble_sense-20230426-v1.20.0.bin' ... πŸ”₯ Flashing SoftDevice updater... Set binary mode version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ] Connected at 921600 baud identifyChip()=nRF52840-QIAA write(addr=0,size=0x34) writeWord(addr=0x30,value=0x400) writeWord(addr=0x20,value=0) version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ] Device : nRF52840-QIAA Version : Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ] Address : 0x0 Pages : 256 Page Size : 4096 bytes Total Size : 1024KB Planes : 1 Lock Regions : 0 Locked : none Security : false Erase flash chipErase(addr=0) Done in 0.000 seconds Write 281648 bytes to flash (69 pages) [ ] 0% (0/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0, size=0x1000) write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1000, size=0x1000) write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2000, size=0x1000) [= ] 4% (3/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3000, size=0x1000) [= ] 5% (4/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x4000, size=0x1000) [== ] 7% (5/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x5000, size=0x1000) [== ] 8% (6/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x6000, size=0x1000) [=== ] 10% (7/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x7000, size=0x1000) [=== ] 11% (8/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x8000, size=0x1000) [=== ] 13% (9/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x9000, size=0x1000) [==== ] 14% (10/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xa000, size=0x1000) [==== ] 15% (11/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xb000, size=0x1000) [===== ] 17% (12/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xc000, size=0x1000) [===== ] 18% (13/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xd000, size=0x1000) [====== ] 20% (14/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xe000, size=0x1000) [====== ] 21% (15/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0xf000, size=0x1000) [====== ] 23% (16/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x10000, size=0x1000) [======= ] 24% (17/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x11000, size=0x1000) [======= ] 26% (18/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x12000, size=0x1000) [======== ] 27% (19/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x13000, size=0x1000) [======== ] 28% (20/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x14000, size=0x1000) [========= ] 30% (21/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x15000, size=0x1000) [========= ] 31% (22/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x16000, size=0x1000) [========== ] 33% (23/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x17000, size=0x1000) [========== ] 34% (24/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x18000, size=0x1000) [========== ] 36% (25/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x19000, size=0x1000) [=========== ] 37% (26/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1a000, size=0x1000) [=========== ] 39% (27/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1b000, size=0x1000) [============ ] 40% (28/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1c000, size=0x1000) [============ ] 42% (29/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1d000, size=0x1000) [============= ] 43% (30/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1e000, size=0x1000) [============= ] 44% (31/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x1f000, size=0x1000) [============= ] 46% (32/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x20000, size=0x1000) [============== ] 47% (33/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x21000, size=0x1000) [============== ] 49% (34/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x22000, size=0x1000) [=============== ] 50% (35/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x23000, size=0x1000) [=============== ] 52% (36/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x24000, size=0x1000) [================ ] 53% (37/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x25000, size=0x1000) [================ ] 55% (38/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x26000, size=0x1000) [================ ] 56% (39/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x27000, size=0x1000) [================= ] 57% (40/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x28000, size=0x1000) [================= ] 59% (41/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x29000, size=0x1000) [================== ] 60% (42/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2a000, size=0x1000) [================== ] 62% (43/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2b000, size=0x1000) [=================== ] 63% (44/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2c000, size=0x1000) [=================== ] 65% (45/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2d000, size=0x1000) [==================== ] 66% (46/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2e000, size=0x1000) [==================== ] 68% (47/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x2f000, size=0x1000) [==================== ] 69% (48/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x30000, size=0x1000) [===================== ] 71% (49/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x31000, size=0x1000) [===================== ] 72% (50/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x32000, size=0x1000) [====================== ] 73% (51/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x33000, size=0x1000) [====================== ] 75% (52/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x34000, size=0x1000) [======================= ] 76% (53/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x35000, size=0x1000) [======================= ] 78% (54/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x36000, size=0x1000) [======================= ] 79% (55/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x37000, size=0x1000) [======================== ] 81% (56/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x38000, size=0x1000) [======================== ] 82% (57/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x39000, size=0x1000) [========================= ] 84% (58/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3a000, size=0x1000) [========================= ] 85% (59/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3b000, size=0x1000) [========================== ] 86% (60/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3c000, size=0x1000) [========================== ] 88% (61/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3d000, size=0x1000) [========================== ] 89% (62/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3e000, size=0x1000) [=========================== ] 91% (63/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x3f000, size=0x1000) [=========================== ] 92% (64/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x40000, size=0x1000) [============================ ] 94% (65/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x41000, size=0x1000) [============================ ] 95% (66/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x42000, size=0x1000) [============================= ] 97% (67/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x43000, size=0x1000) [============================= ] 98% (68/69 pages)write(addr=0x34,size=0x1000) writeBuffer(scr_addr=0x34, dst_addr=0x44000, size=0x1000) [==============================] 100% (69/69 pages) Done in 10.888 seconds reset() πŸƒ Waiting for device to run sketch... βŒ›οΈ Waiting for the device with VID 9025 and PID 32858 to become available... πŸ‘ Device is now in Arduino mode. πŸͺ„ Sending magic number to device... βŒ›οΈ Waiting for device to flash SoftDevice... [Error: Opening COM18: Access denied] ❌ Put the device in bootloader mode manually and try again. Error occurred in handler for 'on-install': Error ```
  1. Close and re-open the program
  2. This time drag the arduino_nano_33_ble_sense-20230426-v1.20.0.bin file onto the window.
    Console output for the Nano 33 BLE Sense via dragging the bin file
PS C:\Users\Ali Jahangiri\AppData\Local\micropython_installer\app-1.1.0-beta3> .\micropython-installer.exe echo
PS C:\Users\Ali Jahangiri\AppData\Local\micropython_installer\app-1.1.0-beta3>
feedURL https://update.electronjs.org/arduino/lab-micropython-installer/win32-x64/1.1.0-beta.3
requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (win32: x64)' }
checking-for-update
updater error
Command failed: 4294967295
System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
   at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__43`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Squirrel.FileDownloader.<DownloadUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<CheckForUpdate>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.Update.Program.Main(String[] args)
---> (Inner Exception #0) System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
   at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__43`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Squirrel.FileDownloader.<DownloadUrl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<CheckForUpdate>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext()<---

πŸ‘€ Device found: Nano 33 BLE at COM17
πŸ‘ Device is already in bootloader mode.
πŸ”₯ Flashing firmware 'arduino_nano_33_ble_sense-20230426-v1.20.0.bin' ...
Set binary mode
version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Connected at 921600 baud
identifyChip()=nRF52840-QIAA
write(addr=0,size=0x34)
writeWord(addr=0x30,value=0x400)
writeWord(addr=0x20,value=0)
version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Device       : nRF52840-QIAA
Version      : Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Address      : 0x0
Pages        : 256
Page Size    : 4096 bytes
Total Size   : 1024KB
Planes       : 1
Lock Regions : 0
Locked       : none
Security     : false
Erase flash
chipErase(addr=0)

Done in 0.000 seconds
Write 274216 bytes to flash (67 pages)
[                              ] 0% (0/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0, size=0x1000)
write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1000, size=0x1000)
write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2000, size=0x1000)
[=                             ] 4% (3/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3000, size=0x1000)
[=                             ] 5% (4/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x4000, size=0x1000)
[==                            ] 7% (5/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x5000, size=0x1000)
[==                            ] 8% (6/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x6000, size=0x1000)
[===                           ] 10% (7/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x7000, size=0x1000)
[===                           ] 11% (8/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x8000, size=0x1000)
[====                          ] 13% (9/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x9000, size=0x1000)
[====                          ] 14% (10/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xa000, size=0x1000)
[====                          ] 16% (11/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xb000, size=0x1000)
[=====                         ] 17% (12/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xc000, size=0x1000)
[=====                         ] 19% (13/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xd000, size=0x1000)
[======                        ] 20% (14/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xe000, size=0x1000)
[======                        ] 22% (15/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xf000, size=0x1000)
[=======                       ] 23% (16/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x10000, size=0x1000)
[=======                       ] 25% (17/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x11000, size=0x1000)
[========                      ] 26% (18/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x12000, size=0x1000)
[========                      ] 28% (19/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x13000, size=0x1000)
[========                      ] 29% (20/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x14000, size=0x1000)
[=========                     ] 31% (21/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x15000, size=0x1000)
[=========                     ] 32% (22/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x16000, size=0x1000)
[==========                    ] 34% (23/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x17000, size=0x1000)
[==========                    ] 35% (24/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x18000, size=0x1000)
[===========                   ] 37% (25/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x19000, size=0x1000)
[===========                   ] 38% (26/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1a000, size=0x1000)
[============                  ] 40% (27/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1b000, size=0x1000)
[============                  ] 41% (28/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1c000, size=0x1000)
[============                  ] 43% (29/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1d000, size=0x1000)
[=============                 ] 44% (30/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1e000, size=0x1000)
[=============                 ] 46% (31/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1f000, size=0x1000)
[==============                ] 47% (32/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x20000, size=0x1000)
[==============                ] 49% (33/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x21000, size=0x1000)
[===============               ] 50% (34/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x22000, size=0x1000)
[===============               ] 52% (35/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x23000, size=0x1000)
[================              ] 53% (36/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x24000, size=0x1000)
[================              ] 55% (37/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x25000, size=0x1000)
[=================             ] 56% (38/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x26000, size=0x1000)
[=================             ] 58% (39/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x27000, size=0x1000)
[=================             ] 59% (40/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x28000, size=0x1000)
[==================            ] 61% (41/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x29000, size=0x1000)
[==================            ] 62% (42/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2a000, size=0x1000)
[===================           ] 64% (43/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2b000, size=0x1000)
[===================           ] 65% (44/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2c000, size=0x1000)
[====================          ] 67% (45/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2d000, size=0x1000)
[====================          ] 68% (46/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2e000, size=0x1000)
[=====================         ] 70% (47/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2f000, size=0x1000)
[=====================         ] 71% (48/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x30000, size=0x1000)
[=====================         ] 73% (49/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x31000, size=0x1000)
[======================        ] 74% (50/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x32000, size=0x1000)
[======================        ] 76% (51/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x33000, size=0x1000)
[=======================       ] 77% (52/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x34000, size=0x1000)
[=======================       ] 79% (53/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x35000, size=0x1000)
[========================      ] 80% (54/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x36000, size=0x1000)
[========================      ] 82% (55/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x37000, size=0x1000)
[=========================     ] 83% (56/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x38000, size=0x1000)
[=========================     ] 85% (57/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x39000, size=0x1000)
[=========================     ] 86% (58/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3a000, size=0x1000)
[==========================    ] 88% (59/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3b000, size=0x1000)
[==========================    ] 89% (60/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3c000, size=0x1000)
[===========================   ] 91% (61/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3d000, size=0x1000)
[===========================   ] 92% (62/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3e000, size=0x1000)
[============================  ] 94% (63/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3f000, size=0x1000)
[============================  ] 95% (64/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x40000, size=0x1000)
[============================= ] 97% (65/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x41000, size=0x1000)
[============================= ] 98% (66/67 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x42000, size=0x1000)
[==============================] 100% (67/67 pages)
Done in 10.602 seconds
reset()

βœ… Firmware flashed successfully.

Expected behavior

MicroPython Installer version

Version: v1.1.0-beta.3 Commit: https://github.com/arduino/lab-micropython-installer/commit/24fb8cdaeac544c399cc75b22daedccd3ce6af00

Operating system

Windows

Operating system version

Windows 11

Additional context

aliphys commented 1 year ago

Issue occurs exactly the same on a Nano 33 BLE (without the Sense part) on two laptops as well.

Using nightly builds on the autoinstaller makes no difference either.

aliphys commented 1 year ago

I can repeatedly upload the the Nano 33 BLE Sense via both methods, using the same https://github.com/arduino/lab-micropython-installer/releases/tag/v1.1.0-beta.3 release. Since I cannot reproduce the bootload issue when using the 'INSTALL MICROPYTHON' approach, I close this issue.