Example standalone for STM32N6570-DK.
Aton version is: atonn-v1.1.1-14-ge619e860
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.
In ei_main.cpp copy the raw feature you want to test:
static const float features[] = {
// copy raw features here
};
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.
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.
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!