cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 Sample Applications Not Working with Supported Hardware

elliot-chung
Associate

Hello everyone, 

I seem to be having issues flashing some the sample binaries found in these two repositories. I am using the NUCLEO-N657X0-Q board with the B-CAMS-IMX camera module. 

20250703_112255.jpg With either set of binaries I tried the following steps:

1. Open STM32CubeProgrammer and connect to the board using ST-LINK over USB (Boot jumpers in the depicted position)

2. Enable the MX25UM51245G_STM32N6570-NUCLEO external loader for the STM32N6570-NUCLEO board

3. Browse to the first hex file to flash under the "Erasing & Programming" tab

4. Flash each hex file in the order specified in the project's README

5. Move the BOOT1 jumper from position 2 to position 1

6. Power Off/Power on by unplugging the board from USB

 

From what I understand, the board should now behave like a USB webcam when connecting it to a computer though the non-STLINK USB port. Unfortunately, when trying this, my computer doesn't even recognize that device has been connected. (The corresponding light on the board does turn on though)

Since one of the projects includes source code, I also tried building and running the binary in STM32CubeIDE. The build and flash seem to complete successfully, but my computer is still unable to recognize a connection. When trying to run the debugger the program continues until line 267 in the CMW_IMX_335_PowerOn() function in the cmw_imx335.c file. At this point, the console starts to print "Target not responding, retrying..." Although, I can't say for certain if this is actually related to my issue or if this is a separate issue with the debugger since this doesn't happen when not debugging. 

static void CMW_IMX335_PowerOn(CMW_IMX335_t *io_ctx)
{
  io_ctx->ShutdownPin(0);  /* Disable MB1723 2V8 signal  */
  io_ctx->Delay(100);
  io_ctx->EnablePin(0);  /* RESET low (reset active low) */
  io_ctx->Delay(100);
  io_ctx->ShutdownPin(1);  /* Disable MB1723 2V8 signal  */
  io_ctx->Delay(100);
  io_ctx->EnablePin(1);  /* RESET low (reset active low) Fails on this line */
  io_ctx->Delay(100);
}

I'd greatly appreciate any help getting any of these projects running. '

Thank you, 

Elliot

 

0 REPLIES 0