root@pi5:/home/pi# hailortcli fw-control identify
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
Serial Number: <N/A>
Part Number: <N/A>
Product Name: <N/A>
above is my board details
root@pi5:/home/pi# hailortcli measure-power
Executing on device: 0001:01:00.0
[HailoRT] [error] Firmware control has failed. Major status: 0x400300b4, Minor status: 0x400300b4
[HailoRT] [error] Firmware major status: CONTROL_PROTOCOL_STATUS_UNSUPPORTED_DEVICE
[HailoRT] [error] Firmware minor status: CONTROL_PROTOCOL_STATUS_UNSUPPORTED_DEVICE
[HailoRT] [error] Opcode HAILO_CONTROL_OPCODE_POWER_MEASUEMENT is not supported on the current board.
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_UNSUPPORTED_OPCODE(48)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_UNSUPPORTED_OPCODE(48)
Failed power measurement, status HAILO_UNSUPPORTED_OPCODE(48)
Failed to execute on device: 0001:01:00.0. status= HAILO_UNSUPPORTED_OPCODE(48)
Power measurement is not supported on the Raspberry Pi AI HAT.
The Hailo-8 M.2 modules have a INA device on board that allows you to measure power. If you want to use a M.2 module on a Raspberry Pi 5, there are multiple options for HATs that you can use. I have tested a few in the past. Have a look at the following post.
Hailo Community - How to connect a Hailo-8 to the Raspberry Pi 5