Hello everybody,
I tried to generate code for file operations on my FRDM-K64F board.
Unfortunately the component seems to be broken or not up-to-date.
Firstly I got these errors with PE:
I fixed this manually and got my generated code.
Next I implemented a code to open a file then I got these erros during compiling:
I looked at the code and these functions are missing, but seem to be replaced by other ones.
Does anyone has a fixed version of this component or an easy way to use the sd card on this board?
Best regards,
Chris
Hi Chris,
indeed, the conditions were wrong. I have fixed it in the following commit:
https://github.com/ErichStyger/McuOnEclipse_PEx/commit/388b6af305847bb044b1522181f93a133fa42e5b
Let me know if you could apply that change on your side, or if you can wait for the next release of the components.
Erich
Hi Erich,
I think this doesn't matter anymore; but these are the versions I'm using:
How can I apply the update by git. Just download the Zip, extract and reference by the following setting?
Beside, I used your Datalogger tutorial for the SD card component, which worked fine. :smileywink:
Best regards,
Chris
Hi Chris,
See the change in
https://github.com/ErichStyger/McuOnEclipse_PEx/commit/388b6af305847bb044b1522181f93a133fa42e5b
You can do the same change in your file on your machine. It is here:
C:\ProgramData\Processor Expert\PEXDRV_PE5_3\Drivers\sw\FatFsMemSDHC.drv
Erich
Hello everybody,
When I'm using the SD card component then I can overcome this issue; but well I'm bound to SD cards only.
Anyway that's fine for me now.
Perhaps someone knows more about the issues from the SDHC component.
-Chris
Hi Chris,
I need to check this (I have not used the SDHC for a longer timer).
Are you using KDS V2.0.0 with the latest components from SourceForge (McuOnEclipse - Browse /PEx Components at SourceForge.net)?
Erich