Hello Nandan, I asked which SSP version you're using because this is known issue with 1.0.0 and has been fixed in 1.1.0. If you don't want to update to a newer release, there's a workaround to force a timeout on the wait. Create a new blank thread (I'll refer to it as "timeout_thread"). In the thread entry file, before the thread function, add "extern TX_THREAD thread_name;" (where thread_name is the name of the thread that's stuck on the prompt). Inside the thread, add the following code: while (1) { tx_thread_suspend(&timeout_thread); tx_thread_sleep(5); tx_thread_wait_abort(&thread_name); } In the thread with your prompt, add "extern TX_THREAD timeout_thread;". Before every prompt, insert "tx_thread_resume(&timeout_thread);", this will start the thread that will force the timeout on any active suspension in your main thread after 5 system ticks (default: 50ms). Regards
↧