cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-PROTEUS1 Data Acquisition Issue with NanoEdge Studio

umitliguler
Associate

Hello there,

I am currently working with the STEVAL-PROTEUS1 evaluation board.
To supply power, I have connected the board to my computer via micro USB (alternatively, a battery could have been used, but it should not make a difference).
For data acquisition through USB using NanoEdge Studio, I established the STLINK-V3MINIE connection as shown in the attached picture.

Although NanoEdge Studio detects "STMicroelectronics" on COM7, I am unable to receive any data.
Additionally, I have noticed that the STEVAL-PROTEUS1 board itself does not appear separately in the Windows Device Manager. Only the STLINK-V3MINIE appears, even though both the STEVAL-PROTEUS1 micro USB and the STLINK-V3MINIE USB are connected to the PC simultaneously.
Is this behavior normal, or could it indicate an issue with the setup?

For reference, I recently flashed the firmware file Proteus_HS_Datalog_FUOTA_reference.bin.
Firmware updates via STLINK-V3MINIE complete successfully, but NanoEdge Studio still fails to acquire any data.
Could you please advise if there is a mistake in my setup or if there are any additional steps required?

Thank you very much for your support.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @umitliguler ,

 

You can 100% replicate this video with the PROTEUS.

  1. Go to the datalogger in NanoEdge
  2. Select the same parameters as in my screenshot (should work for most use cases)
  3. Generate the binary and copy paste it in the STLink to flash the binary
  4. In NanoEdge AI Studio, create a anomaly detection project
  5. Select the Proteus as target and vibration as sensor/kind of data
  6. In Signals, import data via serial (this should work)
  7. do a benchmark, do test via files or serials as you see fit.

 

Later, if you want to create a simple application as it is done in the video.

Start from the source code in the repository I sent.

Make sure to clone the repository using the command in the description:

git clone https://github.com/stm32-hotspot/stm32ai-nanoedge-datalogger --recurse-submodules

 

then you will find the source code for the proteus in a STM32CubeIDE project.

 

When opening it, you will see that the example project contains a datalogging code if the parameter NEAI_MODE is to 0 and a anomaly detection code if the parameter is set to 1.
The only thing you will need to do is replace the libneai.a and NanoEdgeAI.h with yours (that you get in the last NanoEdge step: compilation), build and run the project

JulianE_0-1745828974650.png

 

Have a good day,

Julian

 


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
Julian E.
ST Employee

Hello @umitliguler,

 

Yes, it is normal that you only see the STLink appearing.

 

I am not sure how the Proteus_HS_Datalog_FUOTA_reference.bin is collecting data, but I think it is collecting single values where NanoEdge AI Studio is waiting for buffers.

The format in NanoEdge is described here: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Basic_format 

 

I would suggest you use the NanoEdge AI Studio datalogger generator instead:

JulianE_0-1745824834684.png

Select the proteus and the parameters you would like to use:

JulianE_1-1745824879931.png

It will generate a binary that you can flash as you did with the other one.

Additionally, you can find the source code of this which will be much easier to adapt to then create a "final" application with a NanoEdge AI Library:

stm32-hotspot/stm32ai-nanoedge-datalogger: STM32 Application for datalogging feature with NanoEdge AI Studio

 

Have a good day,

Julian

 


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.

Dear Julian,
Thank you very much for your valuable support.
I must admit that I am quite inexperienced in this area. Therefore, I reviewed the video titled "NanoEdge AI Studio V3 - Anomaly Detection Demo," where everything appeared to be quite straightforward.
(Video Link: https://www.youtube.com/watch?v=yXMUv_C5FGk&t=404s)
What I am trying to achieve is to receive and process real-time data via the USB option in NanoEdge AI Studio, just as demonstrated in the video. As you can see, it seems very simple in the demonstration.
If it is not possible to achieve this with the STEVAL-PROTEUS1 board, could you kindly share detailed instructions, covering all the necessary steps, for performing Anomaly Detection?
I sincerely appreciate your time and assistance in advance.

Kind regards,

Ümit

Hello @umitliguler ,

 

You can 100% replicate this video with the PROTEUS.

  1. Go to the datalogger in NanoEdge
  2. Select the same parameters as in my screenshot (should work for most use cases)
  3. Generate the binary and copy paste it in the STLink to flash the binary
  4. In NanoEdge AI Studio, create a anomaly detection project
  5. Select the Proteus as target and vibration as sensor/kind of data
  6. In Signals, import data via serial (this should work)
  7. do a benchmark, do test via files or serials as you see fit.

 

Later, if you want to create a simple application as it is done in the video.

Start from the source code in the repository I sent.

Make sure to clone the repository using the command in the description:

git clone https://github.com/stm32-hotspot/stm32ai-nanoedge-datalogger --recurse-submodules

 

then you will find the source code for the proteus in a STM32CubeIDE project.

 

When opening it, you will see that the example project contains a datalogging code if the parameter NEAI_MODE is to 0 and a anomaly detection code if the parameter is set to 1.
The only thing you will need to do is replace the libneai.a and NanoEdgeAI.h with yours (that you get in the last NanoEdge step: compilation), build and run the project

JulianE_0-1745828974650.png

 

Have a good day,

Julian

 


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.