KDS V2.0.0 Component FatDsMemSDHC seems to be broken

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KDS V2.0.0 Component FatDsMemSDHC seems to be broken

585 Views
ChrisTango
Contributor IV

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:

20086_20086.png2015-02-21 22_48_41-Processor Expert - Test002_Sources_mqx_tasks.c - Kinetis Design Studio - C__User.png

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:

20087_20087.png2015-02-21 23_59_03-C_C   - Test002_Sources_mqx_tasks.c - Kinetis Design Studio - C__Users_Christian.png

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

Labels (1)
0 Kudos
5 Replies

369 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos

369 Views
ChrisTango
Contributor IV

Hi Erich,

I think this doesn't matter anymore; but these are the versions I'm using:

2015-02-23 20_56_05-.png

How can I apply the update by git. Just download the Zip, extract and reference by the following setting?

2015-02-23 21_01_29-.png

Beside, I used your Datalogger tutorial for the SD card component, which worked fine. :smileywink:

Best regards,

Chris

0 Kudos

369 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos

369 Views
ChrisTango
Contributor IV

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

0 Kudos

369 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos