FreeMASTER Lite Tutorial & Example Code Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeMASTER Lite Tutorial & Example Code Issue

344 Views
sjc230
Contributor II

I'm currently trying to work through the following tutorial:
https://www.nxp.com/design/training/getting-started-with-freemaster-lite-and-json-rpc-protocol:GETTI...

I'm using the following product:
https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/arm-based-solutions...

My goal is to try to get FreeMASTER Lite to work with this device from a Raspberry Pi with a Linux based OS.

Currently I have a Windows 10 pc with a VM of Ubuntu 20.4. I have everything installed on the Win10 pc, as well as everything installed on Ubuntu VM (except FreeMASTER Communications Driver, which I could not locate for Linux. Is there a Linux version available).

I have changed the "connection" variable in the example code to match my device.

Using Win10: When going through the example code provided with FreeMASTER Lite (FML_Python.ipynb), all of the code works, until ln[13], at which point I get the following error:

---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-13-c73f0bac6521> in <module>
----> 1 data = await SendRequest(jrpc, 'GetConfigParamString', "VS", 20)
2 print('Application version: ' + data)

<ipython-input-4-c6ba3a234475> in SendRequest(jrpc, method, *args)
4 return response.data.result['data']
5 else:
----> 6 raise Exception(response.data.result['error'])

Exception: {'code': 2147483907, 'message': "Can't detect board."}

I've been unable to fix this. Assistance would be appreciated.

0 Kudos
Reply
0 Replies