Thanks for contacting us.
I just tested an I2C code in the latest image with the latest MRAA version, and it works without issues. Can you tell me which Edison's image version are you using?
Did you try to downgrade the MRAA version?
We will be waiting for your reply.
Have a nice day.
I am using the image that gets installed with the Edison Board Configuration tool, 20160606.
I have spent hours trying to find the latest MRAA version. These instructions do not work on the Eclipse setup I have. Where is it?
Basically, all that I have been able to find is either 1) Out of date 2) A dead link 3) other people with the same problem 4) Instructions that do not work.
I would be forever greatful for you to tell me where MRAA is and how to install it on Eclipse MARS.1
EDIT: Here is an example of the frustration. A thread on this forum linked to mraa-update on Intel.com. Just what I wanted but all I got was "404 not found" error.
I have to say that would frustrate me too, but I will try my best to help you.
About the IDE, I think that the best recommendation that I can give you is to use Intel® System Studio IoT Edition: https://software.intel.com/en-us/installing-the-intel-system-studio-iot-edition, now if you need to use Eclipse MARS, I suggest you to submit an issue in the repository asking about updating MRAA on another Eclipse environment: https://github.com/intel-iot-devkit/mraa/issues
Regarding the location of MRAA, well I'm not sure what you are looking for, but you can find the .ipk here: https://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586/, and the link that you sent if you are looking for the toolchain that you need for the cross-compilation in the IDE, this is the link: https://iotdk.intel.com/sdk/3.5/edison/
I also want to let you know that there a latest version of the Edison Image here: https://software.intel.com/en-us/iot/hardware/edison/downloads, if you need a guide to flash it please follow this document: https://communities.intel.com/docs/DOC-25154
I hope you find this information helpful
Frustrations continue. I followed the instructions at Updating the libmraa and libupm libraries | Intel® Software by issuing these commands as instructed.
# opkg update
# opkg upgrade
This did not help as I still get errors. Remember, my code has worked for a couple years before upgrading the OS. I need the updated OS to use the latest UDP AP stuff I am doing.
My understanding is that the Intel Studio is based on MARS Eclipse. In terms of update, I want to know how to update Eclipse to the new mraa. I know that in someone's great wisdom, the name of the file was changed to libmraa1 from libmraa0. I just want to get the latest version of mraa into Eclipse. I posted on the forum you recommended.
On a side issue. I see you linked to Yocto release 3.5. If I follow online instructions to find my version it returns "02" which is clearly not helpful. How to I determine the current version I have, which is 20160606 but that is not of the same form as a 3.5
Just for the record, I started this development in 2014 using the Intel environment, which was based on Eclipse. I then upgraded my Eclipse once to MARS.1. It has been suggested here and by a friend I upgrade to Intel Studio. I just tried to do that and got this message:
Operating system "Windows 7 Professional" is not supported.
The github forum on mraa has suggested that what I need to do is recompile with the new version of mraa. I had thought that was my question but maybe I didn't form my question correctly. I have asked for how to do that. This continues to be frustrating.
The Edison is a nice board and works well for our project. I have purchased more than a dozen of them and we hope to grow that to hundreds if we can get this project accepted. But there have certainly been challenges along the way.
I see that Windows 7 has about twice as many users as Windows 10 and you don't support Windows 7. You also don't support my older laptop running Windows 10. This is not easy.
I have two questions:
1) Can I install the old mraa 0.x on my Edison running the new Yocto image?
2) Where are the new mraa files, what are the names of the files I need to copy into my Eclipse directory, and where do I need to put them?
My Edison has 3.10.98-poky-edison+ #1 SMP PREEMPT Mon Jun 6 14:32:08 PDT 2016 i686 GNU/Linux
My Desktop is Windows 7.
My Eclipse is MARS.1
We have about 20 prototypes I need to get working. I hope to sell hundreds of systems but need to get them working.
I will try to answer all your questions in this post, so I hope you find the following information helpful.
About the Yocto releases, you can find the build version of each image using the command cat /etc/version, in case that you are using the latest image (Release 3.5-patch), you will see the version 201606081705, and in the Release 3.5 you will see 201606061707.
Now, about Intel System Studio, yes it not supported on Windows 7, but you can try this workaround suggested by another user in this thread: https://communities.intel.com/thread/108506.
If you need to downgrade the MRAA version of your Edison, follow the next steps:
1. Uninstall the MRAA library in your Edison using the command: opkg remove mraa --force-removal-of-dependent-packages
2. Download the MRAA version that you need from here: https://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586/ (You can use the wget command if you want).
3. Install the package using the command: opkg install <mraa_version_package>
About your Eclipse environment, the Eclipse IDE that we support is Intel® System Studio IoT Edition, a different Eclipse environment is beyond of our support scope, and we are not sure how to this on MARS, we recommend you to contact them to help you with that environment (https://eclipse.org/mars/).
I found an older version of mraa and installed it per your instructions and it worked. Just to repeat it all in one place.
I downloaded mraa_0.7.4_i586.ipk from https://iotdk.intel.com/repos/2.0/intelgalactic/
opkg remove mraa --force-removal-of-dependent-packages
opkg install mraa_0.7.4_i586.ipk
Ran my test program and it worked.
I used the version I selected as it most closely matched the release date of Eclipse MARS
That's awesome! It is good to know that the information was helpful.
Thank you so much for letting us know, and feel free to contact us when you have doubts.
Have a nice day.