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.

[参考译文] MSP430FR2355:加载新固件时出现 I2C BSL 工具故障

Guru**** 1138100 points
Other Parts Discussed in Thread: MSP430FR2355
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1335479/msp430fr2355-i2c-bsl-tool-failure-when-load-new-firmware

器件型号:MSP430FR2355

您好!

我正在尝试使 MSP430FR2355上的 i2c BSL 正常工作。  我的计划是从 MPSoC 通过 i2c 更新其固件。

我在 MPSoC 中的嵌入式 Linux 上安装了 MSP430 i2cbsl 工具。

我可以在总线0上使用命令"i2cdetect -y -r 0"看到 MSP430的地址(0x48)。

此外、我可以使用 i2cget 从 MSP430配置的版本进行读取、并且可以跳转到 BSL。

使用 MSP430 i2c 工具跳转到 BSL 后、可以使用以下命令读取固件:

"./msp430-i2cbsl-tool -i /dev/i2c-0 -s 48 -r 0x8000 40 -p password.txt -n"(一切都正常)

当我尝试将不适合我的新固件加载到 MSP430时。

我尝试用以下命令编写新固件:

"./msp430-i2cbsl-tool -n -p password.txt -f firmware.txt -i /dev/i2c-0 -s 48"

我得到的错误:

"错误:尝试5次后操作无法通过(代码0x1)"

此外、我尝试删除密码以获取批量擦除、但它也不适用于我

"./msp430-i2cbsl-tool -n -f firmware.txt -i /dev/i2c-0 -s 48"

我得到的错误:

"错误:尝试调用或解锁器件时(响应代码0x5)"

我认为 MSP430上的 FRAM 处于受保护模式、但我不知道如何移除这个受保护的模式。

有什么建议吗?