As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Difference between revisions of "SimpleSerial Protocol V1 Detected Slow"

From ChipWhisperer Wiki
Jump to: navigation, search
(Created page with "When capturing traces, you may notice a message printed about detection of protocol type: <syntaxhighlight> INFO - SimpleSerial: protocol V1.0 detected INFO - Capture complet...")
 
 
Line 1: Line 1:
 
When capturing traces, you may notice a message printed about detection of protocol type:
 
When capturing traces, you may notice a message printed about detection of protocol type:
  
<syntaxhighlight>
+
INFO - SimpleSerial: protocol V1.0 detected
INFO - SimpleSerial: protocol V1.0 detected
+
INFO - Capture completed.
INFO - Capture completed.
+
INFO - SimpleSerial: protocol V1.0 detected
INFO - SimpleSerial: protocol V1.0 detected
+
INFO - Capture completed.
INFO - Capture completed.
+
INFO - SimpleSerial: protocol V1.0 detected
INFO - SimpleSerial: protocol V1.0 detected
+
INFO - Capture completed.
INFO - Capture completed.
+
INFO - SimpleSerial: protocol V1.0 detected
INFO - SimpleSerial: protocol V1.0 detected
+
INFO - Capture completed.
INFO - Capture completed.
+
</syntaxhighlight>
+
  
 
This happens with the basic SimpleSerial protocol. There are two versions of this protocol: V1.0 does not have acknowledgements, and V1.1 does. By default the system will look for an ACK to a basic message, and if no ACK is found falls back to the V1.0 protocol.
 
This happens with the basic SimpleSerial protocol. There are two versions of this protocol: V1.0 does not have acknowledgements, and V1.1 does. By default the system will look for an ACK to a basic message, and if no ACK is found falls back to the V1.0 protocol.

Latest revision as of 09:21, 25 April 2017

When capturing traces, you may notice a message printed about detection of protocol type:

INFO - SimpleSerial: protocol V1.0 detected
INFO - Capture completed.
INFO - SimpleSerial: protocol V1.0 detected
INFO - Capture completed.
INFO - SimpleSerial: protocol V1.0 detected
INFO - Capture completed.
INFO - SimpleSerial: protocol V1.0 detected
INFO - Capture completed.

This happens with the basic SimpleSerial protocol. There are two versions of this protocol: V1.0 does not have acknowledgements, and V1.1 does. By default the system will look for an ACK to a basic message, and if no ACK is found falls back to the V1.0 protocol.

If the system detects an ACK in response to the first message, it will use V1.1 protocol. Because you may be hot-swapping target boards, this check is done on each "Capture 1" (but only at the start of a "Capture M", since you wouldn't change targets mid-capture).

There is a slight delay during this version check. You can speed up the response by manually selecting the protocol version:

Ss version.png