From fecaad7af72fc473907d08c645107dbba5226cf8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 19 Oct 2023 15:18:06 +0200 Subject: [PATCH] better printout --- bsp_q7s/obsw.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp_q7s/obsw.cpp b/bsp_q7s/obsw.cpp index f6334b65..d32579b4 100644 --- a/bsp_q7s/obsw.cpp +++ b/bsp_q7s/obsw.cpp @@ -89,6 +89,9 @@ int obsw::obsw(int argc, char* argv[]) { void obsw::autoSwitchHandling() { std::string autoSwitchTarget; auto switchToTarget = [](xsc_libnor_chip_t chip, xsc_libnor_copy_t copy) { + sif::debug << "Detected ASWI=" << autoSwitchTarget + << "in ProASIC scratch buffer, auto-switching to image " << int(chip) << " " + << int(copy) << std::endl; scratch::clearValue(scratch::AUTO_SWITCH_IMAGE); xsc_boot_copy(chip, copy); };