This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5510: BSL Python Upgrade Tool with Info memory

Part Number: MSP430F5510

I am trying to use the Python upgrade tool to flash the MCU using the BSL.  

I run into an issue if the hex file contains code to load into Info Memory.  hid_1.py will hang on line 66 with self.write_report(txdata).  It shortly times out and throws this error:

File "D:\Work\Active\Semler\BT Sensor\MSP430USBDevelopersPackage_5_20_06_02\Host_USB_Software\Python_Firmware_Upgrader\python-msp430-tools\msp430\bsl5\hid_1.py", line 137, in write_report
self.hid_device.send_output_report([ctypes.c_ubyte(x) for x in data])
File "C:\Python27amd64\lib\site-packages\pywinusb\hid\core.py", line 559, in send_output_report
raise HIDError("Write timed out")
HIDError: Write timed out

If I remove the Info Memory code from the hex file, programming completes normally.

I understand there is a lock for Info Memory A.  Is there something special I have to do to mass erase the MCU and update the code including INFOA?

  • Segment A of the information memory is locked by default with the LOCKA bit of the FCTL3 register (description in Section 7.2.1 of the User's Guide). Have you tried clearing this bit or writing to a different segment of info memory?

    Regards,
    Ryan

**Attention** This is a public forum