Programming nRF52840 DK using Arduino IDE

Hi,

I am programming the Nordic nrf52840 DK board using the bootloader provided by adafruit for that board. (https://adafruit.github.io/arduino-board-index/package_adafruit_index.json). I was able to burn the bootloader onto the board however I keep getting an error whenever I try to compile a simple program like blinky on the board.

Error:

Upgrading target on COM5 with DFU package C:\Users\14696\AppData\Local\Temp\arduino_build_810000\blinky.ino.zip. Flow control is disabled, Single bank, Touch disabled
Timed out waiting for acknowledgement from device.

Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
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.

Any tips?

Thanks.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.