Hello everyone,
I'm working on a project that integrates a Raspberry Pi 3 model A+ and a MSP430FR2512 for touch sensing, and I would like the Raspberry to be able to flash the MSP for OTA update. I'm using the I2C BSL Linux tool, but I'm having some troubles to flash the MSP. I wrote a script to invoke the BSL via hardware (through TEST and RST pins), I do see the MSP in my I2C slaves addresses (0x48), I do commnunicate with it, but I miss one 0xFF byte in my password, and I can't figure out why.. I checked with logs and my data buffer is exactly what I'm expected (with 32 0xFF bytes), but when I check the I2C bus with an osciloscope, I'm missing one (see below).
Did anyone have the same issue, or can help me on that?
Thank you very much.
Yoann
pi@RPi-test:~/dev/mspbsl/msp430-i2cbsl-tool $ sudo ./msp430-i2cbsl-tool -n -f msp430fr2422_1.c.txt -i /dev/i2c-1 -s 48 --------------------------------------------------------------- TI MSP430 I2C Linux BootLoader 01.00.00.00 --------------------------------------------------------------- INFO: Firmware file msp430fr2422_1.c.txt specified INFO: I2C BUS /dev/i2c-1 specified INFO: Slave address 0x48 specified INFO: Opening TI-TXT firmware file firmware.txt... done! INFO: Password file not found, defaulting to 0xFFs. INFO: Skipped software invoke. INFO: Attempting to unlocking device with password... Fail! INFO: Device could not be unlocked. Resetting password and trying again. INFO: Skipped software invoke. INFO: Attempting to unlocking device with password... Fail! INFO: Device could not be unlocked. Resetting password and trying again. INFO: Skipped software invoke. INFO: Attempting to unlocking device with password... Fail! INFO: Device could not be unlocked. Resetting password and trying again. INFO: Skipped software invoke. INFO: Attempting to unlocking device with password... Fail! INFO: Device could not be unlocked. Resetting password and trying again. ERROR: When trying to invoke or unlock device (Response code 0x104).