How to build JN-AN-1255?

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

How to build JN-AN-1255?

3,309 Views
sChameleoNz
Contributor III

I'm currently using SDK_2_6_4_JN5189DK6 and MCUXpresso IDE v11.4.0_6224.

When I import a JN-AN-1255 project and try to build it, I can see the error.

 

c:/nxp/mcuxpressoide_11.4.0_6224/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file AppBuildNone.ld: No such file or directory

 

I couldn't find the file.

Would you like to help me how to build it?

Labels (2)
Tags (1)
0 Kudos
Reply
8 Replies

3,146 Views
usaygo
Contributor III

Hello,

Just for reference, I build JennicSniffer from new project and putting files from JN-AN-1255 and seems working well with Ubiqua Protocol Analyzer.

  • Note: Could not work with Managed Liner Scripts. It may require AppBuildNone.ld.

 

Please note that:

  • Files are copied from SDK2_6_4 to the project, however some files could be modified or older. (there is possibility that I might copied edited ones or older ones. I didn't check all.)
  • some SDK files are copied into misc/ folder.
  • ld files are copied into linkscripts/ folder. (use_memory.ldt is for Managed Liner Scripts, not used)

3,267 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @sChameleoNz,

I hope you are doing great.

I recommend working with the last SDK version 2.6.4.

The AN has some dependencies with the 2.6.0 version, we are working on this. However, a workaround is to search all the definitions and paths that have SDK_2.6.0_JN5169DK6 and only define the name of the SDK, in this case, JN5189, also be sure that the paths have the same SDK name folder.

mario_castaneda_1-1629779557665.png

 

mario_castaneda_2-1629779567136.png

 

In the end, please add the board_utility files into the board folder and it should compile without any problems.

Please let me know your findings.

Regards,

Mario

 

 

3,239 Views
sChameleoNz
Contributor III

Hi @mario_castaneda,

 

Thank you for the guidance.

I applied all three things that you taught me.

But, I still can see error messages when I built it.

sChameleoNz_0-1629984795836.png

 

Please look at this.

 

Many Thanks,

sChameleoNz

0 Kudos
Reply

3,231 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @sChameleoNz,

The issue remains with the dependencies that the AN has with version 2.6.0.

Could you please look at all the projects using another tool? as visual studio for example.

You have to erase the name SDK_2.6.4_ from all the files

mario_castaneda_0-1629992222661.png

Sorry for all the inconvenience that this may cause you. let me know your findings.

Regards,

Mario

 

0 Kudos
Reply

3,208 Views
sChameleoNz
Contributor III

Hi @mario_castaneda,

 

You mean, I need to use SDK v2.6.0, right?

I thought I have to use SDK v2.6.4, therefore I change 2.6.0 to 2.6.4.

 

Regards,

sChameleoNz

0 Kudos
Reply

3,183 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @sChameleoNz,

It is ok to work with the last version 2.6.4. Please replace the name SDK_2.6.0_K32W061 with the K32W061 name.  Please use the AN from the K32W061 web page

We have some issues with the JN5189 example, but you could use the file from the other MCU K32W.

Let me know your findings.

Regards,

Mario

 

0 Kudos
Reply

3,291 Views
usaygo
Contributor III

Hello,

I'm not sure if it help you...

  • The .ld files are stored in "devices/JN5189/gcc/" at SDK archive.
    For simplicity you can copy necessary files to your project and change settings to refer them in your project.
  • I forget the detail, but I used SDK2_6_0 to build sniffer project at AN-1255.
Tags (1)
0 Kudos
Reply

3,289 Views
sChameleoNz
Contributor III

Hi @usaygo,

 

Thank you for the comment.

It is exactly the same as mine.

I copied the necessary four .ld files.

And I linked the necessary libraries.

And, I changed flash driver and RAM configuration.

Now, I can build it.

But, it still doesn't work.

There is nothing on serial terminal and packet sniffer.

 

Regards,

sChameleoNz

0 Kudos
Reply