According to the documentation, chipwhisperer 5.5 adds a “segmented capture” mode that allows for faster capture. Is there already a complete python example on how to use the segmented mode? In particular, how do I get the ADC in segment mode?
Thanks much!
Yup, the example notebook is:
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Segmented Buffer Example\n",
"\n",
"The segmented buffer splits the ChipWhisperer-Lite/Pro sample buffer (24K/100K) into little segments. When you are doing a capture of small traces (such as with Hardware AES), you end up with a case where our buffer looks like this:\n",
"\n",
" [ ~~~~~~................................................... ]\n",
" | |\n",
" One power trace -+ Empty Space --+\n",
" \n",
"We need to have the overhead of unload the buffer for that little bit of data. With segmented capture, we instead do this:\n",
"\n",
" [ ~~~~~~|~~~~~~|~~~~~~|~~~~~~|~~~~~~|~~~~~~|~~~~~~|~~~~~~|~ ]\n",
" | | \\ / |\n",
" Power trace 1 -+ | | Partial trace---+\n",
" Power trace 2 ----------+ |\n",
This file has been truncated. show original
Alex
1 Like