Is anyone else using Ubuntu 18 & PlatformIO to do embedded development?
When I reboot the X86 system the Arduino core doesnt start up until I execute:
cat /dev/ttyACM0 or I open the terminal monitor in Arduino or PlatformIO
The system hangs at the Serial console check
Anyone have any Suggestions?
Heres my test Code snippet:
//*****************************************************************************
void setup()
//*****************************************************************************
{
SerialUSB.begin(9600);
// Enable the Serial Console
while (!SerialUSB); // <================ HANGS HERE!
}
I sent you an email regarding this fix. Since the only way I can get data back to the X86 for processing I need to know that the TTYAms0 port is operational and readable from thje Arduino, or my sensors are not talking to anything and system is in a failed state and the Arduino has no idea that nothing is receiving its data stream. Thats why we do the !Serial check before we begin the processing loop.
i’ve found that you have to take that out, but that said, if you look here when it was first released we were trying to figure out what device names and other stuff was for each port,
we also discovered the wiki was wrong which they fixed but this might give you some info.