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
Hi,
Is there an example of how to configure a memory of 16 bits using GEL files.
If not, How I can do?
There is WR_MEM_32 and RD_MEM_32 which they are for 32 bits... using unsigned int.
Thanks in advance for the help..
Best regards,
Efrain
Efrain,
Just to clarify, WR_MEM_32 and RD_MEM_32 are not natively defined functions in GEL scripting but functions that are defined in the GEL for the device. The syntax to read and write from memory is the same as what you do in C code. you can read and write from memory using (short *) .For example if you want to write value 0xFF00 in address location 0x00001000 use the following
*(short *)0x00001000 = 0xFF00;
To write to next 16 bit address, you can use :
*(short *)0x00001002 = 0xFF00;
Hope this helps.
Regards,
Rahul
Efrain, please read the EMIF tools app note for AM43xx to configure the DDR for your specific board, and then plug in the resulting values into the GEL
http://www.ti.com/tool/SITARA-DDR-CONFIG-TOOL
Regards,
James