The /usr/bin/udooneo-m4uploader sketch.cpp.bin uploads the executable of the Arduino sketch to the M4 MCU. How to stop the sketch running on the M4 MCU? Thank you!
How to stop an Arduino from running its sketch? I suppose by uploading an "empty" sketch. Or create a pause state in your sketch when pressing an attached button or sending a serial command to the Arduino. Like a real Arduino the Neo starts the last loaded sketch at startup or reboot/reset. So you have to stop it in another way.
Thanks. I've already tried this option but I'd like to know whether there is a cleaner way, with lower power usage.
Please sb help. My udooneo has stuck after programming with the M4 (arduino), i must have sent too many data to the buffers. The problem is that i cannot access the board through linux, web interface etc. I cann only use my udoo through an android booted sdcard. The leds of the board are ok, but i cannot connect via usb, SSH, VNC etc. I have tried all the methods described in the udoo docs. Has anyone any further ideas?
It could also be that your Udoobuntu SD image or card is broken. You need to remove the last compiled sketch from your SD card and than boot. Can you mount the card with another Linux machine? Then you can try to backup all your files on the Udoobuntu SD and rewrite a fresh image.
i know that is what i am trying to achieve. i have an old notebook with ubuntu installation. If i cannot manage to solve it i will try to rewrite the bootable sd card of udoo. Is there any way to see linux partitions through windows?
It is not easy. This link covers it (not tried it myself): http://superuser.com/questions/599516/how-do-i-read-the-ext4-partition-of-my-sd-card-on-windows
i am unhappy to inform that finding the last compiled m4last.fw and delete it or change it, does not apply as a solution to debug the arduino side of udoo. I have find the file with a mounted version of my bootable udooneo sdcard, so as to replace or to delete the file, but the problem still remains. The sure solution is to format the sd card and to rewrite the bootable sd card of udooneo. Now everything seems normal, but i have to download and copy all my files to udoo from scratch. Anyway, thank you all for the help provided.
Then there was a problem with your image or SD card. Removing the m4last.fw should solve the problem of not able to stop the sketch. Next time you could serial debug the Linux boot with UART 1. Or on the SD card look into the Linux log files to see what is going wrong.