# Stop dxrt.service before FW upgrade
systemctl stop dxrt.service

# Download NPU FW v2.7.3
wget https://github.com/DEEPX-AI/dx_fw/raw/main/m1/2.7.3/mdot2/fw.bin

# For DX-M1M module, you need to download the M1M FW bin instead of the M1 FW bin
# wget https://github.com/DEEPX-AI/dx_fw/raw/main/m1m/2.7.3/mdot2/fw.bin

# Upgrade NPU FW to v2.7.3
dxrt-cli -u fw.bin

# Restart dxrt.service after FW upgrade
systemctl start dxrt.service
