Hi all, When i power up my UDOO ULTRA, the currie soft don't start. I have to launch the arduino IDE then the terminal for this app to start. I think there is a solution to correct this? Thanks for your answer. Thierry
What dou you mean with Curie Soft? What kind of App is that? Do you mean that the sketch you have loaded before to the curie is not running after a start or restart/reboot of the complete Udoo X86? Not running can be related to your arduino sketch so we have to rule that out first. If this is the case what happens if you load the blink example to the Curie (simple program, just flashes build in LED) and restart the Udoo?
Yes, the sketch I have loaded before to the curie is not running after a start or restart/reboot of the complete Udoo X86. In fact, after others tests, I realize that if I run an exe on braswell, the arduino starts !!! I test with blink example asap.
I just tested with BLINK program and it working after a OFF then ON power !!! Here is the beginning of my sketch : Code: void setup() { Serial.begin(9600); // initialize Serial communication while (!Serial); // wait for the serial monitor to open May be is it use to put : Code: delay(5000);
Your sketch is doing what you programmed it to do: wait until the serial device is monitored on the Braswell side (line 3 of your code). Monitoring can be done by Arduino IDE serial monitor or an external program. Normally this is done to prevent overloading the serial bus. The curie can start much faster than the Braswell part so if you do not wait until the Braswell side is reading and processing the serial bus the curie can send too much data and can lockup everything.
But only if you want to send serial data from Arduino to Braswell. Or reprogram the sketch so that it starts doing what it should do (eg reading sensors, switching output etc) but only really send data when Braswell is monitoring for example for debugging: Code: //Enable this line when debugging only! //Having this enabled will mean that the sketch //will work only when the Serial window is OPEN! debug = false; if (debug) { while (!Serial); }