modus2.4版本双核工程怎么更换芯片型号

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
yiru_1705901
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins

官方的双核例程Dual-CPU_IPC_Pipes,如附件,怎么将芯片型号CY8C624ABZI-S2D44 更换为CY8C624AAZI-S2D44?

0 点赞
1 解答
YuZh
Moderator
Moderator
Moderator
100 replies posted 10 likes received 50 sign-ins

你好:

首先你要修改BSP下面的对应芯片的mk文件中DEVICE型号:如下图:

芯片修改.PNG

然后将文件保存。

2、之后你还要打开modus左下角的DEVICE CONFIGURATO,因为你修改了芯片型号,他会检测到你的修改,会报错,你需要在界面左下角点击转换为你要修改的型号,如下图:

修改.PNG

这样就可以了。

在原帖中查看解决方案

0 点赞
7 回复数
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

打开modus-shell,进入工程目录,make   DEVICE_GEN=CY8C624AAZI-S2D44

0 点赞
yiru_1705901
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins

按照你的方法改了 还是默认的芯片型号

0 点赞
YuZh
Moderator
Moderator
Moderator
100 replies posted 10 likes received 50 sign-ins

你好:

首先你要修改BSP下面的对应芯片的mk文件中DEVICE型号:如下图:

芯片修改.PNG

然后将文件保存。

2、之后你还要打开modus左下角的DEVICE CONFIGURATO,因为你修改了芯片型号,他会检测到你的修改,会报错,你需要在界面左下角点击转换为你要修改的型号,如下图:

修改.PNG

这样就可以了。

0 点赞
yiru_1705901
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins

按照你的方法改了,但是打开device configuration  还是默认的芯片,

0 点赞
yiru_1705901
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins

这个工程M0核和M4核的device configuration 都指向的是share文件夹下的COMPONENT_CUSTOM_DESIGN_MODUS,不是各自文件夹下的COMPONENT_BSP_DESIGN_MODUS。

微信图片编辑_20220512104237.jpg

我的需求是需要M0核运行逻辑,M4核刷图片,M4和M0的BSP指向同一个,Dual-CPU_IPC_Pipes这个例程最接近我的需求,我想在这个工程的基础上改成我选择的芯片,但是一直不成功

 

0 点赞
YuZh
Moderator
Moderator
Moderator
100 replies posted 10 likes received 50 sign-ins

Hi:

我测试了下,和你同样的工程,我修改是可以的,您是不是忘记保存了,还有您的M4和M0都需要修改bsp下面的mk。

还有请你确保是修改以下路径的mk文件:

确保.PNG

0 点赞
yiru_1705901
Level 4
Level 4
First solution authored 25 replies posted 25 sign-ins

找到原因了,要编译一下 才可以😂

0 点赞