From 2a831b437fcf3ea8d71ae49f668a790c0d56e1be Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 20 Sep 2024 12:44:35 +0800 Subject: [PATCH] downconn FW: add packet & decode error --- src/libboard_artiq/src/cxp_downconn.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libboard_artiq/src/cxp_downconn.rs b/src/libboard_artiq/src/cxp_downconn.rs index 5b2bf59..496b9d6 100644 --- a/src/libboard_artiq/src/cxp_downconn.rs +++ b/src/libboard_artiq/src/cxp_downconn.rs @@ -53,6 +53,9 @@ pub fn loopback_testing(timer: &mut GlobalTimer, speed: CXP_SPEED) { csr::cxp::downconn_trig_clr_write(1); info!("after clr trig ack = {}", csr::cxp::downconn_trig_ack_read()); + info!("decode error = {}", csr::cxp::downconn_decode_error_read()); + info!("packet type = {:#06X}", csr::cxp::downconn_packet_type_read()); + // TODO: investigate how to make my packet appear // TODO: discard idle word