Serial.print cause Uno to lockup if USB not connected?


hello all!

i having freezing issue uno.  24-30 hours after program started run arduino lock , think found problem want see if solution found reasonable.

i had couple lines using serial.println command neglected remove, there nothing plugged usb port.  found on web saying thought in case data buffered waiting ability transmit.  if buffer fills uno locks up. 

this explanation meet symptoms exactly, person said wasn't sure,.. , article written on v 1.0 of software not current version.  wondering,.. possibly cause of problem?

i have pulled lines, , arduino plugging along week before i'm totally sure worked.

thank you!
whiskey

you using ram. removing print lines might solve problem saving ram, printing without usb should not cause that. uno throws bytes away. besides serial transmit buffer 64 bytes. did take month print much?

are using strings? memory might getting fragmented.


Arduino Forum > Using Arduino > Programming Questions > Serial.print cause Uno to lockup if USB not connected?


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support