Hi Colin,
I met the same problem as the one in (viewtopic.php?f=6&p=157#p157). However, after I change the program as you uploaded in that topic, another problem occures. After I run SAKURA-G AES script, a window jumps out and shows the message “<type ‘exception.IOError’> Opened port UNKNOWN but failed to find OpenADC”. After I click OK, the message shows in the debug logging as follows:
SmartCard targets disabled: (<type ‘exceptions.ImportError’>, ImportError(‘No module named smartcard.CardType’,), <traceback object at 0x10599E18>)
umysql required: pypi.python.org/pypi/umysql
Running Script: SAKURA-G: AES-128 FPGA Target* Starting User Script *****
For address 0x01=1 Sent data: fe
Read data: ff
For address 0x04=4 Sent data: ac
Read data: ff
For address 0x04=4 Sent data: ac
Read data: ff
For address 0x04=4 Sent data: ac
Read data: ff
For address 0x04=4 Sent data: ac
Read data: ff
For address 0x04=4 Sent data: ac
Read data: ff
OpenADC Error: <type ‘exceptions.IOError’>Opened port UNKNOWN but failed to find OpenADC
Target Error: Opened port UNKNOWN but failed to find OpenADCNo OpenADC?
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 60, in change
param.opts’set’
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 580, in setAdcSource
result = self.oa.sendMessage(CODE_READ, ADDR_ADVCLK, maxResp=4)
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘sendMessage’
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 60, in change
param.opts’set’
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 280, in setMaxSamples
self.oa.setMaxSamples(samples)
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘setMaxSamples’
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 60, in change
param.opts’set’
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 229, in setGain
self.oa.sendMessage(CODE_WRITE, ADDR_GAIN, cmd)
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘sendMessage’
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 60, in change
param.opts’set’
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 378, in setMode
cur = self.oa.settings() & ~(SETTINGS_TRIG_HIGH | SETTINGS_WAIT_YES);
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘settings’
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 60, in change
param.opts’set’
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 580, in setAdcSource
result = self.oa.sendMessage(CODE_READ, ADDR_ADVCLK, maxResp=4)
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘sendMessage’
Traceback (most recent call last):
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\ExtendedParameter.py”, line 73, in change
linked.setValue(linked.opts’get’)
File “d:\chipwhisperer\chipwhisperer-0.08\openadc\controlsw\python\openadc\openadc.py”, line 640, in phase
result = self.oa.sendMessage(CODE_READ, ADDR_PHASE, maxResp=2);
AttributeError: ‘PySide.QtGui.QTextBrowser’ object has no attribute ‘sendMessage’
Traceback (most recent call last):
File “D:\ChipWhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\ChipWhispererCapture.py”, line 434, in runScript
m.run()
File “D:\ChipWhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\scripts\sakurag-aes.py”, line 110, in run
cap.capture1()
File “D:\ChipWhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\ChipWhispererCapture.py”, line 714, in capture1
ac.doSingleReading()
File “d:\chipwhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\AcquisitionController.py”, line 125, in doSingleReading
self.target.setModeEncrypt()
File “d:\chipwhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\targets\SAKURAG.py”, line 320, in setModeEncrypt
self.hw.write(0x000C, 0x00, 0x00)
File “d:\chipwhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\targets\SAKURAG.py”, line 119, in write
self.writeMsg(msg)
File “d:\chipwhisperer\chipwhisperer-0.08\software\chipwhisperer\capture\targets\SAKURAG.py”, line 92, in writeMsg
self.oa.sendMessage(self.CODE_WRITE, self.ADDR_FIFO, [b], Validate=False)
AttributeError: ‘NoneType’ object has no attribute ‘sendMessage’
I would like to ask what might be the problem.
Thanks,
Sylvia