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.

[参考译文] CCS/MSP430F5659:MSPBoot 链接器文件问题

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/598494/ccs-msp430f5659-mspboot-linker-file-problem

器件型号:MSP430F5659
主题中讨论的其他器件: MSP430G2553

工具/软件:Code Composer Studio

您好!  

我将为 msp430f5659 MCU 修改 MSPBoot G2553_SPI 示例。

我针对大内存 MCU 模型使用 msp430FR 系列 mspboot linkerGen 创建了 lnk 文件、并将程序编程到 msp430f5659。

构建过程成功。

但是、当我进行调试时、我遇到如下错误。

MSP430:写入长度为0x10的第0页上0x1000处的存储器块时遇到问题:无法执行访问、BSL 存储器段受到保护
MSP430:文件加载器:验证失败:目标写入0x01000失败
MSP430:GEL:文件:C:\Users\Youngjun\project code\MSP430 BSL\MSPBoot_1_01_00_00\Target\G2553_SPI\ccs\MSPBoot\BSLBASed_SPI\MSPBoot.out:加载失败。

这是我的链接器文件。

e2e.ti.com/.../lnk_5F00_msp430F5659_5F00_SPI_5F00_1KB_5F00_Boot.zip

谢谢你。

此致

Youngjun

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Youngjun:

    MSP430G2553和 MSP430F5659之间的存储器结构差异很大、我不建议移植 MSPBOOT 代码(主存储器引导加载程序)来尝试将 BSL 存储器修改为0x1000到0x17FF、正如 所解释的、该代码仅支持 UART/USB。 链接器文件最明显的问题是、当 INFOBOOT 应该为0x1800时、它从0x1000开始、从而导致您所描述的问题。

    此致、
    Ryan