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.
Hi all,
I am running into an odd error when trying to add streaming of RTA data to my application. When I use this bit of XDCscript:
var LoggerBufParams = new LoggerBuf.Params;
var logger0 = LoggerBuf.create(LoggerBufParams);
Defaults.common$.logger = logger0;
Things work as expected (Log_print, etc., updates only in stop mode.). Adding this bit of code (before the above code):
var Agent = xdc.useModule('ti.sysbios.rta.Agent');
Agent.transport = Agent.Transport_RTDX;
Works fine in one project (that I built just to demonstrate that this in fact _should_ work), but when I use it in my application that has lots of other bios modules used, I get this error in the log buffer:
Module: DriverAdapter
formattedMsg: ERROR: "<String @0>", line 0: create policy error
And the program terminates. I am not sure what is causing this problem or even where to start debugging (DriverAdapter module? What is that?). Anyone seen this before or have any suggestions?
-Brady
I am using: XDCTools 3.20.06.81, CGT 7.0.4, CCSv 4.2.1.00004 , SYS/BIOS 6.31.02.23 and CSL for the C6457.
Can you please send across the .cfg file for the project that is giving you this problem?
Thanks,
-Karl-
That's the ti.sdo.io.converters.DriverAdapter module, and it's part of the RTDX driver's interaction with the ti.sdo.io.Stream interface.
I can't seem to find that particular error anywhere, but I'm guess it's complaining that dynamic creates are not supported.
In your .cfg script, do you see the term "STATIC_POLICY" anywhere?
Thanks,
Chris
Chris,
I did have STATIC_POLICY set as I have no other dynamically created objects. Removing that line did get RTA streaming working.