1
0
Fork 0

downconn fw: use debug mem print

This commit is contained in:
morgan 2024-10-04 12:24:56 +08:00
parent 5090f2814d
commit 6231795418
1 changed files with 2 additions and 0 deletions

View File

@ -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];