I downloaded the SDK_2_15_000_MCIMX93-EVK with the options Windows host and IAR compiler.
IAR workbench 9.40.1 is installed as suggested in readme.md file in the project folders.
As the i.MX93 is not in the list of supported devices from IAR (I only found up to i.MX8), I assume it takes the cortex-M33 options.
I used the delivered project files in SDK_2_15_000_MCIMX93-EVK, e.g: rpmsg_lite_str_echo_rtos_imxcm33.eww.
Somehow the some opcode seems unknown to the compiler.
Build errors:
Error[401]: Operand syntax error C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 60
Error[438]: This instruction is not available in the selected cpu/core C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 61
Error[476]: Too few operands. C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 69
Error[446]: The selected cpu/core does not support this status register C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 132
Error[476]: Too few operands. C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 139
Error[433]: Illegal sequence of interrupt flags C:\RD\SDK_2_15_000_MCIMX93-EVK\rtos\freertos\freertos-kernel\portable\IAR\ARM_CM33_NTZ\non_secure\portasm.s 150
By using the newer IAR workbench version (9.5) I got the same problem.
Although GCC on Linux do not have this issue I am not able to debug using J-Link. The J-Link patch provided by NXP requires IAR compiler (Windows).
Hello JorgeCas,
Compiling for i.MX93_cm33 works fine after installing the arm.zip in the IAR folder.
Thanks for your help and you can close the ticket now.
Best regards
Actually there are two issues:
(1) There is no j-link patch for GCC.I am not able to debug the cortex-M33.
As a workaround I used SDK_2_15_000_MCIMX93-EVK (Windows, IAR). TBecause there is a j-link patch for IAR.
Then I get the second issue:
(2) SDK_2_15_000_MCIMX93-EVK (Windows, IAR) build errors.
Hello,
To support i.MX 93, the patch for IAR and Segger J-Link must be installed. To download it, please check the next link.
JLink.zip provides the segger script support in JLink.
arm.zip provides the debugging files in IAR toolchain.
Best regards.
Hello,
Are you presenting the issue even with arm and JLink patch for IAR?
Best regards.