Error on the STM32F-03 with CW308 UFO board.


#1

Hi,
I’d like to test using a STM32F-03 with CW308 UFO board.
Whenever I tried to use “Serial STM32F Programmer”, I found some error as below.
How can I fix it?
I saw the WIKI and then I used the same method as the URL.
wiki.newae.com/CW308T-STM32F


An error has occurred:
Can’t read port or timeout (Traceback (most recent call last): File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask ask = self.sp.read(1)[0] IndexError: list index out of range )

It is usually safe to continue, but save your work just in case.
If it persists, try reseting the settings first before creating a new ticket informing the details bellow.



INFO - Assuming appropriate BOOT pins set HIGH on STM32F Hardware now
INFO - Sync failed with error Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)
, retrying…
INFO - Sync failed with error Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)
, retrying…
INFO - Sync failed with error Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)
, retrying…
INFO - Sync failed with error Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)
, retrying…
INFO - Sync failed with error Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)
, retrying…
ERROR - Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/capture/ui/programmers_dialog.py”, line 339, in writeFlash
QCoreApplication.processEvents)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 203, in autoProgram
self.find()
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 147, in find
self.initChip()
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 273, in initChip
return self._wait_for_ask(“Syncro”)
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 249, in _wait_for_ask
raise CmdException(“Can’t read port or timeout (%s)” % traceback.format_exc())
CmdException: Can’t read port or timeout (Traceback (most recent call last):
File “/home/cwuser/chipwhisperer/software/chipwhisperer/hardware/naeusb/programmer_stm32fserial.py”, line 247, in _wait_for_ask
ask = self.sp.read(1)[0]
IndexError: list index out of range
)