Skip to content

edgeimpulse/example-standalone-st-stm32n6

Repository files navigation

example-standalone-st-stm32n6

Example standalone for STM32N6570-DK.

Aton version is: atonn-v1.1.1-14-ge619e860

Prerequisites

Flashing the device requires STM32 Programmer installed min version 2.18, download from https://www.st.com/en/development-tools/stm32cubeprog.html STM32Programmer should be added to your path.

Update your model

Sample test

In ei_main.cpp copy the raw feature you want to test:

static const float features[] = {
    // copy raw features here
    };

Model running on NPU

Deploy your model as ST Neural-ART library. Copy model.c and model_data.hex into the Model folder. Copy model-paramets and edge-impulse-sdk folders into edgeimpulse.

Model running on MCU

Deploy your model as C++ library, copy the extracted folder into the edgeimpulse folder.

NOTE: If you are testing a model running on MCU, you don't need to flash the weights.

Flash the board

Make sure the switch BOOT1 is on the right! Launch the script for your os, argument can be:

  • all : flash weights and firmware
  • firmware : flash the firmware
  • weights : flash weights (network_data.hex)
  • bootloader : flash the fsbl (ai_fsbl_cut_2_0.hex)

If no argument is provided, 'all' is the default one, which flash the weights and then the firmware.

After flashing is finished, switch BOOT1 to left. BOOT0 should be left to left postion.

NOTE: The bootloader should be flashed just once!

About

Example standalone for STM32N6570-DK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published