🦊:foxsi-4matter $ ./bin/formatter_no_cmos_init --verbose --config foxsi4-commands/systems.json 
log file: log/auto_2023-12-22_11:41:44.log
verbose printing on
running without UART interfaces.
reading file from foxsi4-commands/systems.json
finding systems...
adding new System:
	name:    gse
	id code: 0
	added an endpoint: (udp)192.168.1.118:9999
	no timing info provided for commanded system gse
adding new System:
	name:    downlink
	id code: 5
	added an endpoint: (tcp)224.1.1.0:8888
	no timing info provided for commanded system downlink
adding new System:
	name:    uplink
	id code: 6
	has uart!
adding new System:
	name:    formatter
	id code: 1
local endpoint: 192.168.1.8
	no timing info provided for commanded system formatter
adding new System:
	name:    housekeeping
	id code: 2
	added an endpoint: (tcp)192.168.1.16:7777
found item: intro
found item: pow
found item: rtd
adding new System:
	name:    power
	id code: 3
	no timing info provided for commanded system power
adding new System:
	name:    saas
	id code: 4
	no timing info provided for commanded system saas
adding new System:
	name:    cdtede
	id code: 8
	added an endpoint: (tcp)192.168.1.100:10030
adding new System:
	name:    cdte1
	id code: 9
	added an endpoint: (tcp)192.168.1.100:10030
found item: hk
found item: pc
adding new System:
	name:    cdte2
	id code: 10
	added an endpoint: (tcp)192.168.1.100:10030
found item: hk
found item: pc
adding new System:
	name:    cdte3
	id code: 11
	added an endpoint: (tcp)192.168.1.100:10030
found item: hk
found item: pc
adding new System:
	name:    cdte4
	id code: 12
	added an endpoint: (tcp)192.168.1.100:10030
found item: hk
found item: pc
adding new System:
	name:    timepix
	id code: 13
	has uart!
found item: tpx
adding new System:
	name:    cmos1
	id code: 14
	added an endpoint: (tcp)192.168.1.100:10030
found item: pc
found item: ql
adding new System:
	name:    cmos2
	id code: 15
	added an endpoint: (tcp)192.168.1.100:10030
found item: hk
found item: pc
found item: ql
adding new System:
	name:    broadcast
	id code: 254
	no timing info provided for commanded system broadcast
	adding commands for cmos1, 14...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for timepix, 13...
	added system commands to deck
	adding commands for cdte4, 12...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for cdte3, 11...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for cdte2, 10...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for cdte1, 9...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for cdtede, 8...
	added system commands to deck
	adding commands for cmos2, 15...
	this Command was initialized as a read-command, but expects a zero-length reply
	added system commands to deck
	adding commands for housekeeping, 2...
	added system commands to deck
System does not contain requested buffer type: hk!
System does not contain requested buffer type: hk!
Timing for uplink: Timing::
	period 			= 1 ms
	command 		= 0 ms
	request 		= 0 ms
	reply 			= 1 ms
	idle 			= 0 ms
	retry_max_count 	= 1
	timeout 		= 10 ms
	intercommand_space 	= 3 ms

creating DBE:
	last_packet_size:	780
	source_frame_size:	32780
	max_packet_size:	2000
	packets_per_frame:	17
DownlinkBufferElement::
	max_packet_size 	= 2000
	packets_per_frame 	= 17
	this_packet_index 	= 1
	type 			= pc
	payload.size() 		= 0
	system.name, .hex 	= cdte1, 9

set frame
DownlinkBufferElement::
	max_packet_size 	= 2000
	packets_per_frame 	= 17
	this_packet_index 	= 1
	type 			= pc
	payload.size() 		= 1992
	system.name, .hex 	= cdte1, 9

endpoints: 
uplink: 
uart: 
machine: 
trying to set ::reuse_address
opening serial ports...
	opening /dev/ttyAMA1
	opening /dev/ttyAMA2
loop: 

initializing housekeeping system
in sync_send_command_to_system(), sending 0x01 ff 
in sync_send_command_to_system(), sending 0x02 ff 
in sync_send_command_to_system(), sending 0x01 f0 
in sync_send_command_to_system(), sending 0x02 f0 
in sync_send_command_to_system(), sending 0x04 ff 

initializing timepix system
	sending ping...
in sync_send_command_to_system(), sending 0x80 
waiting for 1 B response
uart read timed out!
TransportLayerMachine::read() attempt 0 failed.
uart read timed out!
TransportLayerMachine::read() attempt 1 failed.
uart read timed out!
TransportLayerMachine::read() attempt 2 failed.
All TransportLayerMachine::read() attempts failed!
got no response from timepix. Will try to talk to it anyway.
initializing cdte system
checking canister status...
in sync_send_command_to_system(), sending 000000000000000000000016 0102 fe 01 4d 02 00000103 fe 0000 00 0000000c 000004 3c 
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size!
	last header access: 24
message too short to parse!
canisters status: 0x
got too-short canister status reply! Abandoning CdTe.
got too-short canister status reply! Abandoning CdTe.
got too-short canister status reply! Abandoning CdTe.
got too-short canister status reply! Abandoning CdTe.
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0100010101013c3c3c3c 3e 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!
trying new write...
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0100020202023c3c3c3c a8 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0100030303033c3c3c3c da 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0101030300003c3c3c3c 55 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0100060606003c3c3c3c 94 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!
in sync_send_command_to_system(), sending 000000000000000000000023 0102 fe 01 7d 02 00000103 fe 0000 00 00000000 00000c b5 3c3c0101010101013c3c3c3c 12 
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 0!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 1!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 2!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 3!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 4!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 5!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 6!
	expecting reply of length 20 B...
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size (0 B) on try 7!

initializing cmos system
checking cmos1 status...
in sync_send_command_to_system(), sending 000000000000000000000015 06 67 01 4d 02 00000003 fe 0000 00 000001a0 000004 39 
	last header access: 24
	vector data length field result: 
		0
		0
		0
		4

	converted data length field result: 
		4
cmos1 linetime: 0xa4 95 7a 00 
checking cmos2 status...
in sync_send_command_to_system(), sending 000000000000000000000015 09 68 01 4d 02 00000003 fe 0000 00 000001a0 000004 22 
TransportLayerMachine::read() attempt 0 failed.
TransportLayerMachine::read() attempt 1 failed.
TransportLayerMachine::read() attempt 2 failed.
TransportLayerMachine::read() attempt 3 failed.
TransportLayerMachine::read() attempt 4 failed.
All TransportLayerMachine::read() attempts failed!
got wrong reply size!
could not receive from cmos2.
setup done
in sync_udp_receive_to_uplink_buffer()

current system cdte1 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte2 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte3 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte4 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

system management fell through in Circle for cdtede
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

managing cmos1
in sync_send_buffer_commands_to_system()
no commands in queue
in sync_remote_buffer_transaction() for cmos1
	can access ring buffer parameters
	write pointer width: 4
	sending read command: 000000000000000000000015 06 67 01 4d 02 00000003 fe 0000 00 00000248 000004 63 
	requested remote write pointer
	got remote write pointer, reply length 29
000000000000000000000011 67 01 09 00 fe 0000 00 000004 03 00102606 eb 
	last header access: 24
	vector data length field result: 
		0
		0
		0
		4

	converted data length field result: 
		4
	extracted write pointer from reply: 0x00 10 26 06 
	found cmos, swapped endianness
	got pointer to fp: FramePacketizer::
	header_size 			= 8
	frame.size() 			= 0
	max_packet_size 		= 2000
	packets_per_frame 		= 297
	packets_remaining_in_frame 	= 297
	system.name, system.hex 	= cmos1, 14
	type 				= pc
	got pointer to pf: PacketFramer::
	frame_size 			= 590848
	frame.size() 			= 0
	frame_done 			= 0
	packets_per_frame 		= 329
	packet_counter 			= 0
	system.name, system.hex 	= cmos1, 14
	type 				= pc
	static_strip_header_size 	= 24
	static_strip_footer_size 	= 1
	initial_strip_header_size 	= 0
	initial_strip_footer_size 	= 0
	subsequent_strip_header_size 	= 0
	subsequent_strip_footer_size 	= 0
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
		waiting to receive 1825 from system
	got packet of size 1825 for frame with size 590400 and max size 590848. shrinking. 
	set frame packetizer frame
	packet framer frame.size(): 590848
	pushed ring buffer data to downlink buffer
in sync_send_command_to_system(), sending 000000000000000000000015 06 67 01 4d 02 00000003 fe 0000 00 00000100 000218 84 
System does not contain requested buffer type: hk!
creating DBE:
	last_packet_size:	0
	source_frame_size:	0
	max_packet_size:	2000
	packets_per_frame:	0
future exception in DownlinkBufferElement::set_this_packet_index for desired index 1. State: DownlinkBufferElement::
	max_packet_size 	= 2000
	packets_per_frame 	= 0
	this_packet_index 	= 0
	type 			= hk
	payload.size() 		= 0
	system.name, .hex 	= cmos1, 14

in TransportLayerMachine::sync_udp_send_downlink_buffer()
	waiting 44 ms
	waiting 356 ms
	waiting 44 ms
in sync_udp_receive_to_uplink_buffer()

managing cmos2
in sync_send_buffer_commands_to_system()
no commands in queue
in sync_remote_buffer_transaction() for cmos2
	can access ring buffer parameters
	write pointer width: 4
	sending read command: 000000000000000000000015 09 68 01 4d 02 00000003 fe 0000 00 00000248 000004 78 
	requested remote write pointer
TransportLayerMachine::read_some() attempt 0 failed.
TransportLayerMachine::read_some() attempt 1 failed.
TransportLayerMachine::read_some() attempt 2 failed.
TransportLayerMachine::read_some() attempt 3 failed.
TransportLayerMachine::read_some() attempt 4 failed.
All TransportLayerMachine::read_some() attempts failed!
	got remote write pointer, reply length 0
received only 0 of data (26 requred):
	0x
in TransportLayerMachine::sync_udp_send_downlink_buffer()
	waiting 44 ms
	waiting 356 ms
	waiting 44 ms
in sync_udp_receive_to_uplink_buffer()

managing housekeeping system
in sync_send_buffer_commands_to_system()
no commands in queue
in sync_send_command_to_system(), sending 0x01 f2 
in sync_send_command_to_system(), sending 0x02 f2 
in sync_send_command_to_system(), sending 0x04 20 
in sync_send_command_to_system(), sending 0x07 0b 
in sync_send_command_to_system(), sending 0x07 0f 
in sync_send_command_to_system(), sending 0x07 0e 
adc:	0x09b714a22a263a3748c8588a68927897889c989aa892b896c899d88ee88df8d5
stt:	0x0000
clk:	0x608f
err:	0x0000
creating DBE:
	last_packet_size:	256
	source_frame_size:	256
	max_packet_size:	2000
	packets_per_frame:	1
creating DBE:
	last_packet_size:	256
	source_frame_size:	256
	max_packet_size:	2000
	packets_per_frame:	1
creating DBE:
	last_packet_size:	256
	source_frame_size:	256
	max_packet_size:	2000
	packets_per_frame:	1
creating DBE:
	last_packet_size:	256
	source_frame_size:	256
	max_packet_size:	2000
	packets_per_frame:	1
in TransportLayerMachine::sync_udp_send_downlink_buffer()
in sync_send_command_to_system(), sending 0x01 f0 
in sync_send_command_to_system(), sending 0x02 f0 
	waiting 0 ms
	waiting 0 ms
	waiting 0 ms
in sync_udp_receive_to_uplink_buffer()

managing timepix system
in sync_send_buffer_commands_to_system()
no commands in queue
	sending 0x8a
	sending 0x88
	sending 0x81
in sync_send_command_to_system(), sending 0x8a 
waiting for 1 B response
uart read timed out!
TransportLayerMachine::read() attempt 0 failed.
uart read timed out!
TransportLayerMachine::read() attempt 1 failed.
uart read timed out!
TransportLayerMachine::read() attempt 2 failed.
All TransportLayerMachine::read() attempts failed!
in sync_send_command_to_system(), sending 0x88 
waiting for 27 B response
uart read timed out!
TransportLayerMachine::read() attempt 0 failed.
uart read timed out!
TransportLayerMachine::read() attempt 1 failed.
uart read timed out!
TransportLayerMachine::read() attempt 2 failed.
All TransportLayerMachine::read() attempts failed!
in sync_send_command_to_system(), sending 0x81 
waiting for 4 B response
uart read timed out!
TransportLayerMachine::read() attempt 0 failed.
uart read timed out!
TransportLayerMachine::read() attempt 1 failed.
uart read timed out!
TransportLayerMachine::read() attempt 2 failed.
All TransportLayerMachine::read() attempts failed!
	sent all
	resized all
	resized all
creating DBE:
	last_packet_size:	0
	source_frame_size:	0
	max_packet_size:	2000
	packets_per_frame:	0
	buffered downlink
future exception in DownlinkBufferElement::set_this_packet_index for desired index 1. State: DownlinkBufferElement::
	max_packet_size 	= 2000
	packets_per_frame 	= 0
	this_packet_index 	= 0
	type 			= tpx
	payload.size() 		= 0
	system.name, .hex 	= timepix, 13

	queued downlink
in TransportLayerMachine::sync_udp_send_downlink_buffer()
	sent downlink
	waiting 0 ms
	waiting 0 ms
	waiting 0 ms
in sync_udp_receive_to_uplink_buffer()
udp received!
received uplink: 0x0e 0f 

	stored uplink commands

system management fell through in Circle for uplink
	waiting 0 ms
	waiting 0 ms
	waiting 0 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte1 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte2 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte3 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

current system cdte4 was abandoned! Continuing.
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

system management fell through in Circle for cdtede
	waiting 18 ms
	waiting 148 ms
	waiting 18 ms
in sync_udp_receive_to_uplink_buffer()

managing cmos1
in sync_send_buffer_commands_to_system()
got command for system. Sending...
00000000000000000000001a 06 67 01 7d 02 00000003 fe 0000 00 00000080 000004 d8 011085f0 02 
in sync_remote_buffer_transaction() for cmos1
	can access ring buffer parameters
	write pointer width: 4
	sending read command: 000000000000000000000015 06 67 01 4d 02 00000003 fe 0000 00 00000240 000004 85 
	requested remote write pointer
	got remote write pointer, reply length 20
received only 20 of data (26 requred):
	0x00 00 00 00 00 00 00 00 00 00 00 08 67 01 29 00 fe 00 00 22 
in sync_send_command_to_system(), sending 000000000000000000000015 06 67 01 4d 02 00000003 fe 0000 00 00000100 000218 84 
System does not contain requested buffer type: hk!
creating DBE:
	last_packet_size:	0
	source_frame_size:	0
	max_packet_size:	2000
	packets_per_frame:	0
future exception in DownlinkBufferElement::set_this_packet_index for desired index 1. State: DownlinkBufferElement::
	max_packet_size 	= 2000
	packets_per_frame 	= 0
	this_packet_index 	= 0
	type 			= hk
	payload.size() 		= 0
	system.name, .hex 	= cmos1, 14

in TransportLayerMachine::sync_udp_send_downlink_buffer()
	waiting 44 ms
	waiting 356 ms
	waiting 44 ms
in sync_udp_receive_to_uplink_buffer()

managing cmos2
in sync_send_buffer_commands_to_system()
no commands in queue
in sync_remote_buffer_transaction() for cmos2
	can access ring buffer parameters
	write pointer width: 4
	sending read command: 000000000000000000000015 09 68 01 4d 02 00000003 fe 0000 00 00000240 000004 9e 
	requested remote write pointer
	got remote write pointer, reply length 29
000000000000000000000000 00 00 00 00 00 0000 00 000000 00 00000000 dd 
	last header access: 24
	vector data length field result: 
		0
		0
		0
		0

	converted data length field result: 
		0
got bad write pointer length!
	extracted write pointer from reply: 0x
vector::_M_range_check: __n (which is 3) >= this->size() (which is 0)
exiting
🦊:foxsi-4matter $ 
