Porting other algorithm in TargetBoard(CW308 - STM32F3)

hello,

i have a question.

I want upload another Algorithm for target board.

then, should i need .hex File? (now i have C code only)

likely
[cw.program_target(scope, prog, “…/…/hardware/victims/firmware/simpleserial-aes/simpleserial-aes-{}.hex”.format(PLATFORM))]

or should i upload directly to the target board?

thanks.

Yes, you’ll have to generate a .hex file, which you can upload using either cw.program_target(), or with an external programmer.

Jean-Pierre

Thank you for answer.

but i have more question.

Is there any other way to upload other than *.hex file?

Or is there another way to change the c code file to a *.hex file?

regards.
Gskim

No, just like any other processor, the STM32 cannot run C code directly.

You’ll need to be familiar with makefiles and compiling for embedded processors. You can use our existing examples (https://github.com/newaetech/chipwhisperer/tree/develop/hardware/victims/firmware) to learn how this works.

I recommend you make a copy of an existing project, like https://github.com/newaetech/chipwhisperer/tree/develop/hardware/victims/firmware/simpleserial-aes, and follow the steps outlined here.

Jean-Pierre