Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > emMemory can't find MMC_X_HW.h but it is there

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



emMemory can't find MMC_X_HW.h but it is there
Moderator:
JFMD

Post Reply
Follow this topic



emMemory can't find MMC_X_HW.h but it is there

Johnspark posted on 06 Feb 2012 10:24 PM PST
Member
8 Forum Posts

Dear Cypress community, I tried the new SD memory communications module for PSoC5.

When I tried to build the project with this module, i got MMC_X_HW.h not there fatal error type 1.

I checked directories for the unizipped downloaded file and found it. Then dropped into the header file but still Creator 2.0 could not find it. Am I doing something wrong? the steps to install the module seemed relatively straightforward. 

Cheers.




Re: emMemory can't find MMC_X_HW.h but it is there

RJEN posted on 06 Feb 2012 11:25 PM PST
Cypress Employee
6 Forum Posts


Re: emMemory can't find MMC_X_HW.h but it is there

RJEN posted on 06 Feb 2012 11:41 PM PST
Cypress Employee
6 Forum Posts


Re: emMemory can't find MMC_X_HW.h but it is there

RJEN posted on 06 Feb 2012 11:50 PM PST
Cypress Employee
6 Forum Posts

Sorry! My post are not visible on this post.

 

Let me figure out what is the issue.



Re: emMemory can't find MMC_X_HW.h but it is there

RJEN posted on 06 Feb 2012 11:58 PM PST
Cypress Employee
6 Forum Posts

Hello,

 

You have to take care of 2 important things:

1. *.h files inclusion in Compiler include directory. Don't alter the original directory structure of component library files.

2. LinkLibrary inclusion in linker settings of the project. Be Careful about your compiler settings.

 

You need to download these files from Cypress website. Link mentioned on the first page of component datasheet.

 

For details; refer "Creating an emFile Project for a PSoC5 Application" section of component datasheet.

 

You can even start with emFile example project in PSoC Creator. You can find the same at File-> Open->Example Project.. and select emFile example project.

 

Tell me, if you are not able to make it with above suggestions.

 

Refer screen shot for component library files needed with this component.

 

Thanks,

RJEN

 



Re: emMemory can't find MMC_X_HW.h but it is there

RodneyE posted on 03 Apr 2012 07:45 PM PST
Member
6 Forum Posts

I too have encountered this problem. Looking at the "Creating an emFile Project for a PSoC3 Application" section of the emFile component data sheet, you will notice that step two has you add additional include directories to your project. This step is missing from the description for a PSoC5 project. If you add this step, you will get the following error instead:

..\emFile_V322\Code\Include\PSoC5/FS_ConfDefaults.h:26: fatal error: FS_Conf.h: No such file or directory

I cannot say that this is an improvement. Can someone from Cypress please confirm that they have actually sat down and followed the instructions in the PSoC5 section of the component data sheet line for line, and ended up with a project that compiles successfully.

 

 - R



Re: emMemory can't find MMC_X_HW.h but it is there

RodneyE posted on 03 Apr 2012 07:54 PM PST
Member
6 Forum Posts

Problem solved.

The two additional steps that are required are to:

1. Add the "..\emFile_V322\Code\Include\PSoC5" directory to  "Compiler -> General -> Additional Include Directories"

2. Add the subdirectory that contains the FAT/OS option you require. In my case that means I have to add the directory

 "..\emFile_V322\Code\Include\PSoC5\emf32nOS" to the same place as above. HTH






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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20