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.

CCS/IWR6843ISK-ODS: mmwave studio LUA shell RSTD.NetStart issue

Part Number: IWR6843ISK-ODS

Tool/software: Code Composer Studio

Hi

When I try to use RSTD.NetStart instruction in LUA shell. It returns a message as following:

I also modify the mmWaveStudio.exe.config line 5 from name="RTTT.Properties.Settings to name="RSTD.Properties.Settings, but the error still exists.

How should I do for this issue?

Ernie

  • Former Member
    0 Former Member

    Hello,

    Can you please try the latest version of Studio 2.1? I have tested it and RSTD.NetStart() is called in the Startup script automatically. You do not need to enter it in the LUA shell. 

    In the output window you can see: 

    RstdNet: Port 2777: Listening..

    as the response after launch mmWave Studio.

    Amanda

  • Hi

    But the version of Radar board is ES1.0. The Studio 1.0 seems that only support ES2.0?

    Ernie

  • Former Member
    0 Former Member in reply to Ernie

    Ernie,

    I was able to use v 2.0 with modification to the .config file. As specified in this thread: e2e.ti.com/.../2627526

    I've attached the file I used.

    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <section name="RSTD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <userSettings>
            <RSTD.Properties.Settings>
                <setting name="MainConsolePosition" serializeAs="String">
                    <value>50, 50</value>
                </setting>
                <setting name="MainConsoleSize" serializeAs="String">
                    <value>625, 566</value>
                </setting>
                <setting name="MainConsoleZoomFactor" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="MainConsoleFilterExclude" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastScriptsRun" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastTreePath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastMonitorPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="BrowseTreeSize" serializeAs="String">
                    <value>854, 582</value>
                </setting>
                <setting name="BrowseTreePosition" serializeAs="String">
                    <value>343, 338</value>
                </setting>
                <setting name="LastScriptPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastDllPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="MainConsoleFilterInclude" serializeAs="String">
                    <value/>
                </setting>
            </RSTD.Properties.Settings>
        </userSettings>
    	<runtime>
    		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    			<dependentAssembly>
    				<assemblyIdentity name="LuaInterface" publicKeyToken="1E1FB15B02227B8A" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-2.2.3596.32777" newVersion="2.2.3596.32777"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RtttRemoting" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-1.0.3700.35917" newVersion="1.0.3700.35917"/>
    			</dependentAssembly>
    		</assemblyBinding>
            <loadFromRemoteSources enabled="true"/>
    	</runtime>
    <startup useLegacyV2RuntimeActivationPolicy="true">
      <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    </configuration>
    
    

    Can you replace it and see if it works for you. You should see the RstdNet: Port 2777: Listening.. response in the output panel after giving the command in the Lua Shell.

    Please provide the message shown in the output panel if you are still not able to get it to work.

    AManda

  • Hi Amanda

    I have replaced the mmWaveStudio configure file on my PC. However, the mmWave Studio can't be used after replacing the configure file.

    The attachment is my configure file. The difference between our configure is from line 71.

    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <section name="RSTD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <userSettings>
            <RSTD.Properties.Settings>
                <setting name="MainConsolePosition" serializeAs="String">
                    <value>50, 50</value>
                </setting>
                <setting name="MainConsoleSize" serializeAs="String">
                    <value>625, 566</value>
                </setting>
                <setting name="MainConsoleZoomFactor" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="MainConsoleFilterExclude" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastScriptsRun" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastTreePath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastMonitorPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="BrowseTreeSize" serializeAs="String">
                    <value>854, 582</value>
                </setting>
                <setting name="BrowseTreePosition" serializeAs="String">
                    <value>343, 338</value>
                </setting>
                <setting name="LastScriptPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastDllPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="MainConsoleFilterInclude" serializeAs="String">
                    <value/>
                </setting>
            </RSTD.Properties.Settings>
        </userSettings>
    	<runtime>
    		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    			<dependentAssembly>
    				<assemblyIdentity name="LuaInterface" publicKeyToken="1E1FB15B02227B8A" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-2.2.3596.32777" newVersion="2.2.3596.32777"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RtttRemoting" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-1.0.3700.35917" newVersion="1.0.3700.35917"/>
    			</dependentAssembly>
    		</assemblyBinding>
            <loadFromRemoteSources enabled="true"/>
    	</runtime>
    <startup useLegacyV2RuntimeActivationPolicy="true">
      <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    </configuration>
    
    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <section name="RSTD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <userSettings>
            <RSTD.Properties.Settings>
                <setting name="MainConsolePosition" serializeAs="String">
                    <value>50, 50</value>
                </setting>
                <setting name="MainConsoleSize" serializeAs="String">
                    <value>625, 566</value>
                </setting>
                <setting name="MainConsoleZoomFactor" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="MainConsoleFilterExclu<?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <section name="RSTD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <userSettings>
            <RSTD.Properties.Settings>
                <setting name="MainConsolePosition" serializeAs="String">
                    <value>50, 50</value>
                </setting>
                <setting name="MainConsoleSize" serializeAs="String">
                    <value>625, 566</value>
                </setting>
                <setting name="MainConsoleZoomFactor" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="MainConsoleFilterExclude" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastScriptsRun" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastTreePath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastMonitorPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="BrowseTreeSize" serializeAs="String">
                    <value>854, 582</value>
                </setting>
                <setting name="BrowseTreePosition" serializeAs="String">
                    <value>343, 338</value>
                </setting>
                <setting name="LastScriptPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="LastDllPath" serializeAs="String">
                    <value/>
                </setting>
                <setting name="MainConsoleFilterInclude" serializeAs="String">
                    <value/>
                </setting>
            </RSTD.Properties.Settings>
        </userSettings>
    	<runtime>
    		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    			<dependentAssembly>
    				<assemblyIdentity name="LuaInterface" publicKeyToken="1E1FB15B02227B8A" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RTTT.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-2.2.3596.32777" newVersion="2.2.3596.32777"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="RtttRemoting" publicKeyToken="51101D49406257D3" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-1.0.3700.35917" newVersion="1.0.3700.35917"/>
    			</dependentAssembly>
    		</assemblyBinding>
            <loadFromRemoteSources enabled="true"/>
    	</runtime>
    <startup useLegacyV2RuntimeActivationPolicy="true">
      <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    </configuration>

    Ernie

  • Former Member
    0 Former Member in reply to Ernie

    Hello Ernie,

    Can you try uninstall and then reinstall mmWave Studio and then replacing the file or making the changes as I have in my attached file?

    Make sure you manually delete the RSTD folder as a whole present in the  C:\Users\<username>\AppData\Roaming location before you reinstall.

    Amanda

  • Hi I try to uninstall and then reinstall mmWave Studio and then replacing the file or making the changes as you mention above, and I also try the issue as follows: 

    https://e2e.ti.com/support/sensors/f/1023/t/671275?tisearch=e2e-quicksearch&keymatch=awr1243boost:%20Radar%20studio%20automation

    But the error still exists, the return is the same as 

    >RSTD.NetStart
    ans=Lua511.LuaCSFunction

    Does it mean the function has a problem? or the port 2777 has been used so I can't use it?

    Ernie

  • Former Member
    0 Former Member in reply to Ernie

    You need to be invoking it as a function RSTD.NetStart();  you're using only RSTD.NetStart