I wrote two files, simpleserial-xor and Makefile, according to the official documentation doc.
And compile them into hex files on the CW308_STM32F3
platform, and import them into the hardware according to the code in Lab2_A
. But I couldn’t capture the energy trace, showing “No trigger seen
”.
Could anyone tell me how to correctly capture energy traces?
simpleserial-xor code
The only change is that the order of simpleserial_addcmd('k', 16, buf)
and simpleserial_addcmd('p', 16, buf)
has been exchanged relative to the document you provided.(The reason why I exchanged them is I think the key should be read first)
Makefile code
By above I got my hex file.
My Lab code
These codes are provided by the Lab2_A
It can be seen that the hex file was been upload to the hardware successfully
But can not capture the traces
I dont know what I did wrong, hoping for your help!Thanks!