cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK: Black screen with AI model from original demo

TatianaP
Associate II

 

As the subject states, when I try to run the AI model from the original demo on the STM32N6570-DK board, the screen turns black and the LEDs switch to red.

A few days ago, I attempted to run my own AI model. Using STM32CubeProgrammer, I selected the external loader MX25UM1245G_STM32N6570-DK (I believe this may have been incorrect). Then, in the Erasing & Programming section, I uploaded my .bin file, set the start address to 0x70380000, and started the programming process.

After that, I tried to debug the STM32N6570-DK Getting Started Object Detection project in STM32CubeIDE. However, I encountered an issue in main.c with the error:

#error "PostProcessing type not supported"

which persists.

Later, I decided to restore the original demo. I erased the external memory using STM32CubeProgrammer,then downloaded the original demo .hex file ("STM32N6570-DK Out-of-the-box demo binary"), and followed the provided instructions.

The demo now runs on the board, but when I try to launch the original AI model from the ST demo, the screen immediately turns black and the LEDs become red.

At this point, I’m unsure what is causing the issue. It seems the camera is not functioning properly, and I suspect I may have corrupted something in the internal flash or firmware during my previous attempts.

Any guidance would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi! I found the problem. The AI demo with the included camera requires more power/current than what my laptop’s USB-A port can provide. I needed to use an external power source.

I found an ST Community post describing the exact same issue I had. I’m sharing the link below in case it helps others: 

https://community.st.com/t5/stm32-mcus-boards-and-hardware/stm32n6570-dk-ai-demo-not-working/td-p/755464

 

View solution in original post

6 REPLIES 6
Julian E.
ST Employee

Hi @TatianaP,

 

The external loader that starts with MX25 should end with Nucleo, not DK, the one you wrote doesn't exist.

The correct one to use is the MX66UW1G45G_STM32N6570-DK. 

Could you please try to flash the out of the box demo again using this external loader please?

 

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.

Hi, I know that the first time I selected the wrong external loader  and after that, I tried to run my own AI model and debug the Getting Started Object Detection project in STM32CubeIDE, but It doesnt work. 

Later, I wanted to go back to the original demo, so I reflashed it using the .hex file with the MX66UW1G45G_STM32N6570-DK external loader, as specified in the instructions.

However, when I run the demo now, everything works except for the camera on the board, which is not functioning.

So my question is: could I have corrupted something in the internal flash or firmware during my earlier attempts, when I first tried debugging  a project in STM32CubeIDE?

Hi @TatianaP,

 

So my question is: could I have corrupted something in the internal flash or firmware during my earlier attempts, when I first tried debugging  a project in STM32CubeIDE?

=> I don't think so

 

Please try to unplug the camera from the board, unplug both side of the connector and then plug it again to make sure that is correct.

Then try again.

A wrongly plugged camera could be the cause of your issue if you tell me that the rest of the demo works.

 

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.

I’ve already done that. Everything in the demo works perfectly except for the AI mode. When I select it, the board’s screen immediately turns black and both LEDs turn red. When this happens, I can’t even go back to the main demo menu.

It seems like the system crashes or enters an error state when initializing the camera or AI pipeline.

Hi! I found the problem. The AI demo with the included camera requires more power/current than what my laptop’s USB-A port can provide. I needed to use an external power source.

I found an ST Community post describing the exact same issue I had. I’m sharing the link below in case it helps others: 

https://community.st.com/t5/stm32-mcus-boards-and-hardware/stm32n6570-dk-ai-demo-not-working/td-p/755464

 

Hi @TatianaP

Thank you for sharing.

Indeed, we advise using USBC to USBC cable to avoid this kind of 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.