Forum Discussion
BoonBengT_Altera
Moderator
10 months agoHi @ReubenS,
Thank you for posting in Intel community forum and hope all is well.
Would perhaps recommend to check on the following item below:
- Ensure that the UART driver (especially any stdio redirection) is initialized before any use of cin/cout.
- Use fgets() and printf() temporarily to isolate the problem from cin (could avoid issues related to cin buffering or stream corruption)
- Ensure watchdogs is not trigger during blocked i/o (if cin blocks waiting for inputs and the watchdog is not serviced there could be weird behavior observed)
Hope that clarify.
Best Wishes
BB