Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: LoggerSM overwrite

$
0
0

Hello everybody,

First, here is what I work on : DSP C6678
software:   CCS v.6
packages: xdc 3.25.3.72,  SYS/BIOS 6.37.1.24,  UIA 1.4.0.06

I work on the loggerSM module. I used the TI loggersm example(evmti816x) and functions to use it on my board (DSP C6678). More precisely I use the LoggerSM_dumpSharedMem() and LoggerSM_run() functions.

My problem relates to the overwrite parameter.

In my case I run on a single core (one partition for loggerSM) and I have many events that are written in my shared memory buffer (defined in my conf using LoggerSM.bufSection and loggerSM.sharedMemorySize). I use the overwrite to keep the latest logs in my shared memory and after running my program I can notice that they are correctly written over olds one. 

But after retrieving the binary file from the Linux side (LoggerSM.decode = FALSE), it can't be read by System Analyzer.
In addition, when I use the decode parameter to TRUE value, I can see that only the first event is dumped in the console (others aren't displayed and the console bug next).

If someone could give me a hand?

Thanks,

Nad


Viewing all articles
Browse latest Browse all 25965

Trending Articles



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