Programming Arduino M4 from Internal Processor(Cortex-A9)
Arduino IDE
Heads up! The compatible Arduino IDE to program the Arduino side of UDOO NEO from the internal Cortex A9 processor is Arduino IDE 1.6.5 r3. If you need to use the latest Arduino IDE go to "Arduino M4 Processor: Programming Arduino from External PC".
To develop sketches for M4 cores we provide the same way to program Arduino Uno.
You can use the internal Arduino IDE or connect the board and use an IDE running on external PC.
Internal Arduino IDE
After you connected the board and you boot the desktop environment:
- Start -> Programming -> Arduino IDE
- File -> Examples -> Basics -> Blink
- Click on "Upload" button.
- Wait "Compiling sketch..." until "Upload is complete".
Now the sketch will be run on M4 side.
Precompiled binary
It's possible to upload a precompiled binary firmware on the M4 using this command:
udooneo-m4uploader.sh <BINARY_PATH>