did you possibly break your board?
It started working again today... lol
that's really weird, I rebooted a couple times and it was still not working. I removed power for the night and the day after it started working again.
in this case I'd certainly blame Murphy's law
...or that can actually be a bug somewhere, because there's a similar report, which I was able to reproduce, in the mraa GitHub repo: [Edison Arduino] mraa(for js) fail after press "reset" button in Edison/Arduino · Issue #49 · intel-iot-devkit/mraa · Gi…
speccy88, when/if that happens next time, please take a note of how you were restarting the board, by using reset button, using an OS command or just power cycling - and report it at the abovementioned bug record, that may help to nail it down.
You are right Alex,
I remember using the reboot button a couple times because I was messing with Bluetooth and sometimes got my board to hang after a Bluetooth disconnect.
Okay, yeah, that was looking very similarly to that bug + that mention of power cycle that coincided with board returning back to normal rang a bell.
So looks like we have at least three confirmations right now, I think that could be good to report.
CMata_Intel, JPMontero_Intel, DiegoV_Intel, could you please combine this thread and that GitHub record one and report to developers for investigation? Feel free to mention me if they need an internal contact familiar with the matter, I'd be glad to help them troubleshoot this.
I just replicate this with a blink.py script and yes, the same issue. I will pass this feedback
Also, maybe arfoll ...do you know something else about this behavior? Maybe a workaround in the meantime, another thing to do than power down and up the board?
echo 1 > /sys/module/intel_mid/parameters/force_cold_boot
It started again yesterday. I did a "i2cdetect" on port 3 and the Edison crashed so I had to do a power cycle. MRAA stopped working after that.
So what should I do to get MRAA working again?
I tried the force_cold_boot mentionned above but it did not work.
I rebooted and power cycled the board a couple time and and it is not working either.
What version of the BSP are you using?
The output of "configure_edison --version" is 120. Is this the BSP version?
The error I get is : "gpio: Failed to write 214 to export"
Pretty sure this is related to EDISON-2323.
Can you try each of the following and let me know if the use cases match the behavior you see on your board?
- Reset button -> No changes
- Jumper to 3V + Reset button -> OK, device(s) detected
- Jumper to 5V + Reset button -> Not OK sometimes, depends on if you have more than one device on the i2c line
- Jumper to 5V + Remove all supply ( power supply + ssh) -> OK
The GPIO 13 (on-board LED) does not work with any of these cases.
What was the i2cdetect output for each of them?