Config tool producing bad code?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Config tool producing bad code?

ソリューションへジャンプ
2,331件の閲覧回数
CktDesigner
Contributor IV

I'm using MCUXpresso version v11.7.0 (Build 9198)

I'm using SDK version 2.13.0

After configuring a new peripheral (FLEXIO2) and clicking "Update code" the code produce by the config tool won't compile.

The attached image shows a screen capture with the issue.

This is my first time trying to use FlexIO, so perhaps there is an issue with the configuration, but the statement in question doesn't even look like legal C...

Suggestions?

Thanks!

タグ(1)
0 件の賞賛
返信
1 解決策
2,314件の閲覧回数
Lukas_Heczko
NXP Employee
NXP Employee

Hello,

can you please attach a project that will demonstrate the issue? I'm trying to reproduce it but with no avail so far. I tried configuration for MIMXRT1062xxxxA and MIMXRT1062xxxxB processor but the generated code in both cases looks like this:

Lukas_Heczko_0-1678789960716.png

Thank you,

Lukas

 

EDIT: One thing you may try right away is to refresh the tools data used to generate the code: In MCUXpresso IDE go to ConfigTools > Data Manager and click on the Clean cached. This cleans the internal tools data from you computer, restarts MCUXpresso IDE and downloads latest tools data.

元の投稿で解決策を見る

5 返答(返信)
2,315件の閲覧回数
Lukas_Heczko
NXP Employee
NXP Employee

Hello,

can you please attach a project that will demonstrate the issue? I'm trying to reproduce it but with no avail so far. I tried configuration for MIMXRT1062xxxxA and MIMXRT1062xxxxB processor but the generated code in both cases looks like this:

Lukas_Heczko_0-1678789960716.png

Thank you,

Lukas

 

EDIT: One thing you may try right away is to refresh the tools data used to generate the code: In MCUXpresso IDE go to ConfigTools > Data Manager and click on the Clean cached. This cleans the internal tools data from you computer, restarts MCUXpresso IDE and downloads latest tools data.

2,307件の閲覧回数
CktDesigner
Contributor IV

Doing the "Clean Cached" fixed the problem!

Thanks!

 

0 件の賞賛
返信
2,296件の閲覧回数
CktDesigner
Contributor IV

Now I'm looking for an example/documentation to use the parallel FlexIO driver.   All of the FlexIO demos seem to use manual programming to do what the Config Tool sets up automatically.

Are there any demos that use the Config tools to create the files produced by "Update Code" that reside in the "board" folder?

Thanks!

0 件の賞賛
返信
2,280件の閲覧回数
Lukas_Heczko
NXP Employee
NXP Employee

Hello,

example projects in MCUXpresso SDK use only code generated by Pins and Clocks tool. In case of code generated by Peripherals tool, there is limitation in the SDK as it does not utilize it. If you want to replace the hand written initialization in an example project with code from Peripherals tool, you have to replace it manually.

Regards,

Lukas

0 件の賞賛
返信
2,275件の閲覧回数
CktDesigner
Contributor IV

OK, thanks...

0 件の賞賛
返信