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

dfu python script crashes

Hi,

I am trying to test a UART bootloader with the hci_dfu_send_hex.py from SDK6.1.0

Unfortunately the script seems to crash, below is the output on the windows command line:

python hci_dfu_send_hex.py --help

  File "hci_dfu_send_hex.py", line 101
    except intelhex.NotEnoughDataError, e:
                                      ^
SyntaxError: invalid syntax

The IntelHex and PySerial libraries are installed.

Does anyone has an idea, how to fix this?

Thanks and best regards, Witali

Related