Hi Frank, with the new SDK the failure rate of compiling for me went to 0. I get this output:
Memory region Used Size Region Size %age Used
DTCM: 128 KB 128 KB 100.00%
ITCM: 6256 B 64 KB 9.55%
SRAM1: 1039968 B 1 MB 99.18%
SRAM2: 1 MB 1 MB 100.00%
SRAM3: 1792 KB 1792 KB 100.00%
SRAM7: 1 KB 32 KB 3.12%
DRAM: 56 MB 64 MB 87.50%
FLASH_TEXT: 1892288 B 3584 KB 51.56%
GEN romfs image
Cascade: haarcascade_smile
Format: Old
Size: 36x18
Number of Stages: 20
Number of Features: 569
Number of Rectangles: 1245
Cascade: haarcascade_eye
Format: Old
Size: 20x20
Number of Stages: 24
Number of Features: 1066
Number of Rectangles: 2299
Cascade: haarcascade_frontalface
Format: Old
Size: 24x24
Number of Stages: 25
Number of Features: 2913
Number of Rectangles: 6383
Model: force_int_quant
XIP size = 4,992 data(596)+got(52)+bss(4288) sections
COPY size = 16,512 +ro(11520) sections
extra sections = 220 got:52(1.0%) header+rel:168(1.5%)
params size = 6,865
acts size = 180
binary file size = 19,104
params file size = 0
+--------------------------+----------------------------------+------+------------+------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+------+
| xSPI2 (0x20001b58) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 6865 |
| AXISRAM5 (0x20001b5e) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 180 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+------+
Table: mempool c-descriptors (off=40000218, 3 entries, from RAM)
Model: yolo_lc_192
XIP size = 34,560 data(596)+got(52)+bss(33856) sections
COPY size = 75,776 +ro(41216) sections
extra sections = 228 got:52(0.2%) header+rel:176(0.4%)
params size = 275,905
acts size = 258,048
binary file size = 317,848
params file size = 0
+--------------------------+----------------------------------+------+------------+--------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+--------+
| xSPI2 (0x20001b69) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 275905 |
| AXISRAM5 (0x20001b6f) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 258048 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+--------+
Table: mempool c-descriptors (off=40000218, 3 entries, from RAM)
Model: fomo_face_detection
XIP size = 29,440 data(596)+got(56)+bss(28736) sections
COPY size = 72,008 +ro(42568) sections
extra sections = 240 got:56(0.2%) header+rel:184(0.4%)
params size = 20,753
acts size = 138,240
binary file size = 64,064
params file size = 0
+--------------------------+----------------------------------+------+------------+--------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+--------+
| xSPI2 (0x2000344c) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 20753 |
| AXISRAM5 (0x20003452) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 138240 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+--------+
Table: mempool c-descriptors (off=40000218, 3 entries, from RAM)
Model: person_detect
XIP size = 48,384 data(548)+got(56)+bss(47744) sections
COPY size = 110,216 +ro(61832) sections
extra sections = 236 got:56(0.1%) header+rel:180(0.3%)
params size = 211,745
acts size = 55,296
binary file size = 274,272
params file size = 0
+--------------------------+----------------------------------+------+------------+--------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+--------+
| xSPI2 (0x2000352f) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 211745 |
| AXISRAM5 (0x20003535) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 55296 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+--------+
Table: mempool c-descriptors (off=400001e8, 3 entries, from RAM)
Model: blazeface_front_128
XIP size = 88,704 data(5696)+got(756)+bss(82240) sections
COPY size = 193,216 +ro(104512) sections
extra sections = 1,444 got:756(0.9%) header+rel:688(0.7%)
params size = 108,673
acts size = 540,672
binary file size = 220,232
params file size = 0
+--------------------------+----------------------------------+------+------------+--------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+--------+
| xSPI2 (0x20003eea) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 108673 |
| AXISRAM5 (0x20003ef0) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 425984 |
| AXISRAM4 (0x20003ef9) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34270000 | 114688 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+--------+
Table: mempool c-descriptors (off=400015f0, 4 entries, from RAM)
Model: hand_landmarks_full_224
XIP size = 128,320 data(968)+got(64)+bss(127232) sections
COPY size = 265,856 +ro(137536) sections
extra sections = 304 got:64(0.0%) header+rel:240(0.2%)
params size = 3,182,977
acts size = 1,781,248
binary file size = 3,321,688
params file size = 0
+--------------------------+----------------------------------+------+------------+---------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+---------+
| xSPI1 (0x20002407) | 0x01020601 RELOC.ACTIV.1.WCACHED | 0 | 0x00000000 | 802816 |
| xSPI2 (0x2000240d) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 3182977 |
| AXISRAM5 (0x20002413) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 451584 |
| AXISRAM4 (0x2000241c) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34270000 | 451584 |
| AXISRAM3 (0x20002425) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34200000 | 75264 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+---------+
Table: mempool c-descriptors (off=40000350, 6 entries, from RAM)
Model: movenet_singlepose_192
XIP size = 143,360 data(924)+got(92)+bss(142336) sections
COPY size = 302,480 +ro(159120) sections
extra sections = 312 got:92(0.1%) header+rel:220(0.1%)
params size = 2,638,753
acts size = 1,327,104
binary file size = 2,799,016
params file size = 0
+--------------------------+----------------------------------+------+------------+---------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+---------+
| xSPI2 (0x20003d07) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 2638753 |
| AXISRAM5 (0x20003d0d) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 442368 |
| AXISRAM4 (0x20003d16) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34270000 | 425984 |
| AXISRAM3 (0x20003d1f) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34200000 | 458752 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+---------+
Table: mempool c-descriptors (off=40000338, 5 entries, from RAM)
Model: face_landmarks_192
XIP size = 146,304 data(2336)+got(220)+bss(143744) sections
COPY size = 303,488 +ro(157184) sections
extra sections = 608 got:220(0.2%) header+rel:388(0.2%)
params size = 616,577
acts size = 737,280
binary file size = 776,616
params file size = 0
+--------------------------+----------------------------------+------+------------+--------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+--------+
| xSPI2 (0x20002e6a) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 616577 |
| AXISRAM5 (0x20002e70) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 442368 |
| AXISRAM4 (0x20002e79) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34270000 | 294912 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+--------+
Table: mempool c-descriptors (off=400008d0, 4 entries, from RAM)
Model: palm_detection_full_192
XIP size = 323,200 data(2112)+got(220)+bss(320832) sections
COPY size = 666,192 +ro(342992) sections
extra sections = 596 got:220(0.1%) header+rel:376(0.1%)
params size = 1,122,641
acts size = 1,506,496
binary file size = 1,468,248
params file size = 0
+--------------------------+----------------------------------+------+------------+---------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+---------+
| xSPI2 (0x20004e75) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 1122641 |
| AXISRAM6 (0x20004e7b) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34350000 | 294912 |
| AXISRAM5 (0x20004e84) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 457920 |
| AXISRAM4 (0x20004e8d) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34270000 | 294912 |
| AXISRAM3 (0x20004e96) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x34200000 | 458752 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+---------+
Table: mempool c-descriptors (off=400007c8, 6 entries, from RAM)
Model: yolov8n_192
XIP size = 195,648 data(5148)+got(252)+bss(190208) sections
COPY size = 415,816 +ro(220168) sections
extra sections = 1,192 got:252(0.1%) header+rel:940(0.4%)
params size = 3,006,993
acts size = 276,480
binary file size = 3,233,408
params file size = 0
+--------------------------+----------------------------------+------+------------+---------+
| name (addr) | flags | foff | dst | size |
+--------------------------+----------------------------------+------+------------+---------+
| xSPI2 (0x200064e7) | 0x01010500 RELOC.PARAM.0.RCACHED | 0 | 0x00000000 | 3006993 |
| AXISRAM5 (0x200064ed) | 0x03020200 RESET.ACTIV.WRITE | 0 | 0x342e0000 | 276480 |
| <undefined> (0x00000000) | 0x00000000 UNUSED | 0 | 0x00000000 | 0 |
+--------------------------+----------------------------------+------+------------+---------+
Table: mempool c-descriptors (off=400013e0, 3 entries, from RAM)
romfs image: "romfs0.img" usage: 12282.3KiB / 24576.0KiB (50.0%)
-size: 64064 alignment: 32 path: /rom/fomo_face_detection.tflite
-size: 15 alignment: 4 path: /rom/fomo_face_detection.txt
-size: 19104 alignment: 32 path: /rom/force_int_quant.tflite
-size: 274272 alignment: 32 path: /rom/person_detect.tflite
-size: 17 alignment: 4 path: /rom/person_detect.txt
-size: 317848 alignment: 32 path: /rom/yolo_lc_192.tflite
-size: 8 alignment: 4 path: /rom/yolo_lc_192.txt
-size: 3233408 alignment: 32 path: /rom/yolov8n_192.tflite
-size: 8 alignment: 4 path: /rom/yolov8n_192.txt
-size: 220232 alignment: 32 path: /rom/blazeface_front_128.tflite
-size: 776616 alignment: 32 path: /rom/face_landmarks_192.tflite
-size: 1468248 alignment: 32 path: /rom/palm_detection_full_192.tflite
-size: 3321688 alignment: 32 path: /rom/hand_landmarks_full_224.tflite
-size: 2799016 alignment: 32 path: /rom/movenet_singlepose_192.tflite
-size: 19041 alignment: 4 path: /rom/haarcascade_eye.cascade
-size: 10280 alignment: 4 path: /rom/haarcascade_smile.cascade
-size: 52396 alignment: 4 path: /rom/haarcascade_frontalface.cascade
text data bss dec hex filename
46284 32 22320 68636 10c1c /home/kwagyeman/github/openmv/build/OPENMV_N6/bin/bootloader.elf
text data bss dec hex filename
1884792 7496 62759520 64651808 3da8220 /home/kwagyeman/github/openmv/build/OPENMV_N6/bin/firmware.elf
(.venv) kwagyeman@KWALAPTOP:~/github/openmv$
It looks like the commands failed for some other reason. Can you try copying the line that failed and manually running it?
./stedgeai generate --target stm32n6 --model /home/user/openmv/lib/models/force_int_quant.tflite --relocatable --st-neural-art default@/home/user/openmv/lib/stai/scripts/neuralart.json --workspace /home/user/openmv/build/OPENMV_N6/lib/models/force_int_quant/workspace --output /home/user/openmv/build/OPENMV_N6/lib/models/force_int_quant/gen --verbosity 1