element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Upcycle It
  • Challenges & Projects
  • Design Challenges
  • Upcycle It
  • More
  • Cancel
Upcycle It
Blog First Steps - Intel Edison step 4
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mcb1
  • Date Created: 14 Feb 2017 9:54 AM Date Created
  • Views 765 views
  • Likes 5 likes
  • Comments 3 comments
  • upcycleit
  • why upcycle
  • intel edison competition
  • upcycle
  • recycle
  • intel edison
Related
Recommended

First Steps - Intel Edison step 4

mcb1
mcb1
14 Feb 2017

Following on from the last one First Steps - Intel Edison step 3

 

After the issues of the previous days, I now have an Intel Edison that seems to be flashed with the latest image, and will talk to my computer.

 

Arduion IDE

I decided to add the Intel Edison to my latest IDE 1.6.9

 

It says go to Board Manager and scroll down the list until you find Intel i686

 

I clicked to install it, and low and behold it wanted to download even more 0's and 1's

About 56k later, and at a slow speed.

 

In the meantime I looked to see what the Arduino site had for the Intel Edison.

https://www.arduino.cc/en/ArduinoCertified/IntelEdison

 

While they say

     The Intel Edison can be programmed with this special version of the Arduino software. It's possible to make requests of the Linux kernel with system() calls.

It seems it is included in the latest IDE

 

Arduino have provided a guide to using it

https://www.arduino.cc/en/Guide/IntelEdison

 

They suggest connecting both USB cables, and then specify which port to use.

image

 

In my case it is COM98 (yes I've had lots of different boards of varying flavours plugged in this machine)

 

So I hit the upload and it does the compile, writes some stuff and stays with uploading.

image

It seems this line is the problem.

#mv the downloaded file to /sketch/sketch.elf

target_download_name="${host_file_name##*/}"

echo "Moving downloaded file to /sketch/sketch.elf on target"

"$fixed_path/lsz.exe" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0

Moving downloaded file to /sketch/sketch.elf on target

C:\Users\Beckettm\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.2+1.0/clupload/cluploadEdison_win.sh: line 56: /dev/ttyS97: Read-only file system

 

 

It makes the read-only statement several times, so obviously the Edison isn't happy to receive it.

 

 

PuTTy

For anyone that doesn't have this on their windows machine, best you do install it.

You'll need it to talk to RPi in headless mode, and since the Intel Edison is a linux based device, it will be useful here.

 

It says to check there is space using df -h

image

In my case there is.

 

It seems that this problem is not unique to me.

https://communities.intel.com/thread/63180

 

The importance of this thread (although not answered) is that the issue is related to the computer not the module.

 

However I have a F: drive showing 767Mb free and I can copy a text file onto it.

image

I can check the F: drive for the file

image

 

Strangely though, when I log into the Edison and check /media/storage it's not showing.

Now I'm assumming that this is the right directory.

It is the right size.

 

I used 'nano' to creat a text file.

I then attempted to copy that to the folder /media/storage

image

Lo and behold it seems that folder is a read-only.

 

So next step is to check if it is or that the way Linux presents and the symbolic links aren't creating the issue.

After all Windows can write to something that seems to be the right size.

 

 

Searching for answers

After this I decded to consult the internet.

I found a utility called Intel Phone Flash Lite and the people in the www world suggest this is the best way to flash an Edison.

https://software.intel.com/en-us/using-flash-tool-lite

 

After downloading it, and running it, it wants to relace one driver ... (what is it with these drivers)

It then fires up and asks what image you want to use.

 

I pointed it at one and it unzips it, then extracts the .json file.

 

It's a very interesting utility and gives various other information that the previous one didn't.

image

So I started downloading and it kept failing after a while, with lots of beeping from the computer and driver installs.

I did note it suggested powering it externally, so I went hunting for my trusty Arduino power pack.

 

Plugging that in flashed the power LED and then went out.

Strange as it normally runs and Arduino just fine.

 

I tried another and that also sort of flashed and stopped.

 

 

Power

It's a sad day when you need to drag out the volt meter.

Plugging in the power pack and measuring across the incoming suggested it was only 4.9v, when it should be 9-12v.

 

The first thought was the 2.1mm socket centre pin was a different size (you try getting the calipers in), and then that caps may have aged and it was ripple.

Regardless I grabbed a new plug and a different power pack and headed off to work.

 

After soldering a new plug on, I plugged it in and the light still wouldn't go and there was that burning smell that only electronics can provide.

image

      Photo stolen from Adafruit

 

A close examination shows a pin hole in the switching regulator, which means external powering won't work.

I'm not sure why or how the regulator died, since they have reverse power protection and all sorts of shut-down.

 

The good news is that the schematic for the Arduino Breakout board is online.

 

So I'm stuck at the moment. .... well at least until the order I put in comes to my mailbox.

 

 

 

If it was easy, everyone would do it.

Mark

 

 

 

 

This started as a simple blog, but has now grown over a few posts, so an index is appropriate.

 

Link to other posts
What is Electronic Up-Cycling
Electronic Upcycling ideas
Design Challenge Blogs
First Steps - Intel Edison
First Steps - Intel Edison step 2
First Steps - Intel Edison step 3
First Steps - Intel Edison step 4 
First Steps - Intel Edison step 5
First Steps - Intel Edison Arduino
First Steps - Intel Edison Arduino 2


  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +1
    Now you understand why I am usually a late adopter of new technology. It takes a while before all of the bugs are sorted out. I no longer have the patience to debug other peoples bad software. DAB
  • mcb1
    mcb1 over 8 years ago in reply to DAB +1
    @ DAB I haven't played with other 'Arduino' variations that don't use the Atmel, but I did see one or two comments. The Arduino software does make it easy, and part of that is the comprimises. To be fair…
  • mcb1
    mcb1 over 8 years ago in reply to DAB

    @DAB

    I haven't played with other 'Arduino' variations that don't use the Atmel, but I did see one or two comments.

    The Arduino software does make it easy, and part of that is the comprimises.

     

    To be fair to Intel, the issue does seem strange as there are many cases when it works, and others when it doesn't.

    Unfortunately most of the commentary is with earlier versions of the image, so whether it's something that was implemented in a newer image or something else that I still have to discover.....

     

     

    I do have a kit arriving with the same parts as our challengers so that I can assist them (where I can), so in the meantime I'm going to wait a few more days and hit it next week.

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Now you understand why I am usually a late adopter of new technology.

     

    It takes a while before all of the bugs are sorted out.

     

    I no longer have the patience to debug other peoples bad software.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 8 years ago

    Sorry but there was an error with the indexing where two blogs appeared to have the same name.

    Unfortunately the only way to fix it was copy the content and delete it, which also deleted the comments.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube