自动代码生成笔记|simulink建模基础及c2000 dsp代码自动生成笔记二

simulink建模基础及c2000 dsp代码自动生成笔记二

书的第2章讲的是闰年判断,差不多在90/475才开始讲搭建模型并建立 91/475 p82讲的是不同solver的区别,ode45不是哟关于刚性系统,但啥是刚性系统呢?而且说ode45是大多数问题首选算法。。。。ode23适用于轻度刚性的系统/

流水灯模型,,p156,166/475,但为啥是stateflow建模呢。。stateflow貌似是状态图建模?///不对,stateflow的流水灯模型貌似只是在示波器上的,不算我所要的模型。。

p269,直接把Arduino的LCD1602显示屏代码弄到Simulink里了

直接看p277,也就是///但从p284开始讲的都是电机用的28027,不是我要的28335啊

414/475 p404显示了点亮黄灯和红灯的,,但是这就有launchpad tms320f2802x啊,太好了吧。。。但p401 410/475还是用的stateflow来弄的啊。。。C2000 launchpad XL

在这里插入图片描述
在这里插入图片描述
C:\ProgramData\MATLAB\SupportPackages\R2018a\toolbox\target\supportpackages\tic200
0\CCS_Config, 用 CCS 打开 f28335.ccxml 文件,并修改为自己仿真器型号保存。
估计还得在CCS修改;;这一步就直接在controlsuite里随便找一个例程弄吧
在这里插入图片描述
这里就看不懂了啊

The following error occurred during deployment to your hardware board: 

Debug Server Scripting (DSS) error: 
*** User inputs: 
    Target Configuration: C:\PROGRA~3\MATLAB\SUPPOR~1\R2019b\toolbox\target\SUPPOR~1\tic2000\CCS_CO~1\F28335~1.CCX
    Program Name: C:\Users\think\Desktop\LED___~1.OUT
    Board Name: *
    CPU Name: unspecified (connect to first CPU)

*** Starting debug session...
*** Debug Session Name: Texas Instruments XDS100v1 USB Emulator_0/C28xx
*** Board Name: Texas Instruments XDS100v1 USB Emulator_0
*** CPU Name: C28xx

*** Connecting to target...
SEVERE: C28xx: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 7.0
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值