2025-04-27 3:09 AM - last edited on 2025-04-28 12:48 AM by Andrew Neil
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.
Solved! Go to Solution.
2025-04-28 1:29 AM
Hello @umitliguler ,
You can 100% replicate this video with the PROTEUS.
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
Have a good day,
Julian
2025-04-28 12:22 AM
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:
Select the proteus and the parameters you would like to use:
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:
Have a good day,
Julian
2025-04-28 12:47 AM
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
2025-04-28 1:29 AM
Hello @umitliguler ,
You can 100% replicate this video with the PROTEUS.
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
Have a good day,
Julian