forked from M-Labs/artiq-zynq
downconn fw: use debug mem print
This commit is contained in:
parent
5090f2814d
commit
6231795418
|
@ -70,6 +70,8 @@ pub fn loopback_testing(channel: usize, timer: &mut GlobalTimer, speed: CXP_SPEE
|
||||||
info!("packet type = {:#06X}", (CXP[channel].downconn_packet_type_read)());
|
info!("packet type = {:#06X}", (CXP[channel].downconn_packet_type_read)());
|
||||||
|
|
||||||
cxp_proto::receive(channel).expect("loopback gtx rx error");
|
cxp_proto::receive(channel).expect("loopback gtx rx error");
|
||||||
|
cxp_proto::downconn_debug_mem_print(channel);
|
||||||
|
|
||||||
// DEBUG: print loopback packets
|
// DEBUG: print loopback packets
|
||||||
const LEN: usize = 20;
|
const LEN: usize = 20;
|
||||||
let mut pak_arr: [u32; LEN] = [0; LEN];
|
let mut pak_arr: [u32; LEN] = [0; LEN];
|
||||||
|
|
Loading…
Reference in New Issue