2403582_en-US

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

2403582_en-US

2403582_en-US

S32DS K116 compilation issues

Hello, NXP engineer!

I'm new to MCSPTE1AK116. I installed MCSPTE1AK116-SW; S32K11x_AMMCLIB_RTM_1_1_45_BIN; S32DS-IDE-ARM_2.2.2_D2312; and FMASTERSW32. I imported the MCSPTE1AK116_PMSM_FOC_1Sh sample project into S32DS and compiled it. Then I copied the .srec file directly to drive E, and after a power cycle, I connected and ran it using FreeMaster. It communicated and ran at a given speed, but it stopped after a few seconds and reported a PDB0 error. If I directly copied the original .srec file from the SW directory to drive E, it ran normally. Is there something wrong with my compilation settings?

Re: S32DS K116编译问题

Hi Robin,

我安装了S32 Design Studio (S32DS) for ARM 2.2 UP1和UP2

也安装了S32 Software Development Kit (SDK) for S32K1xx 3.0.3

如图,我下了老的S32K11X_AMMCLIB_RTM_1_1_37_BIN,还是不行,

我找不到S32K11X_AMMCLIB_RTM_1_1_29_BIN下载链接,你能发一个给我试试吗?而且我三个工程,只有PMSM_FOC_1Sh工程编译了不行,另外两个工程编译是没有问题的。

7a6c7c4ef61e9213d789cace0810a496.png

Re: S32DS K116编译问题

Hi

If your test file (.srec) in the original folder runs fine, but your compiled file (.srec) encounters an error, then you should be able to run it.

Therefore, it is recommended to download an older version of the Automotive Math and Motor Control Library Set for S32K11x . For example, the version mentioned in the MCSPTE1AK116-SW installation process: S32K11X_AMMCLIB_RTM_1_1_29_BIN.

S32K116 Motor Control Development Kit AMMCLIB.png

The MCSPTE1AK116_ReleaseNotes.txt file shows that this project was developed based on the following version:

The Development Kit application was built and tested using the following IDE, Drivers and Tools:
=====================================================================================
- S32 Design Studio (S32DS) for ARM 2.2
- S32 Software Development Kit (SDK) for S32K1xx 3.0.3
- FreeMASTER 3.1.4.5

Please confirm that the S32K1 SDK has version 3.0.3 installed.

Best Regards,
Robin

回复: S32DS K116编译问题

It's a strange problem. I can download and download the project directly using the accompanying BLDC_6Steps and PMSM_FOC_2Sh projects, and I can also download it after compiling it. It's just that I can't download it after compiling it.

タグ(1)
評価なし
バージョン履歴
最終更新日:
木曜日
更新者: