2025-03-07 6:46 AM - last edited on 2025-03-07 9:08 AM by mƎALLEm
Can anyone please help with the step by step process for deploying a deep learning model on NUCLEO-H753ZI board using STM32CubeIDE and XCubeAI package...
I am not able to do it even after trying multiple times...
please help me through this .... using a video or something... as i tried many solutions here...
Or i can provide the remote access of my system to you... if it is possible...
It is really urgent and needed...
Solved! Go to Solution.
2025-03-07 8:34 AM - edited 2025-03-07 8:36 AM
Here is what to do exactly (I have a STM32H743)
Connect your board using a data cable.
You need to plug it in the ST link port (should be on top for you)
Open cube MX and select your board (I click ok for everything asked)
Make sure to have installed H7 software package and X Cube AI software package.
Activate X Cube AI and select Validate template
Then select onnx, tf or tflite based on your model
Add network and Click validate on target
Port COM should be found in Auto but you can check selecting it manually.
(I think that if you only see one COMx port, your cable is not data)
Check the box to enable the automatic deployment
Selec the ST Link and your tool Chain. I use CubeIDE
Click validate.
Here is what I get after doing exacly that:
I attached a simple Cnn model .onnx if you want to try it.
If this does not work, there is an issue with your CUBEMX or CUBEIDE. I would suggest uninstalling everything and download everything again. Even better would be to use another PC.
Make sure you have a data cable. It should be quite thick.
Have a good day,
Julian
2025-03-07 7:23 AM
Hello @Pinagadi_Meghana ,
Can you share your model?
Based on your previous thread, I would say that it is your tools that have an issue.
Have you tried reinstalling them or using another pc?
Have a good day,
Julian
2025-03-07 8:20 AM
Actually... the same thing tried in another system also giving the same error...
I think it is not about the model, because i used many models and deleted... still facing the same issue with them...
i really want to know the procedure...
can you please explain taking any example through a video or something
2025-03-07 8:34 AM - edited 2025-03-07 8:36 AM
Here is what to do exactly (I have a STM32H743)
Connect your board using a data cable.
You need to plug it in the ST link port (should be on top for you)
Open cube MX and select your board (I click ok for everything asked)
Make sure to have installed H7 software package and X Cube AI software package.
Activate X Cube AI and select Validate template
Then select onnx, tf or tflite based on your model
Add network and Click validate on target
Port COM should be found in Auto but you can check selecting it manually.
(I think that if you only see one COMx port, your cable is not data)
Check the box to enable the automatic deployment
Selec the ST Link and your tool Chain. I use CubeIDE
Click validate.
Here is what I get after doing exacly that:
I attached a simple Cnn model .onnx if you want to try it.
If this does not work, there is an issue with your CUBEMX or CUBEIDE. I would suggest uninstalling everything and download everything again. Even better would be to use another PC.
Make sure you have a data cable. It should be quite thick.
Have a good day,
Julian
2025-03-07 7:41 PM
Could you please confirm to which pin i need to connect my data cable.... There are two pins...
CN1 and CN13...
where should i connect the cable..
2025-03-07 10:07 PM
Till now i have connected usb cable from my PC to CN1 on the board and the leds are blinked...
But i cant see 2 ports at validation on target...
I didn't connected any ST link...
i am sharing the pictures of where i connected till now... please check them...
Should i connect any ST link additional to this.... If yes... please help me with that st link installation and setup....
Please update me....
2025-03-08 4:53 AM
I think i have a problem with the com ports only... I dont know which cable to use... Please update me the cables i need to use... and at which port i need to connect according to my board... NUCLEO-H753ZI
Please update me as it is very urgent....
2025-03-09 4:32 AM
I uninstalled stm32CubeIDE and reinstalled it...
Started a new stm32 project, selected my board, clicked ok for everything (like it showed a window which contained 5 checked options of led,virtual port etc etc.), i selected all and clicked ok.
Then activated XCubeAI package, checked core and selected validation under application, then clicked on OK.
Then i tried to open that network window... but before that a small window opened which showed configuring usart3 and it got stuck at 70% for very long time... i tried closing the app and disconnecting, restarting pc... but the same thing is happening... i shared a screenshot of where it got stuck...
PLease help me with this...
2025-03-10 1:25 AM
Hello @Pinagadi_Meghana ,
Connect the board through the CN1 as you did in the first picture.
From time to time, I have the same USART3 config issue.
I just wait a little and then quit this and move on.
I do a validation on target after that, and it works.
I am not an expert of STM32CubeMX, but you can ask why the issue is happening in this forum board:
STM32CubeMX (MCUs) - STMicroelectronics Community.
Have a good day,
Julian
2025-03-10 3:27 AM
Means.. did you just closed that small window and clicked validation on target...?? or you just waited for that 70% to complete then clicked on validation on target???
please confirm