Open cyberxnomad opened 2 years ago
Several questions for you:
Assuming you are connecting/disconnecting the SWD cable to some board (and not USB), then this is the expected behaviour. If there's nothing on the other end of the SWD interface, you'll of course get a "No ACK received" error. There's really nothing else we can do in that case!
If the SW physical interface is not connected,
No ACK receive
will be printed every two seconds. After connecting the SW interface, disconnecting the physical connection duringsession.close()
will throw an uncaught exception. By the way, it takes 5 seconds to executesession.close()
.