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 正常工作。 我的计划是从 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 处于受保护模式、但我不知道如何移除这个受保护的模式。
有什么建议吗?
尊敬的 David:
我不是 Linux 方面的专家、但让我们先看看与此器件和 BSL 相关的其他一些帖子。 您可能遇到与其他人相同的问题。
请告诉我这是否对您有所帮助。