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.

F28388D Simulink 模型 boot from flash 失败

Other Parts Discussed in Thread: C2000WARE

Hi support:

ccs version: v10.1.1

C2000Ware version:3_03_00_00.

Simulink demo:

链接:pan.baidu.com/.../1wpSW4CfVlir9Eqlyv1RtEg
提取码:cvia
复制这段内容后打开百度网盘手机App,操作更方便哦--来自百度网盘超级会员V3的分享

kit board: f28388d control card REV.B

Simuink模型在附带的网盘连接中。

现象:

1、用自带的 TI的CCS工程(ccs project demo:C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2838x\examples\c28x\led\led_ex1_blinky)可以烧写到芯片的FLASH,并且成功启动。

2、搭建的Simulink模型烧写到芯片的Flash可以运行,但是下电再上电后,程序运行错误。错误现象如下:
      Simulink模型中设置了一个点亮LED的逻辑,第一次下载进去,LED灯闪烁正常,闪烁周期是500ms,频率为2HZ。下电再一次上电时,LED灯常亮,亮度降           低,示波器测量LED pin脚,是一个60HZ的占空比很小的方波。

3、用CCS打开Simulink生成的CCS工程,修改如下:

1、  Properties->C2000 Linker->Symbol Management    将“Specify program entry point for the output module”设为 code_start

2、将“f2838x_codestartbranch.asm” WD_DISABLE  .set  1 (文件中默认就是1)

修改后也不成功。

运行TI自带的Demo正常,排除硬件上的问题。但是软件方面  CMD文件貌似没有问题。