[JN-AN-1172] include library fail?

cancel
Showing results for 
Search instead for 
Did you mean: 

[JN-AN-1172] include library fail?

Jump to solution
351 Views
alan5_lin
Contributor III

Dear Sirs,

I follow the JN-AN-1186 to inlucde libRecal_JN5169.a, as below:

INCCFLAGS += -I$(COMPONENTS_BASE_DIR)/HardwareApi/Include/
INCCFLAGS += -I$(COMPONENTS_BASE_DIR)/Recal/Include/
LDLIBS += libRecal_${JENNIC_CHIP}.a

Also, I duplicate the file "libRecal_JN516x.a" to as an new file "libRecal_JN5169.a".

However, my project JN-AN-1172 for JN5168 was compiled failed due to "cannot find -llibRecal_JN5169.a".

How to fix this kind of compiling issue?

Thanks!

0 Kudos
1 Solution
202 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Alan,

Is it possible that you could change the code as below?

makefile

# Specify additional Component libraries
LDLIBS += JPT_${JENNIC_CHIP}
LDLIBS += Recal_JN516x

CustomerModuleEvalTool.c

PUBLIC void AppColdStart(void)
{
.
.
.    

u32JPT_RadioModes = u32JPT_RadioModesAvailable(); /* Get the Modes supported by this device */
    u32AHI_Init();                              /* initialise hardware API */

    //bAHI_PeriodicRecalInit(20,20);
    eAHI_AttemptCalibration();

#ifndef JENNIC_CHIP_FAMILY_JN516x
    for(n=0;n<100000;n++);      // wait for JN516X to move onto 32MHz Crystal
#endif
‍‍‍‍‍‍‍‍‍./
.
.
}

Note: this is selecting a specific device.

pastedImage_1.png

Regards,

Mario

View solution in original post

4 Replies
203 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Alan,

Is it possible that you could change the code as below?

makefile

# Specify additional Component libraries
LDLIBS += JPT_${JENNIC_CHIP}
LDLIBS += Recal_JN516x

CustomerModuleEvalTool.c

PUBLIC void AppColdStart(void)
{
.
.
.    

u32JPT_RadioModes = u32JPT_RadioModesAvailable(); /* Get the Modes supported by this device */
    u32AHI_Init();                              /* initialise hardware API */

    //bAHI_PeriodicRecalInit(20,20);
    eAHI_AttemptCalibration();

#ifndef JENNIC_CHIP_FAMILY_JN516x
    for(n=0;n<100000;n++);      // wait for JN516X to move onto 32MHz Crystal
#endif
‍‍‍‍‍‍‍‍‍./
.
.
}

Note: this is selecting a specific device.

pastedImage_1.png

Regards,

Mario

View solution in original post

202 Views
alan5_lin
Contributor III

Dear Mario,

After modified the code as your suggestions, the firmware got stuck in "eAHI_AttemptCalibration()" while run on carrier board DR1174.

Could you please help to figure out how to correctly run the calibration?

Thanks!

0 Kudos
202 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Alan,

I will get back to you in the other community post.

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

Regards,

Mario

0 Kudos
202 Views
alan5_lin
Contributor III

Hi Mario,

After download the firmware to carrier board (DR1174 + DR1175), the routine was stuck in

eAHI_AttemptCalibration();

.

What is this kind of situation?

Thanks!

0 Kudos