I use ezsdk5.5 on DM8168,and run the syslink examples.
I change the App.c in the ex04_sharedregion folder.I use stringmessage to substitute the TI_STR:
#define TI_STRSIZE 1920*540
Char stringmessage[TI_STRSIZE];
sprintf(Module.bufferPtr,"%s",stringmessage);
I calculate the run time,It take 858ms:
--> App_create:
App_create: Host is ready
<-- App_create:
--> App_exec:
App_exec: Writing string "texas instruments" to shared region 1 buffer
App_exec: Command the remote core to convert the lowercase string to uppercase
App_exec: Received-> Operation complete 0.858856
<-- App_exec:
--> App_delete:
App_delete: Cleanup complete
<-- App_delete:
<-- Main_main:
<-- main:
+ ./slaveloader shutdown DSP
Stopped slave procId 0.
Unloaded slave procId 0.
I only change the size of the string to 1920*540,which is 1/4 of the whole 1920*1080 YUYV image size.
Why the DSP take so much time?
How to accelerate the memory access speed of syslink?