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

cross mob
toratora_th
Level 3
Level 3
Distributor - Macnica (Japan)
25 sign-ins 5 questions asked First solution authored

Hi, I downloaded "AURIX TC3xx Motor Control App Kit" from "Developer Center Launcher" and built "IFX_KIT_A2G_TC387_MOTORCTR-HW-SW_V1.0.2" in BIFACES environment.
However, I got an error with the link as shown below.
I added the missing files from iLLD and the build succeeded, but it does not work properly.
It does not display correctly on the TFT and the touch panel does not respond.
The compiler is using TASKING.
We have not changed the source code at all. Please let me know how I can get it to work.

Link error
Building output 2_Out/Tricore_Tasking/BaseFramework_TC38A_Tc.elf
ltc E106: unresolved external: Ifx_g_WndF32_blackmanHarrisTable - (Ifx_Osci.o)
ltc E106: unresolved external: Ifx_g_FftF32_twiddleTable - (Ifx_FftF32.o)
ltc E106: unresolved external: Ifx_g_FftF32_bitReverseTable - (Ifx_FftF32.o)
ltc E106: unresolved external: Ifx_g_LutAtan2F32_table - (Ifx_LutAtan2F32.o)
ltc E106: unresolved external: Ifx_g_LutAtan2F32_FxpAngle_table - (Ifx_LutAtan2F32.o)
ltc F019: unrecoverable error: fatal link error

Added files
\0_Src\BaseSw\Service\CpuGeneric\SysSe\Math
Ifx_FftF32_BitReverseTable.c
Ifx_FftF32_TwiddleTable.c
Ifx_LutAtan2F32_Table.c
Ifx_WndF32_BlackmanHarrisTable.c
Ifx_WndF32_HannTable.c

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi,

Unfortunately, only the Hightec compiler is supported for this software.

You can refer to the section "1.5 Limitations of use for PMSM FOC software" in AP32540_PMSM_FOC_motor_control_using_AURIX_TC3xx_v1.0.2.pdf

The software is compiled only with Hightec Gnuc compiler, v4.9.3.0.

Best Regards.

View solution in original post

0 Likes
4 Replies
Nambi
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi,

You can refer to "readme.txt". The compiler to be used is Hightec v4.3.0

Best Regards.

0 Likes
toratora_th
Level 3
Level 3
Distributor - Macnica (Japan)
25 sign-ins 5 questions asked First solution authored

Thank you for your answer.
However, I only have a TASKING environment and I want to make it work in TASKING.
Can you please give me some information, even a hint, as to where in the source code I should investigate?

0 Likes
Nambi
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi,

Unfortunately, only the Hightec compiler is supported for this software.

You can refer to the section "1.5 Limitations of use for PMSM FOC software" in AP32540_PMSM_FOC_motor_control_using_AURIX_TC3xx_v1.0.2.pdf

The software is compiled only with Hightec Gnuc compiler, v4.9.3.0.

Best Regards.

0 Likes
toratora_th
Level 3
Level 3
Distributor - Macnica (Japan)
25 sign-ins 5 questions asked First solution authored

Thank you for your answer.

0 Likes