- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
that helped.
Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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