-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Description of the bug
As a general rule, TSP devices have a max write of 1000 characters before a write_termination must exist. In order to execute a command above that max you need to use a script. load_script() currently attempts to write the script body in a single write but does not check if there is a write_termination character before the max write character limit is exceeded.
Steps To Reproduce
dut.write("loadscript overrun \nprint("123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567")\nendscript")
Environment Information
No response
Additional Information
No response