2021-10-08 06:55 AM
I am using a Nucleo-F676ZI and trying to run a dnn on the mcu.
I can run the NN using the "application template" but I want to use the "validate on target" in order to obtain runtime without developing the data transfer from the host system to the mcu myself.
Steps to reprocude:
1: MCU selector
2: Use x-cube-ai package with the validation application
3: Add USART communication. Im using ST-Link so the virtual com port should be connected to USART3.
4: Add the network and run analyze / validate on desktop. (works fine)
5: Run validate on target:
Which results in the following error:
Is there anything I am missing ? in order to run "validate on target"
Or any steps to get a detailed error message?
2021-10-12 09:19 AM
There is a bug in X-CUBE-AI 7.0.0 when you try to do automatic validation on the target and you are using STM32CubeMX inside STM32CubeIDE.
2 solutions here:
Regards
Daniel
2021-10-22 07:28 AM
Thanks for the reply!
I did test both solutions. Unfortunately, both did not work.
Furthermore, I did test other x-cube-ai releases.
It is possible to use the COM port that is directly connected to the ST-Link correct? (USART 3)
Is there any way to get more debug information?
2021-10-22 08:16 AM
You'll find more information in ~/.stm32cubemx/STM32CubeMX.log (in your home directory)
If MX can't launch STM32CubeIDE or in the log it complains about missing .project or .cproject file you can verify that in your standalone STM32CubeMX installation (on Windows C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX) you have a third_parties_plugins directory with a jar file named com.st.stm32cube.ide.services,mx.... in it
You can also try to select "Validation" as the application (and not template), and let X-CUBE-AI configure automatically the USART for you.
I've just tried on the same board and it works out of the box with X-CUBE-AI 7.0
2021-10-29 07:27 AM
> You can also try to select "Validation" as the application (and not template), and let X-CUBE-AI configure automatically the USART for you.
How can I set "validation" as the application?
I did only find how to set it in the selection of the x-cube-ai package (image 2)