MCUXpresso IDE v11.9.0 migration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCUXpresso IDE v11.9.0 migration

跳至解决方案
3,683 次查看
embeddman
Contributor II

Hello everyone,

Just upgraded from 11.8.1 to 11.9.0 and my project doesn't compile.

I'm getting the following error:

Building target: pulsar.axf
Invoking: MCU Linker
Template not found for name memory.ldt.
The name was interpreted by this TemplateLoader: com.crt.advproject.linkertemplate.FMLinkerFileTemplateLoader@12cedebd.
make[1]: *** [makefile:75: pulsar.axf] Error 1
make: *** [makefile:66: all] Error 2
"make -r -j32 all" terminated with exit code 2. Build might be incomplete.

How can I solve this problem?

P.S. Tried to use SDK example, the same issue. Also tried to create new workspace and SDK example but the same error.

标记 (1)
0 项奖励
回复
1 解答
3,583 次查看
Alex_Wang
NXP Employee
NXP Employee

Hello, @embeddman 

       Hello, I successfully built the project using MCUXpresso IDE11.9.0 according to your method. In response to your question, I recommend uninstalling all MCUXpresso IDE and re-installing the latest version of MCUXpresso IDE11.9.0.Make sure there are no errors during installation.

      You can try it and hope it helps you.

Best regards,

Alex

在原帖中查看解决方案

0 项奖励
回复
13 回复数
2,824 次查看
AdrianOltean
NXP Employee
NXP Employee

A bit late on this one but I'll leave this comment for future references...

To offer some context, the IDE v11.9.0 now references the linker script templates from the LinkServer package installation. This is an intermediate step from an important reorganization. Note that the main product installer also installs LinkServer alongside the MCUXpresso IDE folder. The error from the log indicates that the linker script templates are missing for some reason. Please always inspect the installation logs and also double-check the presence of LinkServer.

Thanks,

Adrian 

0 项奖励
回复
2,225 次查看
jsambrook
Contributor I

Hi Adrian -

Thank you for a helpful response.

Is the intermediate step from an important reorganization now complete?

I'm on 11.9.0 now and experiencing this problem. I want to know if updating to the latest IDE will resolve the problem completely.

Thank you.

John Sambrook

Common Sense Systems, Inc.

0 项奖励
回复
2,024 次查看
AdrianOltean
NXP Employee
NXP Employee

The reorganization won't be complete in IDE v11.10.0. What is the problem you've encountered? The IDE installer makes sure to install LinkServer and it's expected that you don't remove it...

As a side note, IDE v11.10.0 will be better when it comes to informing you about a missing LinkServer installation linked to an actual IDE.

Thanks,

Adrian

0 项奖励
回复
3,085 次查看
anheir
Contributor I

Same problem here on Arch Linux, running MCUXpresso IDE v11.9.0 [Build 2144] [2024-01-05], testing the blink demo test for FRDM-K64F with the latest SDK (SDK Version: 2.11.0 (541 2022-01-14 3.9.0) | Manifest Version: 3.9.0)

Below is the last part of the console log:

 

Finished building: ../device/system_MK64F12.c
 
Finished building: ../component/lists/fsl_component_generic_list.c
 
Finished building: ../component/uart/fsl_adapter_uart.c
 
Finished building: ../board/board.c
 
Finished building: ../board/clock_config.c
 
Finished building: ../drivers/fsl_uart.c
 
Finished building: ../board/pin_mux.c
 
Building target: frdmk64f_led_blinky.axf
Invoking: MCU Linker
Template not found for name memory.ldt.
The name was interpreted by this TemplateLoader: com.crt.advproject.linkertemplate.FMLinkerFileTemplateLoader@3699a300.
make[1]: *** [makefile:51: frdmk64f_led_blinky.axf] Error 1
make: *** [makefile:42: all] Error 2
"make -r -j8 all" terminated with exit code 2. Build might be incomplete.

14:36:05 Build Failed. 2 errors, 0 warnings. (took 1s.106ms)

 

 

0 项奖励
回复
2,589 次查看
myrmidon
NXP Employee
NXP Employee

Seems like they split up the mcuxpresso and linkserver (which contains the memory.ldt):
/usr/local/LinkServer_1.4.85/Wizards/linker/memory.ldt
/usr/local/LinkServer_1.4.85/Wizards/linker/user_memory.ldt

The linkserver is a separate deb package in the mcuxpresso package, LinkServer_1.4.85.x86_64.deb .

The PKGBUILD does not install the linkserver deb-package yet, so it needs to be updated.

For now, unpacking the mcuxpresso package and installing both linkserver.deb and current PKGBUILD works.

0 项奖励
回复
3,065 次查看
s_amthor
Contributor I

@anheir 

I finally fixed it for me.

There are packages missing on Arch:

pacman -S dpkg

then download mcuxpressoide-11.9.0_2144.x86_64.deb.bin from nxp site.

chmod +x mcuxpressoide-11.9.0_2144.x86_64.deb.bin

then run ./mcuxpressoide-11.9.0_2144.x86_64.deb.bin

 

maybe there is an other package missing. (cant remember right now) you should see it in terminal.

I think now install of sdk also fails on your installation without root?

0 项奖励
回复
3,264 次查看
s_amthor
Contributor I

Same problem here on linux. fresh install doesnt help. any suggestions?

0 项奖励
回复
3,599 次查看
embeddman
Contributor II

Hi Jun,

I'm using MIMXRT1062xxxxA chips revision and the latest SDK 2.15 (SDK_2.x_EVK-MIMXRT1060).

Steps to reproduce the problem:
1. Clean install MCUXpresso IDE 11.9.0 on Windows 11
2. Create new workspace
3. Install the latest SDK
4. Import SDK example ota_mcuboot_server_enet
5. Try to build

0 项奖励
回复
3,584 次查看
Alex_Wang
NXP Employee
NXP Employee

Hello, @embeddman 

       Hello, I successfully built the project using MCUXpresso IDE11.9.0 according to your method. In response to your question, I recommend uninstalling all MCUXpresso IDE and re-installing the latest version of MCUXpresso IDE11.9.0.Make sure there are no errors during installation.

      You can try it and hope it helps you.

Best regards,

Alex

0 项奖励
回复
3,578 次查看
embeddman
Contributor II
Hi Alex,
re-installing helped me, thanks.
0 项奖励
回复
3,644 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi embeddman,

What's your chip part number?

How to reproduce the problem?

Please make sure IDE V11.9.0 and v11.8.1 use different workspace. Please do clean the project before build.

Thanks,

Jun Zhang

 

0 项奖励
回复
3,568 次查看
embeddman
Contributor II

Hi Jun Zhang,
I'm using MIMXRT1062xxxxA chip revision and the latest SDK:

Снимок экрана 2024-01-22 102553.png

Steps to reproduce the problem:

1. Clean install MCUXpresso IDE v11.9.0 on Windows 11

2. Create new workspace

3. Install aforementioned SDK

4. Import SDK example ota_mcuboot_server_enet

5. Try to build

标记 (1)
0 项奖励
回复
3,567 次查看
embeddman
Contributor II

Hi Jun Zhang,

I'm using MXIMXRT1062xxxxA and the following SDK version:

Снимок экрана 2024-01-20 112820.png

How to reproduce the issue:

  1. Clean install MCUXpresso IDE v11.9.0
  2. Run in a new workspace
  3. Install the aforementioned SDK
  4. Import SDK example ota_mcuboot_server_enet
  5. Try to Build
标记 (1)
0 项奖励
回复