UCI on Murata Type2AB fails

I am testing the UCI FW from the 1.1.1 SDK, and I have a repeatable failure on the controller side of the run_fira_twr pair, here are the two script outputs.. any idea how I can resolve this??

a long time ago, on 1.0.0 I ran the Type2ab as controller with DWM3001CDL as controlee
but I need Type2AB on both sides now

controller

python scripts/fira/run_fira_twr/run_fira_twr.py -p /dev/ttyACM0  --verbose
Initializing session 42...
07:47:30.739 DEBUG:	send: 21.00.00.05.2a.00.00.00.00
07:47:30.740 DEBUG:	data_recv: 60.01.00.01.01
07:47:30.740 DEBUG:	packet_recv: 60.01.00.01.01
Device -> Ready
07:47:30.740 DEBUG:	data_recv: 41.00.00.05.00.01.00.00.00
07:47:30.740 DEBUG:	packet_recv: 41.00.00.05.00.01.00.00.00
Using Fira 2.0 session handle is : 1
Setting session 1 config ...
    DeviceType (0x0):                   0x1
    DeviceRole (0x11):                  0x1
    MultiNodeMode (0x3):                0x0
    RangingRoundUsage (0x1):            0x2
    DeviceMacAddress (0x6):             0x0
    ChannelNumber (0x4):                0x9
    ScheduleMode (0x22):                0x1
    StsConfig (0x2):                    0x0
    RframeConfig (0x12):                0x3
    ResultReportConfig (0x2e):          0xb
    VendorId (0x27):                    0x708
    StaticStsIv (0x28):                 0x60504030201
    AoaResultReq (0xd):                 0x1
    UwbInitiationTime (0x2b):           0x0
    PreambleCodeIndex (0x14):           0xa
    SfdId (0x15):                       0x2
    SlotDuration (0x8):                 0x960
    RangingInterval (0x9):              0xc8
    SlotsPerRr (0x1b):                  0x19
    MaxNumberOfMeasurements (0x32):     0x0
    HoppingMode (0x2c):                 0x0
    RssiReporting (0x13):               0x0
    BlockStrideLength (0x2d):           0x0
    NumberOfControlees (0x5):           0x1
    DstMacAddress (0x7):                [1]
    KeyRotationRate (0x24):             0x0
    StsLength (0x35):                   0x1
07:47:30.740 DEBUG:	send: 21.03.00.6a.01.00.00.00.1b.00.01.01.11.01.01.03.01.00.01.01.02.06.02.00.00.04.01.09.22.01.01.02.01.00.12.01.03.2e.01.0b.27.02.08.07.28.06.01.02.03.04.05.06.0d.01.01.2b.08.00.00.00.00.00.00.00.00.14.01.0a.15.01.02.08.02.60.09.09.04.c8.00.00.00.1b.01.19.32.02.00.00.2c.01.00.13.01.00.2d.01.00.05.01.01.07.02.01.00.24.01.00.35.01.01
07:47:30.747 DEBUG:	data_recv: 41.03.00.02.00.00
07:47:30.747 DEBUG:	packet_recv: 41.03.00.02.00.00
Starting ranging...
07:47:30.747 DEBUG:	send: 22.00.00.04.01.00.00.00
07:47:30.747 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.00.00
07:47:30.747 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.00.00
Session 1 -> Init (StateChangeWithSessionManagementCommands)
07:47:30.755 DEBUG:	data_recv: 60.01.00.01.ff
07:47:30.755 DEBUG:	packet_recv: 60.01.00.01.ff
Device -> Error
07:47:30.755 DEBUG:	data_recv: 42.00.00.01.00
07:47:30.755 DEBUG:	packet_recv: 42.00.00.01.00
07:47:30.760 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.03.00
07:47:30.760 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.03.00
Session 1 -> Idle (StateChangeWithSessionManagementCommands)
07:47:30.765 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.02.00
07:47:30.765 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.02.00
Session 1 -> Active (StateChangeWithSessionManagementCommands)
07:47:30.770 DEBUG:	data_recv: 62.00.00.38.00.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.01.00.20.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
07:47:30.770 DEBUG:	packet_recv: 62.00.00.38.00.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.01.00.20.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
# Ranging Data:
        session handle:         1
        sequence n:         0
        ranging interval:   200 ms
        measurement type:   Twr
        Mac add size:       2
        primary session id: 0x0
        n of measurement:   1
        # Measurement 1:
            status:             RangingTxFailed (0x20)
            mac address:        00:01 hex
            is nlos meas:       Unknown
            distance:           65535.0 cm
            AoA azimuth:        0.0 deg
            AoA az. FOM:        0.0 %
            AoA elevation:      0.0 deg
            AoA elev. FOM:      0.0
            AoA dest azimuth:   0.0 deg
            AoA dest az. FOM:   0.0 %
            AoA dest elevation: 0.0 deg
            AoA dest elev. FOM: 0.0 %
            slot in error:      0
            rssi:               -0.0 dBm


Stopping ranging...
07:47:40.767 DEBUG:	send: 22.01.00.04.01.00.00.00
07:47:40.769 DEBUG:	data_recv: 42.01.00.01.01
07:47:40.769 DEBUG:	packet_recv: 42.01.00.01.01
ranging_stop failed: Rejected (1)
07:47:40.770 DEBUG:	send: 21.01.00.04.01.00.00.00
07:47:40.771 DEBUG:	data_recv: 41.01.00.01.01
07:47:40.771 DEBUG:	packet_recv: 41.01.00.01.01

controlee

python scripts/fira/run_fira_twr/run_fira_twr.py -p /dev/ttyACM1  --controlee --verbose 
Initializing session 42...
07:47:25.397 DEBUG:	send: 21.00.00.05.2a.00.00.00.00
07:47:25.398 DEBUG:	data_recv: 60.01.00.01.01
07:47:25.398 DEBUG:	packet_recv: 60.01.00.01.01
Device -> Ready
07:47:25.398 DEBUG:	data_recv: 41.00.00.05.00.01.00.00.00
07:47:25.398 DEBUG:	packet_recv: 41.00.00.05.00.01.00.00.00
Using Fira 2.0 session handle is : 1
Setting session 1 config ...
    DeviceType (0x0):                   0x0
    DeviceRole (0x11):                  0x0
    MultiNodeMode (0x3):                0x0
    RangingRoundUsage (0x1):            0x2
    DeviceMacAddress (0x6):             0x1
    ChannelNumber (0x4):                0x9
    ScheduleMode (0x22):                0x1
    StsConfig (0x2):                    0x0
    RframeConfig (0x12):                0x3
    ResultReportConfig (0x2e):          0xb
    VendorId (0x27):                    0x708
    StaticStsIv (0x28):                 0x60504030201
    AoaResultReq (0xd):                 0x1
    UwbInitiationTime (0x2b):           0x0
    PreambleCodeIndex (0x14):           0xa
    SfdId (0x15):                       0x2
    SlotDuration (0x8):                 0x960
    RangingInterval (0x9):              0xc8
    SlotsPerRr (0x1b):                  0x19
    MaxNumberOfMeasurements (0x32):     0x0
    HoppingMode (0x2c):                 0x0
    RssiReporting (0x13):               0x0
    BlockStrideLength (0x2d):           0x0
    NumberOfControlees (0x5):           0x1
    DstMacAddress (0x7):                [0]
    KeyRotationRate (0x24):             0x0
    StsLength (0x35):                   0x1
07:47:25.399 DEBUG:	send: 21.03.00.6a.01.00.00.00.1b.00.01.00.11.01.00.03.01.00.01.01.02.06.02.01.00.04.01.09.22.01.01.02.01.00.12.01.03.2e.01.0b.27.02.08.07.28.06.01.02.03.04.05.06.0d.01.01.2b.08.00.00.00.00.00.00.00.00.14.01.0a.15.01.02.08.02.60.09.09.04.c8.00.00.00.1b.01.19.32.02.00.00.2c.01.00.13.01.00.2d.01.00.05.01.01.07.02.00.00.24.01.00.35.01.01
07:47:25.405 DEBUG:	data_recv: 41.03.00.02.00.00
07:47:25.405 DEBUG:	packet_recv: 41.03.00.02.00.00
Starting ranging...
07:47:25.405 DEBUG:	send: 22.00.00.04.01.00.00.00
07:47:25.413 DEBUG:	data_recv: 42.00.00.01.00
07:47:25.413 DEBUG:	packet_recv: 42.00.00.01.00
07:47:25.413 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.00.00
07:47:25.413 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.00.00
Session 1 -> Init (StateChangeWithSessionManagementCommands)
07:47:25.418 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.03.00
07:47:25.418 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.03.00
Session 1 -> Idle (StateChangeWithSessionManagementCommands)
07:47:25.423 DEBUG:	data_recv: 60.01.00.01.02
07:47:25.423 DEBUG:	packet_recv: 60.01.00.01.02
Device -> Active
07:47:25.428 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.02.00
07:47:25.428 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.02.00
Session 1 -> Active (StateChangeWithSessionManagementCommands)
07:47:25.616 DEBUG:	data_recv: 62.00.00.38.00.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.00.00.21.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
07:47:25.617 DEBUG:	packet_recv: 62.00.00.38.00.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.00.00.21.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
# Ranging Data:
        session handle:         1
        sequence n:         0
        ranging interval:   200 ms
        measurement type:   Twr
        Mac add size:       2
        primary session id: 0x0
        n of measurement:   1
        # Measurement 1:
            status:             RangingRxTimeout (0x21)
            mac address:        00:00 hex
            is nlos meas:       Unknown
            distance:           65535.0 cm
            AoA azimuth:        0.0 deg
            AoA az. FOM:        0.0 %
            AoA elevation:      0.0 deg
            AoA elev. FOM:      0.0
            AoA dest azimuth:   0.0 deg
            AoA dest az. FOM:   0.0 %
            AoA dest elevation: 0.0 deg
            AoA dest elev. FOM: 0.0 %
            slot in error:      0
            rssi:               -0.0 dBm

07:47:25.818 DEBUG:	data_recv: 62.00.00.38.01.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.00.00.21.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
07:47:25.818 DEBUG:	packet_recv: 62.00.00.38.01.00.00.00.01.00.00.00.00.c8.00.00.00.01.00.00.00.00.00.00.00.00.00.00.01.00.00.21.ff.ff.ff.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
# Ranging Data:
        session handle:         1
        sequence n:         1
        ranging interval:   200 ms
        measurement type:   Twr
        Mac add size:       2
        primary session id: 0x0
        n of measurement:   1
        # Measurement 1:
            status:             RangingRxTimeout (0x21)
            mac address:        00:00 hex
            is nlos meas:       Unknown
            distance:           65535.0 cm
            AoA azimuth:        0.0 deg
            AoA az. FOM:        0.0 %
            AoA elevation:      0.0 deg
            AoA elev. FOM:      0.0
            AoA dest azimuth:   0.0 deg
            AoA dest az. FOM:   0.0 %
            AoA dest elevation: 0.0 deg
            AoA dest elev. FOM: 0.0 %
            slot in error:      0
            rssi:               -0.0 dBm
...
# Ranging Data:
        session handle:         1
        sequence n:         48
        ranging interval:   200 ms
        measurement type:   Twr
        Mac add size:       2
        primary session id: 0x0
        n of measurement:   1
        # Measurement 1:
            status:             RangingRxTimeout (0x21)
            mac address:        00:00 hex
            is nlos meas:       Unknown
            distance:           65535.0 cm
            AoA azimuth:        0.0 deg
            AoA az. FOM:        0.0 %
            AoA elevation:      0.0 deg
            AoA elev. FOM:      0.0
            AoA dest azimuth:   0.0 deg
            AoA dest az. FOM:   0.0 %
            AoA dest elevation: 0.0 deg
            AoA dest elev. FOM: 0.0 %
            slot in error:      0
            rssi:               -0.0 dBm


Stopping ranging...
07:47:35.424 DEBUG:	send: 22.01.00.04.01.00.00.00
07:47:35.426 DEBUG:	data_recv: 42.01.00.01.00
07:47:35.427 DEBUG:	packet_recv: 42.01.00.01.00
07:47:35.427 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.03.00
07:47:35.427 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.03.00
Session 1 -> Idle (StateChangeWithSessionManagementCommands)
07:47:35.428 DEBUG:	data_recv: 60.01.00.01.01
07:47:35.428 DEBUG:	packet_recv: 60.01.00.01.01
Device -> Ready
Deinitializing session...
07:47:35.428 DEBUG:	send: 21.01.00.04.01.00.00.00
07:47:35.430 DEBUG:	data_recv: 41.01.00.01.00
07:47:35.431 DEBUG:	packet_recv: 41.01.00.01.00
07:47:35.431 DEBUG:	data_recv: 61.02.00.06.01.00.00.00.01.00
07:47:35.431 DEBUG:	packet_recv: 61.02.00.06.01.00.00.00.01.00
Session 1 -> DeInit (StateChangeWithSessionManagementCommands)
Ok

here are updated outputs from the run_fira_twr scrips after I was able to load the calibration on the 5.0 board

attached are the output of the getdeviceinfo.py script.. ver 4.0 first, 5.0 second

and the output scripts from run_fira_twr.py in each direction*0.txt is the Ver 4.0 board, *1.txt is the 5.0 board controller0.txt >controlee1.txt controller1.txt >controlee0.txt these are run on the same machine, 2 different ports.

run_fira_twr.py -p /dev/ttyACM? --verbose, and for controlee add --controlee (and use opposite port from controller, 0/1 or 1/0)

devinfo
controller0.txtcontrolee1.txt

controller1.txtcontrolee0.txt

this is the UCI firmware, built from 1.1.1 sdk

interesting item

the Binary shipped with 1.1.1 for Type2AB board is

-rw-r–r–@ 1 sam staff 743504 Aug 14 2025 Type2AB_EVB-UCI-FreeRTOS.hex

the binary built by the build system release type is

-rw-r–r-- 1 sam staff 754386 Mar 11 22:15 Type2AB_EVB-UCI-FreeRTOS.hex

11k bigger