'NoneType' object has no attribute 'serialstm32f'

We are the recent purchaser of the Chipwhisperer Pro 1200 kit.
We are trying to run the file ‘1 - Connecting to Hardware’, unfortunately we are facing ‘NoneType’ object has no attribute ‘serialstm32f’ when we attempt to run the following command:

cw.program_target(scope, cw.programmers.STM32FProgrammer,"…/hardware/victims/firmware/simpleserial-aes/simpleserial-aes-CW308_STM32F3.hex" )

We have followed all the commands preceding the mentioned one, as same in the ‘1 - Connecting to Hardware file’

Any steps we missed or how should we proceed?


Did the block:

import chipwhisperer as cw
scope = cw.scope()

complete successfully? If so, what does




Yes, it’s working fine now. By mistake, I have disconnected the scope and target before programming. Now it’s working as expected. Sorry, Alex for the delayed response.

No worries, happy to hear you got it working.


Thank you, Alex for your inputs!!