Query the initial version of the TPM.
TPMFactoryUpd.exe -info

Search for this file with the version and search for the target version in the file.
Adjust the target version in the file TPM12_latest.cfg so that it matches the file.
TPMFactoryUpd.exe -update config-file -config TPM20_latest.cfg

A good help is
https://silvenga.com/posts/upgrading-firmware-infineon-tpm/