Click here to Skip to main content
14,104,358 members
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.3K views
1 bookmarked
Posted 13 Apr 2015
Licenced CPOL

Intel® XDK IoT Edition Troubleshooting and FAQ

, 13 Apr 2015
Rate this:
Please Sign up or sign in to vote.
Intel® XDK IoT Edition Troubleshooting and FAQ

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

5-XDK won’t upload to Edison/ Error Edison Drive is full

Your XDK applications hang on “Uploading” or the Terminal session says the Edison drive is full. This is a bug in the file system that is continually logging without a limit. You will need to delete journal entries and install an update
Possible Workaround: Systemd, the Intel Edison's system logger, must be configured to set a maximum log file size.

  1. Open the /etc/systemd/journald.conf
  2. Replace the line that says "#SystemMaxFileSize=" with "SystemMaxFileSize=200K" Notice the "#" is now gone.
  3. Restart the system logging service or simply type "reboot"

6-Name/IP address of Edison not showing in XDK list

After getting a name and configuring WiFi your Edison board is not showing up on the device list in the XDK. There is likely a DNS issue or network conflict that is cached on the board, XDK or PC.
Workaround: Shutdown XDK and reboot PC. Power cycle Edison board and reconfigure WiFi on the Edison board. If this persists you may have a local networking issue, that may resolved once fewer people are on the network. Also make sure your LAN or corporate firewall supports TCPIP Port 22

to reconfigure wifi run "configure_edison --wifi"

Also try restarting the XDK daemon by running systemctl restart xdk-daemon

7- XDK Crashes

You get an error that something went wrong and XDK crashes with an option to report the issue. Upon completing that screen XDK shutsdown. This seems to happen when XDK has an interrupted connection to the board. In hackathon with hundreds of phones, laptops and boards connected to the LAN this happens.
Workaround: Bug is noted, future updates to XDK will remedy this, until then try direct Edison via Ethernet over USB

8- XDK is giving MRAA error

Your application will not run on your Edison and you get an error “can not find mraa”. This is likely due to the default image on the Edison not having the latest libraries to work with XDK:
Workaround: Follow instructions here under Note in the Running Sample Applications section near end of page

9- NPM ENOSPC Errors on the Intel Edison

If you are getting errors like the above with Intel Edison when using Intel XDK relating to Error extracting update or Error: Command failed: x node_modules/ you may need to reset your Edison by opening a terminal (using SSH if Edison is online on the local network or a USB if you are wired) and run reboot ota.

Once you have done that, you will need to log into Edison and run configured_edison –wifi to get the Edison online again.

10- Bonjour is missing - Please install Bonjour! (Windows)

If you are a Windows user and Bonjour is not installed on your machine, a "Bonjour is missing" message is displayed (Figure 6). Complete the steps in the Install Bonjour section to install Bonjour.

11- How do I find the IP address of my board?

Run "ifconfig" through a terminal to your board.

12-ERRCONNREFUSED with Intel XDK

Go here for workarounds https://communities.intel.com/message/279807#279807

I have Bonjour installed, but XDK doesn't automatically detect my board

If you have Windows 8.1, consider updating to Bonjour Print Services 3.0, which is included with Apple* iTunes. To download iTunes, see https://www.apple.com/itunes/download/.

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Intel Corporation
United States United States
You may know us for our processors. But we do so much more. Intel invents at the boundaries of technology to make amazing experiences possible for business and society, and for every person on Earth.

Harnessing the capability of the cloud, the ubiquity of the Internet of Things, the latest advances in memory and programmable solutions, and the promise of always-on 5G connectivity, Intel is disrupting industries and solving global challenges. Leading on policy, diversity, inclusion, education and sustainability, we create value for our stockholders, customers and society.
Group type: Organisation

43 members


You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web05 | 2.8.190518.1 | Last Updated 13 Apr 2015
Article Copyright 2015 by Intel Corporation
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid