EDIT : I also tried with FAT16 and 32 (and of course I changed the config in build settings every time)
Yes I followed every step of this installation, that's the first thing that I did but then I got the problems that I have specified above. The settings are good I verified that I did not do a mistake with the name of the library in the build settings but everything is like in the datasheet and it does not work I don't know why
> Yes I followed every step of this installation..
Oh, OK, I'm sorry for my short sight.
But at least I could not find MMC_MCI_HW.h in your attached project.
Note: I could not open the rar file.
Anyway, assuming that you have installed the library, there must be those files from emFile_V3222c, right?
Then I think that you need to add include path and link library path to you build settings.
In the Build Settings > ARM GCC .. > Compiler > General
Select Additional Include Directories
Add a couple of paths, where you put the library and in the library the type you chose
Then in the Linker > General Tab
select Additional Library Directories
Then I added additional Libraries according to the type chosen
Note: The name of Additional Libraries, we must remove "lib" in the beginning of the library name
and ".a" at the end of the library name.
So "libemf16noslfn.a" will end up "emf16nosfln"
With these modifications, I could compile the project
Sadly I did these too and it does not work, here I send you the screenshots and the rar file but in zip now, I hope it will work.
I really don't understand why it does work on your example but not mine. The emFile are in my PSoC Creator directory (apparently named pzoc in the settings
I’ll try your file later, but for the time being would you
(1) check if the path name contains space or non standard ascii letters
such as Chinese letter, Japanese letter, German specific letter etc.
(2) path length is not too long
I download your zip file and I placed the emFile_V322c folder next to the Memoire_question
Then your project could be built without any modification(s)
So I think that the config settings are fine.
May be you need to "clear" then "build" your project.
Otherwise, I would suspect path name problem or path name(s) are too long.
GPS_190805.cyprj.Archive01.zip 652.5 K
I followed your advice and change the path and put it directly at the base of my C:/ directory. It compiled without error.
But the code still does not work, now it still see the SD card as "mmc:0" (I changed the name to "UMTS" to be sure that it was visible).
And of course fails each step of the example.
So I guess it does not see my sd card and I can't figure out why.
I tried to measure the voltage on the pins (with voltmeter in DC mode, I don't have an oscilloscope), and apart the CS pin that is almost to 5v (should be 3.3V I don't understand why the psoc put it to 5v) the others pins are 20-30mV. I am not familiar with SPI, so I couldn't say if it's normal or not.
1 of 1 people found this helpful
I'm glad that at least you could compile the project.
Now you are asking something else and the question may not be a simple one.
I would suggest and/or ask you to create a new discussion
with a title which reflects your current problem
so that more people can find the topic and help you.
(I may also be going to try it tomorrow, but not now)
Thanks, I will open a new topic and put the link to it here once (I hope it will) it is working.