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

DFU over TFTP

Hello,

I am trying to run the example DFU over TFTP.  I have setup a tftp server with following configurations:

# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="-s -l -6 -c"

and created DFU images with a firmware named frm.hex.

Tried to create JSON file with trigger_creator.py  script. But getting following error  :

IOError: [Errno 2] No such file or directory: '/srv/tftp/dfu/c/65535/65535'

The command i tried is as follow:

 python trigger_creator.py --tftp_path /dfu/app/ app_dfu_package.zip  /srv/tftp/dfu/c/65535/65535

Is this due to file name issue that mentioned in the manual?

Parents Reply Children
No Data
Related