From 5c299de3b4460dc9ed8a065fb1f48384361f3a75 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 20 Jan 2020 18:21:29 +0800 Subject: [PATCH] sayma: print DAC status on JESD not ready error --- artiq/firmware/satman/jdcg.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/firmware/satman/jdcg.rs b/artiq/firmware/satman/jdcg.rs index 929c6a121..340b59ce0 100644 --- a/artiq/firmware/satman/jdcg.rs +++ b/artiq/firmware/satman/jdcg.rs @@ -95,7 +95,8 @@ pub mod jdac { return Err("JESD core PHY not done"); } if !jesd::ready(dacno) { - error!("JESD core reported not ready"); + error!("JESD core reported not ready, sending status print request"); + basic_request(dacno, jdac_requests::PRINT_STATUS, 0)?; return Err("JESD core reported not ready"); }