Other Parts Discussed in Thread: TMS320C6678
Hi,
i use the TMS320C6678 and i like to make a program that send a message from core 0 to core 1 using shared region and semaphore hardware.
i have finished the first step conserning the synchronization of tow cores using semaphore hardware, but i can't send message ( I think that my problem can be solved by using Cache , any idea?). Can any one help me please?
---- my ".cmd" file :
MEMORY{
MSMCRAM o = 0x0C000000 l = 0x003FFFFF
L2RAM o = 0x10800000 l = 0x0007FFFF
}
SECTIONS
{
.flags : > MSMCSRAM
.L2mem : > L2SRAM
}
---- my ".c" file :
#pragma DATA_SECTION(message,".flags");
MESSAGE message;
#pragma DATA_SECTION(message_received,".L2mem");
MESSAGE* message_received;
after creating my message i use this line " message_received = &message; " to give access to core 1 to my message.
thanks.