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

Failed to send init packet, nrfutil dfu serial

when i run sudo nrfutil dfu serial -pkg my_package.zip -p/dev/ttyACM0 i get the following error: pc_ble_driver_py.exceptions.NordicSemiException: Failed to send init packet.

I am running this on an UpBoard with Ubuntu 16.04. I created a VM running the same OS (Ubuntu 16.04) and the nrfutil dfu works over serial and ble. just not on the UpBoard.

Can anyone help me with this issue?

EDIT: Here is what i have tried so far:

nrfutil dfu serial -pkg my_package.zip -p COM3 on my PC (Windows 10) it works!

sudo nrfutil dfu serial -pkg my_package.zip -p/dev/ttyACM0 on VM (Ubuntu 16.04.1) running on my PC it works!

nrfutil dfu serial -pkg my_package.zip -p COM3 on UP Board (Windows 10) it works!

sudo nrfutil dfu serial -pkg my_package.zip -p/dev/ttyACM0 on UP Board (Ubuntu 16.04.1) Does not work!!

FURTHER EDIT:

I have tried installing Windows 10 onto an UP Board and running a VM on top with Ubuntu 16.04.1 and the nrfutil dfu works fine!?

It seems to me that a bare metal install of Ubuntu 16.04 is not supported by the nrfutil is this correct? or can someone please prove me wrong?

I have also recently discovered that nrfutil dfu works fine running ubilinux OS (another debian flavour supplied by the UP Board Community).

I am still interested in finding out why a bare metal install of ubuntu is not compatiable with the nrfutil... Has this been done before? and if so how?

any help or suggestions is appreciated thanks :)

Parents
  • I am having issues with both Serial and BLE on the UpBoard, i put some logs in the dfu_transport_serial.py and it looks like it is failing on the CRC validation, the CRC from the response is incorrect. i don't know why this would be happening? do you have any ideas, i used the same package on a Virtual Machine Ubuntu and it works fine. i am currently using a dev board connected via USB

Reply
  • I am having issues with both Serial and BLE on the UpBoard, i put some logs in the dfu_transport_serial.py and it looks like it is failing on the CRC validation, the CRC from the response is incorrect. i don't know why this would be happening? do you have any ideas, i used the same package on a Virtual Machine Ubuntu and it works fine. i am currently using a dev board connected via USB

Children
No Data
Related