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工程编译了不行,另外两个工程编译是没有问题的。 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.
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. Re: S32DS K116编译问题 Hi Robin I don't know why, but all the .srec files are not running... I can't try your program. Can you tell me how to clear the evaluation board? I just bought this S32K116EVB this month. How can I confirm its appearance? Re: S32DS K116编译问题 Hi
1. I removed the other versions and only installed S32K11x_AMMCLIB_v1.1.29.
2. I don't currently have this hardware platform on hand for testing, so I've attached a version based on S32K11x_AMMCLIB_v1.1.29.The compiled .SREC file is provided for your testing. (I've sent it to you via private message.)
3. If it runs normally, I will request S32K11x_AMMCLIB_v1.1.29 from the software team for your account.Version software.
4. You may also need to check the hardware differences. Is your S32K116EVB the S32K116EVB2Q048 ? There was also an earlier version called S32K116EVB-Q048. Re: S32DS K116编译问题 The following is the S32K116EVB-Q048, an older version that does not support the motor kit. The most obvious difference is that it lacks one row of sockets (J5).
The following is a screenshot of the S32K116EVB2Q048:
It is recommended to remove the kit first and only test the S32K116EVB. It is also recommended to use the P&E Recovery Utility tool to halt the CPU and then download the new program.
View full article