Other Parts Discussed in Thread: CC2652RB
Tool/software: Code Composer Studio
Hello,
I am interfacing SD card with cc2652RB LP.
How can i write a text file with characters into the sd card?
Thanks,
shivam
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.
Tool/software: Code Composer Studio
Hello,
I am interfacing SD card with cc2652RB LP.
How can i write a text file with characters into the sd card?
Thanks,
shivam
How can i write incoming characters from uart into a sd card?
I have tested uart data transfer and sd card interface.
Hello Shivam,
You can for example use a Linked List
#include <ti/drivers/utils/List.h>
Driver Utilities -> List.h
https://dev.ti.com/tirex/explore/node?node=AP24VgJ7gbuZWQrdF16tIg__pTTHBmu__LATEST
You can refer to how it is used in the serial socket implementation:
Thanks for the link sir, further is it possible to edit the fatsd code to store the incoming characters from uart into sd card?
Where i need to change to write in the input.txt file. Is it okay to write in fwrite function and what changes i need to make in them ?
I am new to this programming environment.
How can i understand simple serial socket server example code given in the link sent by you?
I have tried to club uart echo and fatsd code but unable to get the desired result.
I am getting following warning:
Description Resource Path Location Type
#112-D statement is unreachable fatsd_nortos.c /fatsd_CC2652RB_LAUNCHXL_nortos_ccs line 141 C/C++ Problem
below is the statement
src = fopen(inputfile, "r");
Now no input file is being created, but earlier when i was using only fatsd code , file was created.