2023-09-14 12:53 AM
Hello ,
I recently bought the STWIN.box core system board (STEVAL-STWBXCS1), so I don't know everything about it. I would like to carry out a predictive maintenance project. I followed the steps below:
1- flash the binary file with STM32CubeProgrammer
2- acquire the data with hsdatalog_GUI.py, the DATALOG2 firmware script. So far, so good.
3- Generate the IA library via NanoEdge Studio.
In this step, I wanted to acquire the data directly on NanoEdge Studio AI, but the COM port of the STWIN.box is not recognized, so acquisition is impossible.
I understand that the firmware uses a DFU mode and not a CDC so windows 10 doesn't recognize it. Is this correct? If so, how can I change this?
But I did it another way, and managed to generate the NanoEdge IA library by importing the data files.
4- integrate the generated library into the project. How do I do this? Are there any tutorials?
After this step I'd like to know how to connect the STWIN.box to tera term to read the acquisition data. I understand that the HSDPython_SDK functions only allow acquisition. Can they also read the data?
Best regards.
Solved! Go to Solution.
2023-10-12 12:59 AM
Hi @AkaPaDa_18
referring also to this, this and this, DATALOG2 firmware for STWIN.box is not streaming data via UART (VCOM port) from STLink.
For DATALOG2, developed a specific USB class (the Multi_Sensor_Streaming you already highlighted) that allow the firmware streaming data up to 6Mbps.
DATALOG2 is not the Datalogger used in NanoedgeAIStudio, as stated here in the tool:
If you would like to use the NanoedgeAIStudio online logger, you must manually flash the proper STM32-NANOEDGE-DATALOGGER firmware from the github link available in the tool on the STWIN.box before using the board.
This STM32-NANOEDGE-DATALOGGER is streaming data via UART (VCOM port) from STLink.
If this hint solves your issue, please close all the threads you opened on the topic.
Best regards
Simone
2023-10-12 12:59 AM
Hi @AkaPaDa_18
referring also to this, this and this, DATALOG2 firmware for STWIN.box is not streaming data via UART (VCOM port) from STLink.
For DATALOG2, developed a specific USB class (the Multi_Sensor_Streaming you already highlighted) that allow the firmware streaming data up to 6Mbps.
DATALOG2 is not the Datalogger used in NanoedgeAIStudio, as stated here in the tool:
If you would like to use the NanoedgeAIStudio online logger, you must manually flash the proper STM32-NANOEDGE-DATALOGGER firmware from the github link available in the tool on the STWIN.box before using the board.
This STM32-NANOEDGE-DATALOGGER is streaming data via UART (VCOM port) from STLink.
If this hint solves your issue, please close all the threads you opened on the topic.
Best regards
Simone
2023-10-16 11:14 PM
Hello @SimonePradolini ,
Thanks for your reply. i think it's the solution of all my issues in this subject.
i'm going to continue and if i have problems can write you to ask questions?
Thanks again!
Best regards