cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying a deep learning model on NUCLEO-H753ZI

Pinagadi_Meghana
Associate II

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... 

1 ACCEPTED SOLUTION

Accepted Solutions

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)

JulianE_0-1741364746668.png

Make sure to have installed H7 software package and X Cube AI software package.

 

Activate X Cube AI and select Validate template

JulianE_1-1741364786160.png

Then select onnx, tf or tflite based on your model

Add network and Click validate on target

JulianE_2-1741364964686.png

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

JulianE_3-1741365001643.png

 

Click validate.

Here is what I get after doing exacly that:

JulianE_5-1741365359143.png

 

 

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


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

7 REPLIES 7
Julian E.
ST Employee

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


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.

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 

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)

JulianE_0-1741364746668.png

Make sure to have installed H7 software package and X Cube AI software package.

 

Activate X Cube AI and select Validate template

JulianE_1-1741364786160.png

Then select onnx, tf or tflite based on your model

Add network and Click validate on target

JulianE_2-1741364964686.png

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

JulianE_3-1741365001643.png

 

Click validate.

Here is what I get after doing exacly that:

JulianE_5-1741365359143.png

 

 

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


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.

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..

 

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...

Pinagadi_Meghana_0-1741413864833.jpeg

Should i connect any ST link additional to this.... If yes... please help me with that st link installation and setup....

Pinagadi_Meghana_1-1741413996523.jpeg

Please update me....

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....

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...

Pinagadi_Meghana_0-1741519906702.png