Hi karol, Write is failing at different places. I have a common function called debug_print. void debug_print(char * log) { g_sf_comms.p_api- lock(g_sf_comms.p_ctrl,SF_COMMS_LOCK_ALL,TX_WAIT_FOREVER); g_sf_comms.p_api- write(g_sf_comms.p_ctrl,log,strlen(log),1); g_sf_comms.p_api- unlock(g_sf_comms.p_ctrl,SF_COMMS_LOCK_ALL); } This function is being called from different places. Here in this place the API hangs. USB driver which i am using is provided by Renesas itself. I am using TeraTerm as a serial monitor When the API hangs, only a single thread will be running, and accessing the API sequentially. I Tried calling lock and unlock too. Even after getting the lock, API hangs. Using the gx_system_canvas_refresh continuously will cause any memory problems which will lead to this issue ? Is there any way i can monitor the Memory Usage in my project ?? Please Help!! Regards
↧