Tool/software: Code Composer Studio
We used CCS to design FR2433 code. Now we want to define an array of 256 bytes at the specified FRAM address, such as 0xFA00. But we don't know how to write this code. Can you give us an example?thanks
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
We used CCS to design FR2433 code. Now we want to define an array of 256 bytes at the specified FRAM address, such as 0xFA00. But we don't know how to write this code. Can you give us an example?thanks
Hi, Hope this application notes: http://www.ti.com/lit/an/slaa628/slaa628.pdf
I wrote the following code according to the prompt in the document, but the debugging found that the address of the data group was not there. Is this code correct?
#pragma DATA_SECTION(my_data,".text");
#pragma location =0xFA00
const unsigned char my_data[256]={};
In case there is no issue on the debugging, I will close this thread. Thanks