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.

[参考译文] MSP430F247:使用 MSP-GCC 9.3.1.2移植 IEC 60730软件包

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1222780/msp430f247-porting-the-iec-60730-software-package-using-msp-gcc-9-3-1-2

器件型号:MSP430F247
主题中讨论的其他器件: MSP430-IEC60730-SW-PACK、MSP430G2553

你(们)好!  

从该主题继续: https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1217096/msp430f247-compatibility-with-iec-60730-software-package

我们已开始尝试将 IEC 60730软件包移植到  MSP430F247上。 我们遇到的一个问题 是 MSP-GCC 9.3.0.31 (Mitto 系统)编译器的兼容性。  

更具体地说 IEC60730_PC_TEST_testPcRegister 和  IEC60730_March_test_testRam  测试需要更新链接器脚本、使其具有非连续的.text 段和固定的栈大小。  

据我们所见、 MSP-GCC 9.3.0.31 (Mitto 系统)编译器不支持 IEC 60730软件包示例中所示的实现。  

For example, in the linker script we have:

.text: { // .text definition } >> ROM | ROM_A

And get the following result
c:/ti/ccs1230/ccs/tools/compiler/msp430-gcc-9.3.0.31_win64/bin/../lib/gcc/msp430-elf/9.3.0/../../../../msp430-elf/bin/ld.exe:../msp430f247.ld:186: syntax error

Is the IEC 60730 Software Package intended to be used with the MSP-GCC compiler?

Kind Regards,
Jason

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

    你(Jason)好

    MSP430-IEC60730-SW-PACK 是在 CCS 和 IAR 平台上开发的。

    软件包中包含 msp430g2553示例工程。

    由于该工程基于 CCS、我建议在 CCS 平台上将此代码从 msp430g2553移植到 F247。