Build Error with KM256SW3PHMET_R4_0_0: Fatal Error[Lp049] Related to __iar_data_init3

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

Build Error with KM256SW3PHMET_R4_0_0: Fatal Error[Lp049] Related to __iar_data_init3

314 次查看
MSCHOI
Contributor I

Hello,
I downloaded and installed the Three-Phase Power Meter Reference Design Software from the following NXP link:
https://www.nxp.com/design/design-center/development-boards-and-designs/three-phase-power-meter-refe...

After installation, I tried to build the project located at:
C:\freescale\KM256SW3PHMET_R4_0_0\build\iar_7_40\projects\KM256SW3PHMET_R4_0_0
using IAR Embedded Workbench.

However, I encountered the following error during compilation:

Fatal Error[Lp049]: there was no reference to __iar_data_init3, but it is needed to initialize section .bss (adc.o #8)
I haven't modified any part of the project after installation. Could you please help me understand why this error occurs and how to resolve it?

Thank you in advance!

0 项奖励
回复
2 回复数

274 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @MSCHOI ,

Thanks for your post and sorry for the late reply.

This might be related to the inconsistency of IAR versions. The software package uses IAR 7_40. What is the IAR version you are using?

You can also refer to the following links:

Kinetic M - Bare metal ADC example code linker errors - NXP Community

Mkm34z256 -Fatal Error[Lp049] - NXP Community

BRs,

Celeste

0 项奖励
回复

267 次查看
MSCHOI
Contributor I

I’m using version 7.80.4.12495.
I’ll try to resolve the error by referring to the links you shared.
Thank you for your prompt response.

0 项奖励
回复