cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to build the generated c code from developer zone in Cube IDE

VinaySankar
Associate II

I am Working with the board NUCLEO-N657X0-Q, I need to generate a c code of the Ai model Run in the Board, for that I generated a c code for the STM32N6570-DK to run in my board from St developer zone. Unfortunately i cant build the project file in CUBE IDE i cant figure out what is the problem. 

16 REPLIES 16

Hello @VinaySankar,

 

I think this is an issue either of the alimentation or the pins.

Make sure to put both boot pins to the right AND unplug / replug the board before flashing.

Make also sure to use a USB C cable to USB C.

 

Can you describe me the states of the LED (both on the left and right side) when you are getting this issue.

 

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.
SlothGrill
ST Employee

Hello
Also, while working with Nucleo using a "Discovery-kit" project, be careful of the following things, as Nucleo boards do not have an external SRAM connected to XSPI1:

  • Do not try to "memory-map" the memory connected to XSPI1 (i.e. do not memory-map external ram)
    • -> Do not try to read/write external RAM !
  • If XSPI1 is not initialized/clocked, do not try to configure the RISAF associated to it (RISAF11)

Both actions may result in the behaviour you are observing.

Hi @Julian E. ,

I was able to run the GPIO LED Blinking example project with the same setup.

The BOOT0 pin in connected left and BOOT1 is connected right.

Also there is no specific change in the LED [LD1,LD4,LD9] are lighted.

Thanks,

Vinay

Hi @SlothGrill,

I have not made any changes in the memory area iam using it as default case. I'll just describe the way I build the create the project file.

Select Board Selector >> Select NUCLEO-N657X0-Q board.

In the .ioc file 

Middleware and software packs >> enable Xcube AI 10.1.0 >> Select Xcube Ai 

Now a popup will come that the clock configuration is wrong and correct is automatically.

selected the automatic method and corrected the clock configuration.

Select the model (selected the model from st modelzoo) >> validate the model -> success >> Tried validation on target "Invalid firmware " this error arrised the log is attached above.

these are the steps that I done to create the project file.

Thanks, 

Vinay

Hello
can you share the full (cubeide) project with us ? 


Cheers.

Hi @SlothGrill ,

I have shared the complete project zip file below.

Best Regards,

Vinay 

Hi @SlothGrill,

Did you find any solutions for the case.
Thanks and regards,

Vinay