2025-03-08 5:49 AM
Hi everyone,
I’m currently working on a project involving predictive maintenance and anomaly detection using the STWINBX1 (STEVAL-STWINBX1) board. I’ve successfully configured the board and flashed it using STM32CubeIDE, ensuring everything is set up as expected. I’ve also downloaded the NanoEdge Datalogger and flashed it using STM32 ST-Link Utility, but despite everything being correctly configured, NanoEdge AI Studio is not receiving any data from the board.
Here’s what I’ve checked so far:
Despite these steps, the data is not being received in NanoEdge AI Studio. I’ve also ensured that no other processes are using the COM port, and I’ve checked that all configurations are aligned with the expected setup.
Can anyone suggest what could be causing this issue or guide me on where I might be going wrong? I need to collect data for training my model, and this issue is blocking my progress.
Thanks in advance!
Solved! Go to Solution.
2025-08-21 3:34 AM
Hello @Julian E.
I have almost the same problem ,
I am working with an STWINBX1 board and trying to use it with NanoEdge AI Studio. I have flashed the firmware FP-SNS-DATALOG2 via STM32CubeProgrammer using the STLink USB, but I am unable to see any data in Tera Term.
Steps tried:
Flashed firmware successfully with STM32CubeProgrammer
Verified COM port appears in Device Manager
Opened Tera Term on STLink Virtual COM port
Pressed RESET on the board
Enabled binary and hex modes in Tera Term
Tried 115200 baud rate
Observed behavior:
No data appears in Tera Term (not even garbled characters)
LEDs on the board blink normally after RESET
The NanoEdge AI emulator cannot detect incoming data from the board
My goal:
To verify that the board is alive and sending sensor data, so that NanoEdge AI Studio can read it via the emulator.
Thank you.
Best regards,
2025-08-21 5:18 AM
Hello @Hela1
FP-SNS-DATALOG2 isn’t sending data via COM port through STLINK, but via USB through the onboard USB Type-C®.
FP-SNS-DATALOG2 is a multisensor data capture and visualization toolkit. It’s supporting different STEVAL and Nucleo boards and it’s natively compatible with STDATALOG-PYSDK, a comprehensive Python framework designed to facilitate the capture, processing, and visualization of data.
The suggested workflow with DATALOG2 is:
The NanoEdge datalogger instead is a different firmware. It’s a serial datalogger developed to be ready-to-use with NanoEdge AI Studio. I let @Julian E. give you further details.
You can use or DATALOG2 or either NanoEdge datalogger. It depends on your main goal. If I well understood, you'd like to start experimenting with NanoEdge AI Studio, so maybe it’s better to flash the board with the NanoEdge datalogger.
Best regards,
Simone
2025-08-25 2:55 AM
Hello @SimonePradolini ,
Thank you for the detailed explanation. I actually followed the workflow you described: I ran the acquisitions, cleaned and organized my dataset, and successfully imported it into NanoEdge AI Studio. The benchmark ran really well, achieving 99.62% accuracy with the digital microphone data.
However, during the emulator phase, even though I’ve selected the virtual COM port, it still shows “No data detected. Please check COM port and retry.” I wanted to check if there’s a specific step or setting I might be missing for the emulator to properly read the data from the board.
Best regards,
Hela
2025-08-26 7:32 AM
Hello @Hela1,
The emulator in NanoEdge expects to receive data of the same shape of the ones used during the benchmark.
It really emulates the library as it would run on your MCU.
I am not that familiar with the Datalog2 FP, but my guess is that you collected continuous data, reshaped it for the benchmark and still used the continuous data for the emulator, causing the error. Do you think this is the case?
If it is, you need to edit the firmware to send via serial data of the right shape (same as your imported signals in neai).
Editing Function Packs can be difficult.
In NanoEdge we provide the datalogger generator:
And the source code, that you can probably edit more easily:
Have a good day,
Julian
2025-08-27 3:23 AM
Hello @Julian E. ,
Thank you for your explanation. I actually already solved the issue — it turned out to be related to the firmware. At first, I had downloaded the generic datalogging firmware, but for the emulator to work correctly I needed to flash the .bin file generated by Nano Edge AI Studio for the specific sensor I’m working with. Once I did that, the emulator was able to recognize the data shape and run without errors.
Thanks again for pointing me in the right direction!
Best regards,
Hela