- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Add start state RD_START and GPIF II compile passed.
Change SRAM_READ_COMMAND, CyU3PGpifSMWitch toState to 'RD_START'.
Why tool still reports 'RD_START' can't be resolved?
Solved! Go to Solution.
- Tags:
- initial state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- Please ensure that the cyfxgpif2config.h file is getting updated after you build it from the GPIF II designer.
- From your project, I could find that there are two cyfxgpif2config.h files. The cyfxsrammaster.c file has the include statement that identifies the cyfxgpif2config.h file in its own directory. But, the GPIF II designer generates the cyfxgpif2config.h file in img_cpif.cydsn folder. Please modify the Build settings in the GPIF II designer to point to the same directory as cyfxsrammaster.c file.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- Please ensure that the cyfxgpif2config.h file is getting updated after you build it from the GPIF II designer.
- From your project, I could find that there are two cyfxgpif2config.h files. The cyfxsrammaster.c file has the include statement that identifies the cyfxgpif2config.h file in its own directory. But, the GPIF II designer generates the cyfxgpif2config.h file in img_cpif.cydsn folder. Please modify the Build settings in the GPIF II designer to point to the same directory as cyfxsrammaster.c file.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Srinath,
Yes, there are two cyfxgpif2config.h.
One is symbolic link of real config file inside cydsn folder.
So EZ USB Suite doesn't support symbolic link?
I'll move gpif cydsn project folder outside firmware project folder and point GPIF output location to the firmware project root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Srinath,
Strange I need to modify gpif project file .cyfx to change the output location.
If I click Build - Build Settings or Tools - Options, it will stop responding, have to kill process.
But if I manually changed .cyfx, Build Project is running fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- The srammaster.c file has the below statement for including the GPIF II header file.
#include "cyfxgpif2config.h"
This statement only looks for the header file in the same directory as the srammaster.c file.
- Please explain what you mean by "manually modify the .cyfx file".
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Srinath,
Open img_gpif.cyfx with Notepad++ and change line 26 output folder from ".\" to firmware root folder as below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Srinath,
Found reboot PC can solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for the update. Hope your error in the srammaster.c file is resolved.
Best regards,
Srinath S