yes, arduino ide can't establish connexion ! perhaps they need to add FOTA to the image ? Otherwise, i have seen that if i program (blink exemple) the M4 with udoobuntu2 (with a pc) and after that launch the card with yocto image the led is not blinking !
I guess this is the right repo: https://github.com/UDOOboard/udoofota Gesendet von meinem Nexus 4 mit Tapatalk
Here you can find the Ubuntu package: http://repository.udoo.org/pool/main/u/udoofota/ Looks like m4updater is as-well needed: http://repository.udoo.org/pool/main/u/udooneo-m4uploader/ https://github.com/ektor5/udooneo-m4uploader I put this on the TODO list....
I just pushed two recipes for udoofota and m4uploader. The udoofota needs some fine tuning related to starting the server during boot-up (init.d). All of this is mostly untested...
bb in working ... for info, when i start a bitbake, i have this warning WARNING: Getting checksum for qtwebengine SRC_URI entry 0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch: file not found except in DL_DIR | ETA: 00:01:02 WARNING: Getting checksum for qtwebengine SRC_URI entry 0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch: file not found except in DL_DIR WARNING: Getting checksum for qtwebengine SRC_URI entry 0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch: file not found except in DL_DIR
Compilation works without error, good job. The (neo) card boot but i think the M4 is not started and impossible for the moment to upload with arduino. Like you said need to tune udoofota ! perhaps udooteam can help
Hi graugans, the A9 boot but it seems that the M4 doesn't ! I have enabled it in Uenv.text but it stay halt ! If i plug the sd with udoobuntu2 the M4 start and the led blink (i have loaded a blink exemple, leg toggle each second), but if i plug sd with yocto the led stay off.
Okay, I'll check this M4 is a long standing topic on my list. Gesendet von meinem Nexus 4 mit Tapatalk
@modjo argh, I love it fixing stuff totally unrelated to the topic I want to fix... I am not a fanboy of Arduino but this drove me crazy..... I finally fixed Arduino GUI, by manually changing the target IP in the file Code: ~/.arduino15/packages/UDOO/hardware/solox/1.6.5/platform.txt Is this the way to go or did I missed the menu item to change stuff @Andrea Rovai ? Anyway the real bug I was hunting was a missing directory: /var/opt/m4/ So everything should be fine after an update.
At the moment we didn't made available any tool to change the IP from GUI. The correct mode is, how you said, modifying the file /home/chris/.arduino15/packages/UDOO/hardware/solox/1.6.5/platform.txt Would you be able to write a guide for this? It would be SUPERCOOL. We haven't released a guide yet because this stuff could eventually cause security problems.
[UDOO Neo] Arduino workflow on Yocto for M4 core Follow the instruction how to install the Arduino GUI on the UDOO Neo Docs Install and configure the Arduino IDE Download Arduino Software in version 1.6.5 for your Platform Install the Arduino IDE on your PC Start the IDE. Select File -> Preferences and add this link to Additional Boards Manager URLs: https://udooboard.github.io/arduino-board-package/package_udoo_index.json , then click Ok. Select Tools -> Boards and open the Board Manager. Wait few seconds 'till the end of the "index download" then look for UDOO NEO (iMX6 SoloX) and install it. After this a new board is selectable in Tools -> Boards you should see the UDOO NEO (Cortex M4), if so Click on it. Now it's time to insert your first sketch Code: void setup(){ pinMode(13, OUTPUT); } void loop(){ delay(1000); digitalWrite(13, LOW); delay(1000); digitalWrite(13, HIGH); } Compile it but not yet upload it For uploading the binary to the M4 we are using the Firmware over the Air Update Feature (FOTA) to get this working you have to edit the following file: Code: ~/.arduino15/packages/UDOO/hardware/solox/1.6.5/platform.txt and scroll down to the line Code: tools.udooclient.upload.pattern="{path}/{cmd}" "192.168.23.147:5152" "{build.path}/{build.project_name}.bin" and adapt the IP address to your needs. This is the one the Neo port was assigned to. Thx for @modjo pointing out the location for this file under windows: Code: C:\Users\<YOUR_USER>\AppData\Roaming\Arduino15\packages\UDOO\hardware\solox\1.6.5