cancel
Showing results for 
Search instead for 
Did you mean: 

"Range [0,-1) out of bounds for length 48" trying to open Debug Configuration

Levy-hy
Associate II

Hello, I'm trying to set the debug configuration of my project, but I cannot open the debug file under C/C++ Application. Besides, running this project was not successful either.

Levyhy_0-1753770582011.png

I have tried switching workspace and uninstalling IDE, but neither worked.

Can anyone help me solve my problem? Thank you very much.

13 REPLIES 13
Imen.D
ST Employee

Hello @Levy-hy ,

We have reproduced this issue with CubeIDE 1.19 and I escalated it to our CubeIDE team for analysis (internal ticket number: 215198).

PS: Ticket number: 215198 is an internal tracking number and is not accessible or usable by customers.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hello @Imen.D 
Thank you for your suggestions!

I used the example project "STM32N6570-DK_GettingStarted_ImageClassification", as shown in the picture. The link is here: https://github.com/STMicroelectronics/stm32ai-modelzoo-services/tree/main 

and I only generated the network code following this post without making any changes https://community.st.com/t5/stm32-mcus/how-to-run-ai-models-from-model-zoo-on-stm32n6/ta-p/814254

The whole project can be built correctly and .elf executable file exists in the debug file. I already tried deleting the configuration but the error persists.

Levyhy_0-1754270679206.png

Fortunately, I found a way to avoid this problem. Instead of running the project, I used the bin file generated by the project build, and programmed this file directly onto the development board using STM32Programmer at address 0x70100000. 

I have attached the log file for your reference.

 

 

 

Hello Imen.D,

I am also facing the same issue . Is there a resolution to the issue available?

Ghofrane GSOURI
ST Employee

Hello @Levy-hy 

As a workaround, try removing the following line from your .project file:

<nature>com.st.stm32cube.ide.mcu.MCUAppSProjectNature</nature>

 

GhofraneGSOURI_0-1755603295833.png

You will be able to debug your project successfully.

GhofraneGSOURI_1-1755603379550.png

THX

Ghofrane

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.