I'm trying to compile the Smart Energy projects that came with the SE Application Note (JN-AN-1135). However, I'm using BeyondStudio, and needed to follow the Migration Guideline document (JN-AN-1202) since these projects haven't been modified yet to work with BeyondStudio. In the Migration document, it says that cygwin is no longer installed with "the new toolchain" (I'm assuming this is BeyondStudio), and that we should use MinGW instead. My problem is that the Makefiles for each project all use cygwin, so the 'make all' command is failing before compilation even begins.
I've never used cygwin nor MinGW, so I have no idea what changes would need to be made, if any. Could someone assist me with the changes, or point me in the right direction if something else needs to be done? I can provide code if necessary. But again, it's from the Smart Energy Application Note, JN-AN-1135.
I did that in a few steps.
At first you should download and install JN-SW-4041 toolchain somewhere.
After that copy the "ba-elf-ba2" folder from ...\tools\ to SMART ENERGY SDK into ...\sdk\SE\Tools\
Choose BA ELF GNU Toolchain in Beyond Studio properties
And dont forget to choose the SE as Target Stack
Sure that you still have right "building settings".
(when toolchain was changed they switched into default mode on my PC)
And if everything is right you should do little changes into makefile
i will attach working makefile which sussefully builds on Beyond Studio
(see JN-AN-1135 PLUG_METER_NODE Makefile in attachment)
JN-SW-4041 Toolchain is no longer need for us ,after you copy folder you can delete it.
Best regards! Arthur.
Beyond Studio does not work. You have to use Eclipse Ganymede instead. Use the instructions given here. Also refer to this document which is attached in this document.
You can download the Eclipse Ganymede (It may or may not work in Windows 10 OS) Eclipse IDE for C/C++ Developers | Packages
Steps given in blue color.
The installation of the Smart Energy SDK and plugin has slightly changed. Updated procedure can be found in the release notes found in the zip file. Below are the new steps of installing the tools and much needed udpates.
Select ‘Help’ -> ‘Software Updates’
Select the ‘Available software’ tab
Click ‘Add site’
Select ‘Jennic Eclipse Update Site’ or the ?...com.jemmic.update_site (Warning! You will need an active internet connection for this)
Wait for eclipse to update internal files. An install window then pops up. Ensure both items remain ticked and then click ‘next’.
Review license agreement, then click the ‘I accept’ radio button, then ‘Finish’
If a popup appears asking if you trust certificates, then click ‘select all’ followed by
Restart Eclipse when prompted.
I need help from you as well!
I am currently working on JN5168 ZigBee Module. I am new to the ZigBee Application Development. I am currently working on the Smart Energy SDK. (IPD Node and Energy Smart Meter) The contents are so much to go through. I want to learn based on some tutorials (step by step) to get better understanding. Could you please suggest me any tutorials or guides? I downloaded the application notes but I am getting lost because of huge content! I downloaded the application note IPD (In Premise Display - End Device) and ESP-EM (Energy Monitor - Master Device) onto the JN5168 module. But when I turn on, they are not getting connected. Could you please help me? I do not know where I am getting lost. It has lot of content that I do not know the starting point to work on.
I would appreciate the help if anyone could help me!
If you have a contact within the legacy NXP "Wireless Connectivity" or "Smarthome" applications s group, please tag them for comment. This question indicates that our Tools (BeyondStudio) for the JN51658 integrated MCU+RF Transceiver are no longer able to compile and work with the example code templates we provide for this device.