Flash RH850U2A16 custom hex file via Thor commands is not working

DRIVE OS Version: 7.0.3

Issue Description: Flash RH850U2A16 custom hex file via Thor commands is not working, via MCU_Flashing.py USB is working.

I tried to flash the RH850 via Thor with the original hex file and is working. I tried to flash a custom hex file for rh850, with MCU_Flashing.py is working but via Thor not and i got this

thor-endp@tegra-ubuntu:/$ sudo /bin/bash /etc/systemd/scripts/nv_renesas_check_fw.sh -force_update \ DRIVE-V7.0.3-P3960
-AFW-RH850-U2A16-3.00.03.hex
starting Renesas FW checking…
Checking Ping to Renesas
Ping to Renesas successful
Renesas Update : Main FW selected: AFW
Rootfs FW version is 3.00.03.0, DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-3.00.03
Response_From_Renesas
Flashed FW version is 1.00.03.00
Syncing File System done
flash_mcu_fw called
FW version is not present in HexFile
Read Hexfile Version failed. not supported in the hexfile
Force Update MCU FW Failed

Dear @gabriele-andrea.blasciuc1 ,
Does that mean, you could flash the hex files provided as part of DRIVE OS but custom hex you prepared has issue?

Yes, i would like to know what lead to “version info not found in hex file” as i cannot see the source code as its a lib. with MCU_Flashing is working, the mcu version is found at the address specified. For flash via thor is seems that version is expected to be at another location?

DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-3.00.03.txt (4.0 MB)

DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-2.03.12.txt (2.7 MB)

custom hex file is the one with 3.00.03

original 2.03.12

any hint?

Do you see any confirmation message like printing version info in log when using MCU_flashing.py?

Could you please provide any update for this topic?