Hello, i have a question. Where can I put HEX file to upload it to arduino core ? or i have to use avrdude ? I'm trying to upload arduino sketch from external device (PC) through wifi.
I hope this help " http://www.udoo.org/docs-neo/Arduino_M4_Processor/Overview.html M4 boot process Everytime we reset the processor the M4 firmware ( sketch ) were lost, so it will be reloaded by the uboot from the binary present on the "boot" FAT partition. In this way the user can find its sketch on the board running at every boot. Also at boot M4 requires the resources descripted in a configuration file. This configuration must agree with the A9 kernel configuration to avoid conflits. We provide default "safe" configuration. Last Sketch used When the system boot check if it's present an old sketch compiled in: /var/opt/m4/m4last.fw then it loads the sketch on M4 core and start its execution. Otherwise it loads the sketch located in: /boot/m4startup.fw "
From an external device you have to use udoofota- client https://github.com/UDOOboard/Neo-Docs/tree/master/docs
Sure, I made program to upload sketch through udoofota too fastly wrote, but it save a lot of time to upload from my PC http://speedy.sh/qGpXJ/neo-wifi-sending.rar In the Arduino program: go to Arduino -> Preferences and then select Show vervose output during ->compilation. At the end of line there is directory to your .bin file. Open mainwindow.cpp, edit line number 47, because you probably have different directory to udooclient.exe. Compile, browse your directory where .bin file is placed. Type UDOO IP and click Upload.