You are here

Debug and release Issue | Cypress Semiconductor

Debug and release Issue

Summary: 3 Replies, Latest post by pvkv on 18 Jun 2015 02:02 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
bigvolcan's picture
8 posts


I have a code when I compile it in debug mode it works without   any error but when I compile it to release mode the Fx3 crashes and didn't respond to commands that I send from computure  

what's wrong !!!!!!



user_1377889's picture
10803 posts

In C-Language there might be a common fault when optimizing, which exactly is what the "Relese" settings are good for.

Have a look into this C-manual concerning "volatile"



bigvolcan's picture
8 posts

Hi bob 


I need  solution to reduce Fx3 latency


now  I have in interrupt pin <pin21> when it  set FX3 enter in interrupt routine and  disable the system


in short time no more than 850 ns  but now it takes  12 us !!!! 


 the interruption call back function is below   



 void CyFxGpioIntrCb (

        uint8_t gpioId /* Indicates the pin that triggered the interrupt */



    CyBool_t gpioValue = CyFalse;

    CyU3PReturnStatus_t apiRetStatus = CY_U3P_SUCCESS;

    uint8_t data;

    apiRetStatus = CyU3PGpioSetValue (19, CyFalse);




pvkv's picture
Cypress Employee
82 posts


Are you using Cypress USB device ? If yes, can you post here to get answers quickly ?



Log in to post new comments.