IAR 7.60
52840
nRF5_SDK_15.2.0_9412b96
Hi there,
I'm trying to do some modification in the bootloader (so that we can write the image to the flash's bank1 using our custom method via wifi and just have the bootloader proceed from there). But using the "secure_bootloader_usb_mbr_pca_10056_debug", I can only run the upgrade once, only if there's no application on the flash.
Once upgraded, the second fails with this message. I don't make any modification yet to the bootloader. Any idea how to continue using the debug bootloader even if there's image?
To be exact, after the application is written, the Device Manager no longer shows the COM port. But, you hear the noise that a new USB device is found, but it shows nothing in the Device Manager.
C:\turing\github\trunk\wearable\pivot_3_0\binaries>nrfutil dfu usb_serial -pkg nordic_main_green.zip -p COM26
[####################################] 100%
Device programmed.
C:\turing\github\trunk\wearable\pivot_3_0\binaries>nrfutil dfu usb_serial -pkg nordic_main_green.zip -p COM26
[------------------------------------] 0%
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1133, in <module>
File "site-packages\click\core.py", line 722, in __call__
File "site-packages\click\core.py", line 697, in main
File "site-packages\click\core.py", line 1066, in invoke
File "site-packages\click\core.py", line 1066, in invoke
File "site-packages\click\core.py", line 895, in invoke
File "site-packages\click\core.py", line 535, in invoke
File "nordicsemi\__main__.py", line 827, in usb_serial
File "nordicsemi\__main__.py", line 793, in do_serial
File "nordicsemi\dfu\dfu.py", line 129, in dfu_send_images
File "nordicsemi\dfu\dfu.py", line 90, in _dfu_send_image
File "nordicsemi\dfu\dfu_transport_serial.py", line 200, in open
pc_ble_driver_py.exceptions.NordicSemiException: Serial port could not be opened on {0}. Reason: could not open port 'COM26': WindowsError(2, 'The system cannot find the file specified.')
Failed to execute script __main__
C:\turing\github\trunk\wearable\pivot_3_0\binaries>