Successful upload the bootloader Here board settings: When I tried to flash simple blink code, I'm getting this error.
Code: Select all
Upgrading target on COM9 with DFU package C:\Users\MYPC\AppData\Local\Temp\arduino_build_895976\Blink.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port COM9
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 21324
Sending DFU start packet
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
Timed out waiting for acknowledgement from device.
Traceback (most recent call last):
File "__main__.py", line 296, in serial
File "dfu\dfu.py", line 235, in dfu_send_images
File "dfu\dfu.py", line 199, in _dfu_send_image
File "dfu\dfu_transport_serial.py", line 179, in send_start_dfu
File "dfu\dfu_transport_serial.py", line 243, in send_packet
File "dfu\dfu_transport_serial.py", line 282, in get_ack_nr
nordicsemi.exceptions.NordicSemiException: No data received on serial port. Not able to proceed.
Possible causes:
- Selected Bootloader version does not match the one on Bluefruit device.
Please upgrade the Bootloader or select correct version in Tools->Bootloader.
- Baud rate must be 115200, Flow control must be off.
- Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.