cancel
Showing results for 
Search instead for 
Did you mean: 

FSM JSON loading issue in MEMS Studio 2.3.1 with LSM6DSOX

SamuPre
Associate II

Hello,

after updating MEMS Studio to version 2.3.1 I am experiencing an issue when working with FSM configurations.

Previously everything was working correctly, but now I cannot reload FSM configurations saved as JSON files.

Steps to reproduce the issue:

  1. Create a new FSM in MEMS Studio.

  2. Save the configuration as a JSON file.

  3. Try to reopen the same JSON file.

The file loads without any error message, but the FSM editor remains empty and the FSM configuration is not shown.

However, individual FSM examples included in MEMS Studio open correctly without any issues.

This happens both with:

  • JSON files generated previously with an older version of MEMS Studio

  • JSON files generated directly from example FSM projects in the current version

So the issue does not seem to be related to the JSON content itself.

My setup:

  • MEMS Studio version: 2.3.1

  • Sensor: LSM6DSOX

Questions:

  1. Has the FSM JSON handling changed in MEMS Studio 2.3.1?

  2. Is there a specific way to reopen a saved FSM configuration JSON?

  3. Is this a known issue or bug in the current version?

Thank you for your support.

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @SamuPre ,

So the issue occurs only with JSON files generated and exported with MEMS Studio 2.3.1, correct?

Which board are you using?
Please note that on Nucleo boards and SensorTile the FSM read operation is not performed automatically.
If you explicitly perform the FSM read operation from the board, does the FSM page still remain empty?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Federica Bossi
ST Employee

Hi @SamuPre ,

So the issue occurs only with JSON files generated and exported with MEMS Studio 2.3.1, correct?

Which board are you using?
Please note that on Nucleo boards and SensorTile the FSM read operation is not performed automatically.
If you explicitly perform the FSM read operation from the board, does the FSM page still remain empty?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
SamuPre
Associate II

Hi,

thank you for the reply.

The issue occurs when using MEMS Studio 2.3.1, where FSM configurations saved as JSON are not correctly reloaded. This happens with JSON files generated both with version 2.3.1 and with older versions (e.g. 2.0.0), as none of them are reconstructed in the FSM editor.

For example:

  1. I create a new FSM configuration

  2. I save the JSON configuration

  3. When reopening the JSON file, the FSM editor appears empty even though no error is shown

I also tried performing the explicit FSM read operation from the board, but the FSM page still remains empty.

I am using a STEVAL-MKI109V3 board.

Thank you for your support.

Hi @SamuPre ,

We are not able to replicate the issue, it always read back the configuration and display the diagram.

Could you please share the JSON file or video capture if possible to see what is going on?

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.