fachat
Experienced Member
It would be good to see the more detailled traces on the fails. The PET sets ATN lo when it wants to start an action, but then checks NRFD and/or NDAC low to see if there actually is a device attached. If it does not detect that, it sets ATN high again without further ado.I've monitored the ATN, NDAC and NRFD lines and some others. This shows the states during a reset and then 5 dir commands. The first two returned full listings. The third and fifth returned nothing, and the fourth returned a partial listing. This was all within the space of a minute. There are a few more detailed sections of these, but they seem to show that ATN doesn't stay low on the two fails.
You should set the time resolution on the scope such that you see the whole time where ATN is low (which is the full command transfer, and should be two bytes, LISTEN(device) + OPEN(secaddr) when ok, or ...??? when not.
André