When we try out the Multiply or Addition operation and to do that we made the below changes in the simpleserial-base.c code but we are getting the below warning.Though the graph is getting generated, but unable to understand if the output is correct and we are going in the right direction.
Just changes this part of the code in - simpleserial-base.c and nothing else,
uint8_t get_pt(uint8_t* pt, uint8_t len)
{/***********************************
Start user-specific code here.
*/trigger_high();
volatile long int A = 0x2BAA;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
A *= 2;
//16 hex bytes held in 'pt' were sent
//from the computer. Store your response
//back into 'pt', which will send 16 bytes
//back to computer. Can ignore of course if
//not needed
trigger_low();
// End user-specific code here.
/******************************** */
//simpleserial_put('r',sizeof(A), pt);
return 0x00;
}
(ChipWhisperer Target WARNING|File SimpleSerial.py:454) Unexpected start to command: z
