You are here

FX3 RTOS Error handle appears when I call my function | Cypress Semiconductor

FX3 RTOS Error handle appears when I call my function

Summary: 2 Replies, Latest post by eAR on 17 Dec 2014 04:35 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
tiboy's picture
15 posts
I failed called a user-defined functions in the Callback function to handle the USB vendor requests and an RTOS error handler appeared.

The user-defined functions used to handle the i2c and GPIO and was successful run in other place like main(),sys_init()
My thread stack size was changed to 8192KB but not help.
Please help!


PRAG's picture
Cypress Employee
173 posts

 Do you not see this error when you do not call your functions in the vendor command handling code?

Can you share your code here? We can try to replicate it here and check.

user_413379464's picture
31 posts

Putting the return values through UART interface is vital. You can zero in on the issue as there are wide range of error codes available. 

Considering your situation I feel you have issues related to variables' scope which you pass to those functions. Also make sure you know the areas where error handlers for RTOS are placed in your code. 

Log in to post new comments.