edison-wiki

Logo

Any information related to investigating the Intel Edison kernel, U-Boot, SoC hardware, ACPI, tools to build the image etc.

View the Project on GitHub edison-fw/edison-wiki

Intel Edison MCU Quick Start

Documentation

You can read up on the Intel Edison MCU in this salvaged documentation: MCU API documentation
Creating applications with the MCU SDK for the Intel® Edison board

Keep in mind that the MCU SDK is based on Eclipse using a Java version that is no longer supported. In this quick start guide we will show how to build an MCU app without the Eclipse SDK. But if you really think you can and want to fix the Eclipse SDK we did salvage that too, so send me a message in our Telegram group https://t.me/IntelEdison Web if you need it.

Host side interfaces

In addition to the documentation above, consider that some host side sysfs interface names changed.

TTY interfaces

The MCU communicates with the CPU through 2 serial interfaces:

Sysfs interfaces

Quick Start

Minimally, there are some headers files, a library file and a script to build an MCU application.

Easiest is to clone from github https://github.com/edison-fw/edison_mcu.

I stole this from https://github.com/tardyp/edison_ir.git, cleaned it up, added the SDK to the release Tag https://github.com/edison-fw/edison_mcu/tree/v1.0 and a sample source file from the SDK.

MCUSDK_PATH=../edison-mcusdk-linux64-1.0.10 MCUSDK_OS=linux-x86_64 make intel_mcu.bin

Copy the binary file to `“/lib/firmware/intel_mcu.bin” on Edison.

echo "on" > "/sys/devices/pci0000:00/0000:00:17.0/power/control"
echo "load mcu app" > "/sys/devices/pci0000:00/0000:00:16.1/control"
root@edison:~# cat /dev/ttymcu0
^C
root@edison:~# echo "go" > /dev/ttymcu0
root@edison:~# cat /dev/ttymcu0
hello mcu
^C