I am trying to flash my CWLITEARM F3, but I can’t measure a clock signal on CLK_IN header. I successfully compilled the glitch1 hex file then I am trying to run this script:
Hi,
1- which CLK_IN header exactly are you looking at?
2- what’s the output of: cw.scope().clock.adc_locked ?
3- what’s the output of your cw.program_target() call?
1- I meant CLKIN header between J3 (red board) and CWLITEARM board.
2- It’s true
3-
Serial baud rate = 38400
Serial baud rate = 115200
Serial baud rate = 38400
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.
Traceback (most recent call last):
File "test_cw.py", line 37, in <module>
cw.program_target(scope, prog, fw_path)
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\__init__.py", line 53, in program_target
prog.find()
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\capture\api\programmers.py", line 70, in func_wrapper
val = func(self, *args, **kwargs)
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\capture\api\programmers.py", line 303, in find
sig, chip = stm32f.find()
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py", line 38, in func_wrapper
return func(self, *args, **kwargs)
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py", line 162, in find
self.initChip()
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py", line 38, in func_wrapper
return func(self, *args, **kwargs)
File "C:\Users\14182\AppData\Local\Programs\Python\Python38-32\lib\site-packages\chipwhisperer\hardware\naeusb\programmer_stm32fserial.py", line 340, in initChip
raise IOError("Could not detect STM32F, check connections, BOOT MODE entry setup")
OSError: Could not detect STM32F, check connections, BOOT MODE entry setup
By the way, I have a blue led and green led blinking on the CW (black board) wich means usb enum and FPGA heart beat I think