How do I flash custom fw to the Openmv N6?

How do I flash custom firmware (developed with x-cube) to the OpenMV N6? It seems like it goes into DFU mode for a second or two when powering up, but doesn’t stay in long enough for DFU-UTIL to catch it. I tried various combinations of buttons and BOOT1/0 without eventual success. I also tried “Load custom firmware” in the IDE, but that didnt seem to work.

If you want to do that, you should treat it as a dev board and use an STLink to debug it. The BOOT0/1 pins do the same as on the stm32 dev boards.

We have a custom bootloader and etc. that’s meant for flashing our firmware.

Typically, you put BOOT1 high, via sliding the switch on the right up, then, you can program it via an st link v3.

Is there an stldr available for the memory onboard?

Yes, see here: qt-creator/share/qtcreator/firmware/OPENMV_N6 at 17c2e93c7de7a6fe738d7c9dbcf836de5e23dbd2 · openmv/qt-creator · GitHub

Hi,

I looked at the repo, but I’m unable to find the stldr file. Could you please share it?

Those are the files. It’s qt-creator/share/qtcreator/firmware/OPENMV_N6/MX66UW1G45G_STM32N6570-DK-OBL.bin at 17c2e93c7de7a6fe738d7c9dbcf836de5e23dbd2 · openmv/qt-creator · GitHub

See qt-creator/share/qtcreator/firmware/OPENMV_N6/FlashLayout.tsv at 17c2e93c7de7a6fe738d7c9dbcf836de5e23dbd2 · openmv/qt-creator · GitHub