TWR-KM34 and meter software examples

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TWR-KM34 and meter software examples

Jump to solution
1,043 Views
dkh
NXP Employee
NXP Employee

Hello support,

I am trying to compile the IAR demo software for the Software-for-One-Phase-Power-Meter.zip

It was done in IAR 6.5 and I have IAR 7.60

Their are several projects and i get the same error so I am missing something or missing a setting up procedure.

C:\Freescale\KM128SWDRV_R3_0_0\build\iar_6_50\projects

Readme file:

Kinetis M One-phase Power Meter Application 3.0.04.0 (November 11, 2014).

Applications installs together with KM128SWDRV_R3_0_0. Refer to AN4265.pdf and DRM143.pdf for more information about filter-based metering algorithm and Kinetis-M one phase power meter reference design. Performance of the metering algorithm can be tuned using filter-based metering algorithm configuration tool.

Release Notes: refer to mk341phX.c source files for more details.

My IAR error:

Error[Lp049]: there was no reference to __iar_data_init3, but it is needed to initialize section .bss (adc.o #8)
Error[Lp048]: the init table "Table" is needed to initialize some variables, but there are no references to it
Error while running Linker

I get the same error when trying to comple the E-Meter demo for the TWR

C:\Freescale\KMSWDRV_EAR2_2\build\iar_6_50\projects\_twr_emeter_demo

Can you please provide some guidance ?

0 Kudos
1 Solution
638 Views
dkh
NXP Employee
NXP Employee
1 Reply
639 Views
dkh
NXP Employee
NXP Employee

Answer can be found here;

https://community.nxp.com/thread/433565