Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/OMAP-L138: OMAP L-138 problem of writing a file

$
0
0

Part Number:OMAP-L138

Tool/software: Linux

Hello

I'm working in Linux in the AWM kernel
I have a problem
I have 2 applications. The first of them exchanges data with the DSP core via DSPLINK. The second one writes the file to the SD card
Both applications run simultaneously
When the file size is more than 40MB, the first application closes abnormally. The file stores the contents of DSP memory

File writing program
Char rec_buf [2048];

I open the File so
ResultFile = open (name, O_RDWR | O_CREAT | O_APPEND, 0640);
I write down a file so

For (i = 0; i <30000; i ++)
    Test_a = wrote (resultFile, rec_buf, function strlen (rec_buf));
Close (resultFile);


Why there is a conflict of DSP memory and AWP cores


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>