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.

Ti-RTOS CC3200 app append to flash file issue

Hello Everybody,

I have created a file on flash (ROM).
I am writing 4 bytes to file (offset 0) and after that i am trying to write again 4 bytes from offset 4.

For example:

index - 0 1 2 3 4 5 6 7 ...

data   - 4 3 2 1 4 3 2 1 ...

Code example:

unsigned char buff[] = {4,3,2,1}; 

File Open...

sl_FsWrite(*lFileHandle, 0, (unsigned char *)buff, 4);

sl_FsWrite(*lFileHandle, 4, (unsigned char *)buff, 4);

When i read the data i get:

index - 0      1        2      3       4 5 6 7 ...

data   - 255   255 255  255   4 3 2 1 ...

Any suggestions?