DFP exceution failur

Iam currently running benchmarks on the MXA device using the mx_bench command with 1,000 frames of random data.

This setup was working previously, however, at the moment mx_bench is no longer running successfully, and any command related to benchmarking fails with the following errors:

(mx) memryx@memryxPC:~/Downloads$ mx_bench -v -d pr.dfp -f 1000

╭─────────────────┬─────┬─────┬────────╮
│ │ │ │ │
│ │ ├──── │
│ │ │ ╞══ ══╡ │
│ │ │ │ ├──── │
│ │ │ │ │ │ │
╰─────┴─────┴─────┴─────┴─────┴────────╯

╔══════════════════════════════════════╗
║ Benchmark ║
║ Copyright (c) 2019-2025 MemryX Inc. ║
╚══════════════════════════════════════╝

Driver reqruied firmware anti_rollback cnt >= 6
Cur firmware: cnt 0 ver 0x0
ioctl MEMX_CONFIG_MPU_GROUP failed
Error loading DFP, try resetting the board
Traceback (most recent call last):
File “/home/memryx/mx/bin/mx_bench”, line 7, in
sys.exit(main())
^^^^^^
File “memryx/runtime/benchmark.py”, line 494, in memryx.runtime.benchmark.main
File “memryx/utilities/decorators.py”, line 67, in memryx.utilities.decorators.initializer_namespace.wrapper
File “memryx/runtime/benchmark.py”, line 62, in memryx.runtime.benchmark.Benchmark.init
File “memryx/runtime/accl.py”, line 898, in memryx.runtime.accl.SyncAccl.init
File “memryx/runtime/accl.py”, line 220, in memryx.runtime.accl.Accl.init
RuntimeError: Init DFP Runner failed!

Hi, that looks like the M.2’s firmware needs an update. Can you please try:

# unload kernel module (less chance of issues)
sudo rmmod memx_cascade_plus_pcie

# flash firmware
sudo mxfw_pcie_update_flash -f /lib/firmware/cascade_4chips_flash.bin

And then reboot the system?