ChipWhisperer Husky - Failed to detect chip

Trying the Jupyter notebook 1 - Connecting to Hardware. Am getting stuck with an error below. Wondering if anyone could help work through this issue?
Equipment:
CW Husky
UFO Board
STM32F Socket Board

%%bash
cd …/hardware/victims/firmware/simpleserial-base/
make PLATFORM=‘CW308_STM32F3’ CRYPTO_TARGET=‘HWAES’

The firmware is building without error however the following code block returns an error.
Is the “PLATFORM” and “CRYPTO_TARGET” correct? I am utilizing the newer socket board so not sure if this requires a different platform?
Is the hex file path correct?

The goal is to eventually get to the voltage glitching module.

#cw.program_target(scope, cw.programmers.XMEGAProgrammer, "path/to/firmware.hex")
cw.program_target(scope, cw.programmers.STM32FProgrammer, "C:/Users/shiva/chipwh~1/cw/home/portable/chipwhisperer/hardware/victims/firmware/simpleserial-base/simpleserial-base-CW308_STM32F3.hex")
#cw.program_target(scope, cw.programmers.AVRProgrammer, "path/to/firmware.hex")
Failed to detect chip. Check following: 
   1. Connections and device power. 
   2. Device has valid clock (or remove clock entirely for internal osc).
   3. On Rev -02 CW308T-STM32Fx boards, BOOT0 is routed to PDIC.
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Cell In[6], line 2
      1 #cw.program_target(scope, cw.programmers.XMEGAProgrammer, "path/to/firmware.hex")
----> 2 cw.program_target(scope, cw.programmers.STM32FProgrammer, "C:/Users/shiva/chipwh~1/cw/home/portable/chipwhisperer/hardware/victims/firmware/simpleserial-base/simpleserial-base-CW308_STM32F3.hex")
      3 #cw.program_target(scope, cw.programmers.AVRProgrammer, "path/to/firmware.hex")

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\__init__.py:176, in program_target(scope, prog_type, fw_path, **kwargs)
    174 prog._logging = None
    175 prog.open()
--> 176 prog.find()
    177 prog.erase()
    178 prog.program(fw_path, memtype="flash", verify=True)

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\api\programmers.py:128, in save_and_restore_pins.<locals>.func_wrapper(self, *args, **kwargs)
    125 target_logger.debug('Changing {} pin configuration'.format(pin_setup))
    127 try:
--> 128     val = func(self, *args, **kwargs)
    129 finally:
    130     target_logger.debug('Restoring {} pin configuration'.format(pin_setup))

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\api\programmers.py:397, in STM32FProgrammer.find(self)
    395 stm32f = self.stm32prog()
    396 stm32f.scope = self.scope
--> 397 sig, chip = stm32f.find()

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py:38, in close_on_fail.<locals>.func_wrapper(self, *args, **kwargs)
     35 @wraps(func)
     36 def func_wrapper(self, *args, **kwargs):
     37     try:
---> 38         return func(self, *args, **kwargs)
     39     except:
     40         self.close_port()

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py:174, in STM32FSerial.find(self, logfunc)
    171     logfunc = print_fun
    173 try:
--> 174     self.initChip()
    175 except IOError:
    176     logfunc("Failed to detect chip. Check following: ")

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py:38, in close_on_fail.<locals>.func_wrapper(self, *args, **kwargs)
     35 @wraps(func)
     36 def func_wrapper(self, *args, **kwargs):
     37     try:
---> 38         return func(self, *args, **kwargs)
     39     except:
     40         self.close_port()

File c:\users\shiva\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py:348, in STM32FSerial.initChip(self)
    345         fails += 1
    347 self.releaseChip()
--> 348 raise IOError("Could not detect STM32F, check connections, BOOT MODE entry setup")

OSError: Could not detect STM32F, check connections, BOOT MODE entry setup


Failed to detect chip. Check following: 
   1. Connections and device power. 
   2. Device has valid clock (or remove clock entirely for internal osc).
   3. On Rev -02 CW308T-STM32Fx boards, BOOT0 is routed to PDIC.

There are several possible reasons:

  1. Power supply. Measure the voltage between the SHUNTL and GROUND.
  2. Clock is not passed to the target SoC. Measure clock on the J5-3 (CLOCKIN) pin.
  3. Something wrong with the SoC in the socket. Check position of the SoC in the socket. Probably, connection between the socket and the SoC is not stable.

BTW, did you also try to program the SoC by means of an external STM programmer (I noticed the second 20-pin cable connected to the J6)?

1- Disconnect the external programmer from J6
2- Looks like there’s a problem powering the target: the green VCC 1.2, 1.8, 3.3 LEDs to the right of the target should be on. I can’t quite tell from the picture but make sure the corresponding LDO SRC switches (on the far right side of the 308) are set to J1/CW. If the green LEDs still don’t turn on, do they turn on if you remove the STM32?

Were the switches in the correct position originally (when the VCC lights weren’t on)? If so, that suggests that the STM32 wasn’t correctly inserted and may have gotten damaged…

Do you have another STM32 to try with, or another UFO target board?

No. Follow the notebook instructions and you’ll get a list of allowed platforms.
In your case, you want CW308_STM32F3.
CRYPTO_TARGET should be set to NONE.