cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hello,

   

I want to change the GPIF Configuration during runtime.

   

I read in the manual, that i have to use

   

CyU3PGpifDisable(CyTrue)

   

to force a reload, before doing a new CyU3PGpifLoad().

   

But everytime i call CyU3PGpifDisable(CyTrue),

   

my firmware crashes.

   

 

   

What coulde be wrong?

   

 

   

Best regards

   

g.

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

   

use the new release version 1.0.1 of the FX3 SDK there was a bug fix in this case.

   

 

   

Or use these two lines instead of GpifDisable(CyTrue)

   

 

   

        CyU3PGpifDisable (IS_FALSE);
        memset ((void *) 0xe0014000, 0, 0x1000);
 

   

this resets the GPIF configuration at all.

   

 

   

Regards,

   
   

lumpi

0 Likes
Anonymous
Not applicable

that helped.

   

Thank you !

0 Likes
Anonymous
Not applicable

But is it mandatory to force the reload using GpifDisable(CyTrue)? In my application I am using GpifDisable(CyFalse) but then reload the configuration anyway using CyU3PGpifLoad(). So far it is working fine.

   

 

   

-Silvio

0 Likes