forked from M-Labs/artiq-zynq
downconn FW: add packet & decode error
This commit is contained in:
parent
dcc3fac2aa
commit
2a831b437f
|
@ -53,6 +53,9 @@ pub fn loopback_testing(timer: &mut GlobalTimer, speed: CXP_SPEED) {
|
||||||
csr::cxp::downconn_trig_clr_write(1);
|
csr::cxp::downconn_trig_clr_write(1);
|
||||||
info!("after clr trig ack = {}", csr::cxp::downconn_trig_ack_read());
|
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: investigate how to make my packet appear
|
||||||
// TODO: discard idle word
|
// TODO: discard idle word
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue