This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVMK2H: SoC Power Failure, python scripts

Part Number: EVMK2H

Hi,

I am trying to implement the workaround for "SoC Power Failure" on the EVM board I just received. However, the python script fails with error message:

Traceback (most recent call last):
  File "bmc_tool.py", line 377, in <module>
    port_list = list_serial_ports()
  File "bmc_tool.py", line 256, in list_serial_ports
    s = serial.Serial(i)
  File "build\bdist.win-amd64\egg\serial\serialwin32.py", line 31, in __init__
  File "build\bdist.win-amd64\egg\serial\serialutil.py", line 218, in __init__
  File "build\bdist.win-amd64\egg\serial\serialutil.py", line 264, in port
ValueError: "port" must be None or a string, not <type 'int'>

I have dug into the script, and I can force it to proceed by replacing a call to port_list = list_serial_ports() on line 377 with

port_list = []
port_list.append('COM3')
port_list.append('COM4')

Now I can get the GUI to come up. But when I do a "Get Versions" nothing happens

And if I try to load one of the UCD files, then the following stdout happens

Finished parsing and adding commands
Sending command: gpio d xxxx_x0xx
Delaying 2000 ms...
Sending command: gpio d xxxx_xxx0
Delaying 2000 ms...
Sending command: i2c 1.4E D2 04 01 04 10 40

and then I get a dialog box with error "An error has occurred with the BMC. Please power cycle the device and try again."