<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>FreeMASTERのトピックRe: FreeMASTER Lite Tutorial &amp;amp; Example Code Issue  - Jupyter Notebook #1328826</title>
    <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1942280#M1803</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225755"&gt;@CY9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;FreeMASTER Lite includes separate examples for Python and NodeJS. Note that, functionality-wise, they are identical.&lt;/P&gt;
&lt;P&gt;The one you are referring to does use JavaScript as programming language. For Python, please refer to the Jupyter notebook from `&lt;EM&gt;&lt;STRONG&gt;scripting examples\Python&lt;/STRONG&gt;&lt;/EM&gt;` directory.&lt;/P&gt;
&lt;P&gt;JavaScript kernel - if you ran the `npm install` command as specified in README IJavascript should have been already installed on your workstation. (we will add these details in the README).&lt;/P&gt;
&lt;P&gt;Protocol version error - &lt;SPAN&gt;'protVer': 3, means that FreeMASTER Driver running on MCU is using protocol version 3 (which is currently the latest one available for&amp;nbsp;&lt;/SPAN&gt;S32K1). It does not mean that there are any issues with your application. It means that some new functions introduced in protocol version 4 will not be available - core FreeMASTER functionality is there so you can still monitor &amp;amp; control the embedded application. Additionally, FreeMASTER (desktop tool) is fully backward compatible with older version of the protocol running on the MCU.&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2024 12:55:06 GMT</pubDate>
    <dc:creator>iulian_stan</dc:creator>
    <dc:date>2024-08-28T12:55:06Z</dc:date>
    <item>
      <title>FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1942080#M1802</link>
      <description>&lt;DIV&gt;First of all,&lt;/DIV&gt;&lt;DIV&gt;I am trying to run FreeMaster Example code of Jupyter Notebook for &lt;U&gt;NodeJS:&lt;/U&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;installed on `C:\NXP\FreeMASTER 3.2\FreeMASTER Lite\scripting examples\NodeJS\FML_NodeJS.ipynb`&lt;/DIV&gt;&lt;DIV&gt;But the code seems like Javascript , not Python !?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So, Should I install JavaScipr Kernel before running this example ?&lt;/DIV&gt;&lt;DIV&gt;Which JavaScript Kernel should I install ?&lt;/DIV&gt;&lt;DIV&gt;1.&amp;nbsp;IJavascript , 2. jp-kerne, 3. NeluKernelu, 4. TSLab, or others ?&lt;/DIV&gt;&lt;DIV&gt;Is it passible to write it into README.md file ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And,&amp;nbsp; for python code on Jupyter&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;I am having similar issue with&amp;nbsp;&lt;A href="https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue/m-p/1328826" target="_blank" rel="noopener"&gt;This Page&lt;/A&gt;.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Fail on Win11 platform and S32K144 uC. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there anything I am missing ?. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;data = await SendRequest(ws, 'GetDetectedBoardInfo')
## print('Detected board info: ' + data)  ## Error: TypeError: can only concatenate str (not "dict") to str
print('Detected board info: ')
print(data)​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;Detected board info: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{'protVer': 3, 'cfgFlags': 0, 'dataBusWdt': 1, 'globVerMajor': 2, 'globVerMinor': 0, 'cmdBuffSize': 60, 'recBuffSize': 512, 'recTimeBase': 16384, 'descr': [83, 51, 50, 120, 120, 32, 70, 114, 101, 101, 77, 65, 83, 84, 69, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0]}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'protVer'=3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is this meaning my protocol version=3?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for param=`GetDetectedBoardInfo` work fine.&lt;/P&gt;&lt;P&gt;but...&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;data = await SendRequest(ws, 'GetConfigParamString', "VS", 20)
print('Application version: ' + data)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Exception &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Traceback (most recent call last)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cell In[11], line 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;----&amp;gt; 1 data = await SendRequest(ws, 'GetConfigParamString', "VS", 20)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2 print('Application version: ' + data)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cell In[5], line 9, in SendRequest(ws, method, *args)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return response.result['data']&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; else:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;----&amp;gt; 9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; raise Exception(response.result['error'])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;10 else:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;11 &amp;nbsp; &amp;nbsp; raise Exception(response.message)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Exception: {'code': 2147483923, 'message': 'This feature is only available on devices supporting protocol v4 and later.'}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Query application name.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Note: this API endpoint was added in &lt;FONT color="#FF6600"&gt;protocol version &lt;U&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;. For older versions use GetDetectedBoardInfo.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;「...was added in &lt;/SPAN&gt;&lt;SPAN&gt;&lt;U&gt;`protocol version &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;`」&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;? but my 'protVer'=3?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically, all `&lt;SPAN&gt;&lt;U&gt;GetConfigParamString&lt;/U&gt;` cause exception.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Should I remark all&amp;nbsp;`&lt;SPAN&gt;GetConfigParamString` code ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;So, how to upgrade to&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#FF6600"&gt;protocol version &lt;U&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/SPAN&gt; ?&amp;nbsp; on uC? on Win11?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Aug 2024 09:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1942080#M1802</guid>
      <dc:creator>CY9</dc:creator>
      <dc:date>2024-08-28T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1942280#M1803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225755"&gt;@CY9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;FreeMASTER Lite includes separate examples for Python and NodeJS. Note that, functionality-wise, they are identical.&lt;/P&gt;
&lt;P&gt;The one you are referring to does use JavaScript as programming language. For Python, please refer to the Jupyter notebook from `&lt;EM&gt;&lt;STRONG&gt;scripting examples\Python&lt;/STRONG&gt;&lt;/EM&gt;` directory.&lt;/P&gt;
&lt;P&gt;JavaScript kernel - if you ran the `npm install` command as specified in README IJavascript should have been already installed on your workstation. (we will add these details in the README).&lt;/P&gt;
&lt;P&gt;Protocol version error - &lt;SPAN&gt;'protVer': 3, means that FreeMASTER Driver running on MCU is using protocol version 3 (which is currently the latest one available for&amp;nbsp;&lt;/SPAN&gt;S32K1). It does not mean that there are any issues with your application. It means that some new functions introduced in protocol version 4 will not be available - core FreeMASTER functionality is there so you can still monitor &amp;amp; control the embedded application. Additionally, FreeMASTER (desktop tool) is fully backward compatible with older version of the protocol running on the MCU.&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 12:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1942280#M1803</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-08-28T12:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943081#M1805</link>
      <description>&lt;P&gt;Dear&amp;nbsp;iulian_stan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(base) C:\Users\%UserNAme%\Documents\FreeMASTER Lite\scripting examples\NodeJS&amp;gt; npm i

&amp;gt; freemaster-jsonrpc-api@1.0.0 postinstall
&amp;gt; npm i -g ijavascript &amp;amp;&amp;amp; ijsinstall

npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\ProgramData\\anaconda3\\node_modules\\.ijavascript-P4cT8Jzn',
npm WARN cleanup [Error: EPERM: operation not permitted, unlink 'C:\ProgramData\anaconda3\node_modules\.ijavascript-P4cT8Jzn\node_modules\zeromq\prebuilds\win32-x64\node.abi108.node'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'unlink',
npm WARN cleanup path: 'C:\\ProgramData\\anaconda3\\node_modules\\.ijavascript-P4cT8Jzn\\node_modules\\zeromq\\prebuilds\\win32-x64\\node.abi108.node'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]

changed 8 packages in 1s

up to date, audited 4 packages in 7s

1 package is looking for funding
run `npm fund` for details

found 0 vulnerabilities

(base) C:\Users\%UserName%\Documents\FreeMASTER Lite\scripting examples\NodeJS&amp;gt;npm fund
freemaster-jsonrpc-api@1.0.0
`-- https://github.com/sponsors/broofa
`-- uuid@10.0.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running `&lt;SPAN&gt;jupyter notebook` :&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;SendRequest(jrpc,'StopComm')
  .then(() =&amp;gt; console.log('Communication stopped'))
  .catch(err =&amp;gt; console.error(err.message));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Promise { &amp;lt;pending&amp;gt; }&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Parsed TSA contained 0 symbols.
Variable defined successfully.
{
  name: 'adcMeanValue',
  addr: 'adcMeanValue',
  type: 'uint',
  size: 4,
  alias: 'adcMeanValue',
  baseType: { size: 4, indirection: 1, alignment: 4, name: 'uint32' }
}
{
  code: -32603,
  message: 'Internal error. Internal JSON-RPC error.',
  data: 'writeUInt64: no digits we found in input String'
}
{
  code: -32603,
  message: 'Internal error. Internal JSON-RPC error.',
  data: 'writeUInt64: no digits we found in input String'
}
{
  code: -32603,
  message: 'Internal error. Internal JSON-RPC error.',
  data: 'writeUInt64: no digits we found in input String'
}
Communication stopped&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I can NOT find anything define `writeUInt64` in the NodeJS code ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943081#M1805</guid>
      <dc:creator>CY9</dc:creator>
      <dc:date>2024-08-29T06:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943103#M1806</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;fully backward compatible with older version of the protocol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;But, if I didn't remark all&amp;nbsp;`GetConfigParamString` related code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="FreeMasterJupyterPythonException.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295963iFA120B4EF6301065/image-size/large?v=v2&amp;amp;px=999" role="button" title="FreeMasterJupyterPythonException.png" alt="FreeMasterJupyterPythonException.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Jupyter will not executed aby more !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:32:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943103#M1806</guid>
      <dc:creator>CY9</dc:creator>
      <dc:date>2024-08-29T06:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943286#M1808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225755"&gt;@CY9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;From the provided output I can assume the you perform the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read TSA table, but it returns 0 symbols, meaning you dot use TSA (Table Side Addressing) in your embedded application.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Define `adcMeanValue` variable. There's a potential issue in the definition because you are using a symbol name in the `addr` field, but there are no symbols loaded so FreeMASTER won't be able to resolve the variable address.&lt;/LI&gt;
&lt;LI&gt;In the next step I am not sure what call you perform. I can assume that you want to read a 64 bit unsigned variable. If so, your call should look like this:&lt;BR /&gt;&lt;LI-CODE lang="javascript"&gt;SendRequest(jrpc, 'WriteVariable', ['adcMeanValue', 100])
  .then(data =&amp;gt; console.log(data))
  .catch(err =&amp;gt; console.error(err.message));​​&lt;/LI-CODE&gt;
&lt;P&gt;Where :&lt;BR /&gt;'adcMeanValue' is the variable defined in the previous step&lt;BR /&gt;100 is the value to be written&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
another options is&lt;BR /&gt;&lt;LI-CODE lang="javascript"&gt;SendRequest(jrpc, 'WriteUIntVariable', [0x200004cc, 4, 100])
  .then(data =&amp;gt; console.log(data))
  .catch(err =&amp;gt; console.error(err.message));​&lt;/LI-CODE&gt;Where&amp;nbsp;&lt;BR /&gt;0x200004cc is the address, (can be symbol name, but in this case it should be loaded either via ReadTSA or ReadElf&lt;BR /&gt;4 is the size&lt;BR /&gt;100 is the value&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Could you share the code that produced the&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data: 'writeUInt64: no digits we found in input String'&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;error so I can better understand the issue ?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 08:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943286#M1808</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-08-29T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943293#M1809</link>
      <description>&lt;P&gt;Backward compatibility means that newer version of the tool supports older API interfaces or converts the API call to an older format if there is a compatible function.&lt;/P&gt;
&lt;P&gt;In case the new additions to the API that have no compatible functions in the old API a corresponding error&amp;nbsp; is returned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We added notes to the affected Jupyter cells:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;: this API endpoint was added in protocol version 4. For older versions use&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;GetDetectedBoardInfo&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 08:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1943293#M1809</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-08-29T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1944111#M1827</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557" target="_self"&gt;&lt;SPAN class=""&gt;iulian_stan,&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please reference attachment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The strange thing is that readyState is NOT CONNECTED(OPEN), but CONNECTING.&lt;/P&gt;&lt;PRE&gt;WebSocket is not open: readyState 0 (CONNECTING)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should it delay/wait until the `readyState` is OPEN ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 05:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1944111#M1827</guid>
      <dc:creator>CY9</dc:creator>
      <dc:date>2024-08-30T05:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER Lite Tutorial &amp; Example Code Issue  - Jupyter Notebook #1328826</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1944339#M1828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225755"&gt;@CY9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I was able to reproduce your issue - it was related to the variable definition:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var variable = {
    'name': 'adcMeanValue',
    'addr': 'adcMeanValue', &amp;lt;-- this is a symbol name
    'type': 'uint',
    'size': 4
}&lt;/LI-CODE&gt;
&lt;P&gt;FreeMASTER Lite fails to resolve 'adcMeanValue' to an actual address because there is no symbolic information loaded. Eventually it fails due to type mismatch - read operation expects a numeric number but is receives a string (we will fix this behavior in next release).&lt;/P&gt;
&lt;P&gt;To fix this issue you have the following options:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Define the symbol in TSA (in the embedded application)&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;FMSTR_TSA_TABLE_BEGIN(my_tsa_table)
    FMSTR_TSA_RW_VAR(adcMeanValue, FMSTR_TSA_UINT32)
FMSTR_TSA_TABLE_END()

FMSTR_TSA_TABLE_LIST_BEGIN()
    FMSTR_TSA_TABLE(my_tsa_table)
FMSTR_TSA_TABLE_LIST_END()
​&lt;/LI-CODE&gt;
&lt;P&gt;and enable TSA feature in &lt;EM&gt;&lt;STRONG&gt;freemaster_cfg.h&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;#define FMSTR_USE_TSA           1   // Enable TSA functionality​&lt;/LI-CODE&gt;
&lt;P&gt;After this the call to 'ReadTSA' from Jupyter notebook should return 1 symbol.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Replace 'ReadTSA' with 'ReadELF'&lt;BR /&gt;&lt;LI-CODE lang="python"&gt;var count = 0;
SendRequest(jrpc, 'ReadELF', ['path to the elf file']).then(data =&amp;gt; {
    console.log('Parsed TSA contained ' + data.count + ' symbols.');
    count = parseInt(data.count);
});​&lt;/LI-CODE&gt;
&lt;P&gt;Note: after either of the above functions you should be able to find `adcMeanValue` among parsed symbols:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;for (var i = 0; i &amp;lt; count; ++i) {
    SendRequest(jrpc, 'EnumSymbols', [i]).then(data =&amp;gt; console.log(data));
}​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Define the variable using a numeric value:&lt;BR /&gt;&lt;LI-CODE lang="python"&gt;var variable = {
    'name': 'adcMeanValue',
    'addr': 0x2000abcd, // this value can be found in the .map file produced by the compiler
    'type': 'uint',
    'size': 4
}
SendRequest(jrpc, 'DefineVariable', [variable])
  .then(() =&amp;gt; console.log('Variable defined successfully.'))
  .catch(err =&amp;gt; console.error(err.message));​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Regarding the the socket connection - due to asynchronous nature of the communication you need to wait for the socket to connect before sending FreeMASTER commands.&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;BR /&gt;Iulian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 08:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-Lite-Tutorial-amp-Example-Code-Issue-Jupyter-Notebook/m-p/1944339#M1828</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-08-30T08:45:57Z</dc:date>
    </item>
  </channel>
</rss>

