芯片:MSP432P401R
开发环境:Code Composer Studio Version: 9.1.0.00010
问题描述:
我使用CCS打开MSP432SDK下的点灯例程,编译没有报错,但是下载调试的时候,一直无法正常调试,而且下载过程中还报了一条错误,错误详情如下:
CORTEX_M4_0: Error initializing flash programming: Your XMS432P401R material is no longer supported. We recommend you moving to production-quality MSP432P401R/M silicon by ordering samples at www.ti.com/product/MSP432P401R.
请问一下这个错误是什么原因产生的,看字面意思是说我的这个型号不再支持了,怎么会有这情况出现呢?
相关代码:
#include <ti/devices/msp432p4xx/driverlib/driverlib.h>
int main(void)
{
volatile uint32_t i;
// Stop watchdog timer
WDT_A_hold(WDT_A_BASE);
// Set P1.0 to output direction
GPIO_setAsOutputPin(
GPIO_PORT_P1,
GPIO_PIN0
);
while(1)
{
// Toggle P1.0 output
GPIO_toggleOutputOnPin(
GPIO_PORT_P1,
GPIO_PIN0
);
// Delay
for(i=100000; i>0; i–);
}
}
灰小子:
楼主你好,你用的哪个版本的MSP-EXP432P401R评估板?
灰小子:
使用的XMS432P401R的版本请看这个资料
processors.wiki.ti.com/…/XMS432_Support
JIUGEN LI:
回复 灰小子:
嗯,就是用的这个版本的,买的早。原来是CCS最新版不支持呀!怎么你们自家的东西兼容性还这么差,我换个IDE多麻烦。
JIUGEN LI:
回复 灰小子:
你好,我板子上写的版本是MSP-EXP432P401R Rev1.0没说是RevB还是RevC。还有就是我的CCS9.0版本能不能调试这个板子呢?
JIUGEN LI:
回复 灰小子:
已经买了一块新板子了,版本是RevD