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.

UCD update failed by using BMC tool

Hello everyone

In my previous post (link here), I mentioned that the K2H EVM is not booting due the reason of power sequence issue. Raja provided a solution at the end of this post. However, when I follow the UCD update procedure. I got the following errors:

Even if I tried the method mentioned in this thread (link here). The above error is still existing. 

Right now, I am using python-2.7.5.amd64.msi. I had also tried python-2.7.5.msi. It does not work neither. I am using Windows 7 Enterprise, 64 bit.

The UCD update download link is here: http://www2.advantech.com/Support/TI-EVM/EVMK2HX_sd4.aspx

Thanks

Xining Yu

  • Hi Xining Yu,

    Install the "pyserial" package into windows and try.

    You have to download the pyserial package and extract into python installed folder and run "setup.py" (python setup.py install)
    pypi.python.org/.../pyserial
  • I faced this error. do you know how to fix this problem?

    I cannot find out solution of this issue by google.

    thank you

    C:\test\BMC_EVMK2K_1_0_2_6-20160330\BMC_EVMK2K_1_0_2_6-20160330\ks2evm-bmc-v1.0.2.6\bmc_tool>bmc_tool.py
    Traceback (most recent call last):
    File "C:\test\BMC_EVMK2K_1_0_2_6-20160330\BMC_EVMK2K_1_0_2_6-20160330\ks2evm-bmc-v1.0.2.6\bmc_tool\bmc_tool.py", line 377, in <module>
    port_list = list_serial_ports()
    File "C:\test\BMC_EVMK2K_1_0_2_6-20160330\BMC_EVMK2K_1_0_2_6-20160330\ks2evm-bmc-v1.0.2.6\bmc_tool\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 216, in __init__
    File "build\bdist.win-amd64\egg\serial\serialutil.py", line 260, in port
    ValueError: "port" must be None or a string, not <type 'int'>

    C:\test\BMC_EVMK2K_1_0_2_6-20160330\BMC_EVMK2K_1_0_2_6-20160330\ks2evm-bmc-v1.0.2.6\bmc_tool>