2
0
forked from Ivasoft/DSView

Print the firmware version for FPGA bin

This commit is contained in:
dreamsourcelabTAI
2023-06-19 19:44:45 +08:00
parent 7307b16dee
commit 0bc133601a

View File

@@ -1925,7 +1925,8 @@ SR_PRIV int dsl_dev_open(struct sr_dev_driver *di, struct sr_dev_inst *sdi, gboo
}
if (hw_info != DSL_HDL_VERSION) {
sr_err("%s: HDL verison incompatible!", __func__);
sr_err("%s: HDL verison incompatible! device:%02X, target:%02X", __func__,
hw_info, DSL_HDL_VERSION);
ds_set_last_error(SR_ERR_DEVICE_FIRMWARE_VERSION_LOW);
sdi->status = SR_ST_INCOMPATIBLE;
return SR_ERR;