xmos / xscope_fileio

FileIO interface over xscope
Other
2 stars 10 forks source link

Long device prints get split with multiple [DEVICE] #5

Closed ed-xmos closed 3 years ago

ed-xmos commented 3 years ago
[DEVICE] Dumping at addr: 0xe1e60:
[DEVICE] 0x3643c8b2 0x29bc794b, 0xfaacc7ed 0x225fc106,  0xcdaece14 0xc1c83[DEVICE] 76e, 0xee78cbde 0x18f4eae3,  0xf96eb4f1 0xe00d0dd3,  0xa48b925 0xf[DEVICE] 4d4ca72,  0xd4c0f316 0xd826502d,  0x26df8991 0xce3ed6e9,  
[DEVICE] 0x6f32e58 0x2c63cd77,  0xfadac8db 0xff2f69f4,  0xe59dc0bc 0xf9bb9f[DEVICE] 89, 0x19a34ffe 0x28a7c235,  0xd662b721 0xd05e6eee,  0xde7dbbdb 0xd[DEVICE] 6d4473c, 0xdee2b798 0xdf8489c6,  0xfed57594 0xdf92e9ac,  

This can be a problem when parsing the output. Looks like the host app splits them into smaller chunks. We should not print [DEVICE] until a linefeed has been received

ed-xmos commented 3 years ago

Fixed by https://github.com/xmos/xscope_fileio/pull/6