Hi @Daid and @Steve,
I encountered a similar issue while trying to connect my Ultimaker 2 Extended + to a raspberry pi. I was trying to get data from temperature sensors while the print was in progress. But every time I sent in a request via serial from the raspberry pi , the printer would reset. After reading your post, I have some perspective on why that was happening.
However, my intention here is not to print via USB but rather just use it for getting temperature values. One crude way that I figured out was to establish the serial connection first and then start the print using the dial and display of the printer. But it seems that doing this might be interfering with the printer functions as the display intermittently shows "Printing using USB".
Is there a way I can work around this ? And how frequently can I request such data from the printer ? Are there any serial buffer considerations?