Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > CyU3PGpifDisable

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



CyU3PGpifDisable
Moderator:
RSKV

Post Reply
Follow this topic



CyU3PGpifDisable

gd_net posted on 20 Mar 2012 6:54 AM PST
Senior Member
17 Forum Posts

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.




Re: CyU3PGpifDisable

Lumpi6 posted on 20 Mar 2012 08:29 AM PST
Top Contributor
183 Forum Posts

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



Re: CyU3PGpifDisable

gd_net posted on 20 Mar 2012 10:13 AM PST
Senior Member
17 Forum Posts

that helped.

Thank you !

 



Re: CyU3PGpifDisable

Sil posted on 11 Apr 2012 10:57 PM PST
Top Contributor
93 Forum Posts

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






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.