Please can someone assist with an error 71 using the python msp430.bsl5.hid tool.
We observe the error while trying to update the firmware of a MSP430F5529 after invoking the BSL in software - ((void(*)())0x1000)();. The error only occurs in Linux command line and only if the BSL is invoked by software. We are able to flash the device successfully if we invoke the BSL with hardware (pulling up the PUR pin on power-up) using command line in Linux. We are also able to flash the device using the Python_Firmware_UpgraderGUI in Windows for both a software or a hardware invocation of the BSL.
See erroring command line below:-
root@CMGOLF-DEMO:/home/clubmaster/Python_Firmware_Upgrader# sudo PYTHONPATH=./python-msp430-tools/ python -m msp430.bsl5.hid_1 -e -v -P ./ClubMasterV4_8.txt
Debug is False
Verbosity level set to 2
Python version: 2.7.9 (default, Aug 31 2019, 09:52:12)
[GCC 4.9.2]
action list:
mass_erase()
program_file()
reset()
Download full BSL...
An error occurred:
[Errno 71] Protocol error
Cleaning up after error...