This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK efs_fwrite() missing

Other Parts Discussed in Thread: AM3359

Hello, my name is Raul and I am new here.

 

We are using SYS/BIOS with NDK 2.24.01.18 on a Sitara AM3359 and we have following problem.

We want to write to a file in the efs. But there is no functionality in the efs_fwrite() function located in efs.c.

The description says: Nothing in the stack package requires write capability, thus this function always returns zero.

 

At the moment we write to a file like this:

efs_createfile("config_data.txt", 59, (UINT8 *)configFileBuffer);

And using the configFileBuffer to add settings.

 

But this is not really secure because write access and read access can happen in the same moment.

So a secure method to write to a efs file would be nice :).

 

Thanks in advance.

 

Kind regards,

Raul

 

Code Composer Version: 6.1.0.00104

SYS/BIOS 6.41.00.26

XDCTools 3.31.00.24 core

NDK 2.24.01.18