From 0bc133601ad1eeb3fa09210ab6c32cc4e490dc3d Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Mon, 19 Jun 2023 19:44:45 +0800 Subject: [PATCH] Print the firmware version for FPGA bin --- libsigrok4DSL/hardware/DSL/dsl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsigrok4DSL/hardware/DSL/dsl.c b/libsigrok4DSL/hardware/DSL/dsl.c index 686bf6cf..6ac95bfe 100644 --- a/libsigrok4DSL/hardware/DSL/dsl.c +++ b/libsigrok4DSL/hardware/DSL/dsl.c @@ -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;