This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

"No ping response after opening COM port"

Hi,

I am working on programming a bootloader on a NRF52840 DK using a different NRF52840 DK. Currently I have them connected via the debugger and have been successful in programming the application, softdevice and bootloader onto the NRF52840. However, part of my project is wanting to DFUs via UART. I have been testing this by programming the bootloader and softdevice onto the device and do dfu to update the application. However, I have been getting the following error and I do not know how to go about solving this error. Does anyone have any ideas?

$ nrfutil pkg generate --hw-version 52 --sd-req 0xAE --application ble_app --application-version 2 --key-file priv.pem app.zip

$ nrfutil dfu serial -pkg app.zip -p COM3
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python37-32\Scripts\nrfutil-script.py", line 11, in <module>
    load_entry_point('nrfutil==6.1.0', 'console_scripts', 'nrfutil')()
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "c:\program files (x86)\python37-32\lib\site-packages\nordicsemi\__main__.py", line 1056, in serial
    timeout)
  File "c:\program files (x86)\python37-32\lib\site-packages\nordicsemi\__main__.py", line 970, in do_serial
    dfu.dfu_send_images()
  File "c:\program files (x86)\python37-32\lib\site-packages\nordicsemi\dfu\dfu.py", line 127, in dfu_send_images
    self._dfu_send_image(self.manifest.application)
  File "c:\program files (x86)\python37-32\lib\site-packages\nordicsemi\dfu\dfu.py", line 88, in _dfu_send_image
    self.dfu_transport.open()
  File "c:\program files (x86)\python37-32\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py", line 214, in open
    raise NordicSemiException("No ping response after opening COM port")
pc_ble_driver_py.exceptions.NordicSemiException: No ping response after opening COM port

Related