Skip to content

rtt_cmd: add option to disable local echo

0654186
Select commit
Loading
Failed to load commit list.
Open

rtt_cmd: add option to disable local echo #1924

rtt_cmd: add option to disable local echo
0654186
Select commit
Loading
Failed to load commit list.
Azure Pipelines / pyocd functional test failed Mar 5, 2026 in 22m 47s

Build #20260305.3 had test failures

Details

Tests

  • Failed: 22 (15.71%)
  • Passed: 118 (84.29%)
  • Other: 0 (0.00%)
  • Total: 140

Annotations

Check failure on line 272 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

Build log #L272

Bash exited with code '255'.

Check failure on line 316 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

Build log #L316

Bash exited with code '255'.

Check failure on line 1 in MAX32630FTHR.max32620.Basic Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

MAX32630FTHR.max32620.Basic Test

failure
Raw output
0001977:INFO:session:Using config options for probe 0409000092efc08200000000000000000000000097969906
0001987:INFO:board:Target type is max32620
Exception SWD/JTAG communication failure (No ACK); check USB cable, reduce debugger clock when testing board 0409000092efc08200000000000000000000000097969906
Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 540, in read_dp
    result = self._link.read_reg(reg_id, now=now)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1088, in read_reg
    return read_reg_cb()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1082, in read_reg_cb
    res = transfer.get_result()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 161, in get_result
    self.daplink.flush()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 887, in flush
    self._read_packet()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1168, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 484, in decode_data
    data = self._decode_transfer_block_data(data)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 453, in _decode_transfer_block_data
    self._check_response(data[3])
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 372, in _check_response
    raise DAPAccessIntf.TransferError("SWD/JTAG communication failure (No ACK); " \
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: SWD/JTAG communication failure (No ACK); check USB cable, reduce debugger clock

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/test_util.py", line 268, in run
    self.test_function(board.unique_id)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/basic_test.py", line 56, in run_basic_test
    return basic_test(board_id, None)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/basic_test.py", line 59, in basic_test
    with ConnectHelper.session_with_chosen_probe(unique_id=board_id, **get_session_options()) as session:
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 482, in __enter__
    self.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 620, in open
    self._board.init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/board/board.py", line 152, in init
    self.target.init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/coresight/coresight_target.py", line 126, in init
    super().init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/soc_target.py", line 174, in 

Check failure on line 1 in MAX32630FTHR.max32620.connect

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

MAX32630FTHR.max32620.connect

failure
Raw output
binary file: /Users/boardfarmautomation/azpagent/_work/1/s/test/data/binaries/max32630fthr.bin
0005630:INFO:session:Using config options for probe 0409000092efc08200000000000000000000000097969906
0005644:INFO:board:Target type is max32620
Exception SWD/JTAG communication failure (No ACK); check USB cable, reduce debugger clock when testing board 0409000092efc08200000000000000000000000097969906
Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 540, in read_dp
    result = self._link.read_reg(reg_id, now=now)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1088, in read_reg
    return read_reg_cb()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1082, in read_reg_cb
    res = transfer.get_result()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 161, in get_result
    self.daplink.flush()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 887, in flush
    self._read_packet()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 1168, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 484, in decode_data
    data = self._decode_transfer_block_data(data)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 453, in _decode_transfer_block_data
    self._check_response(data[3])
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 372, in _check_response
    raise DAPAccessIntf.TransferError("SWD/JTAG communication failure (No ACK); " \
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: SWD/JTAG communication failure (No ACK); check USB cable, reduce debugger clock

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/connect_test.py", line 64, in run
    result = self.test_function(board)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/connect_test.py", line 86, in connect_test
    live_session.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 620, in open
    self._board.init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/board/board.py", line 152, in init
    self.target.init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/coresight/coresight_target.py", line 126, in init
    super().init()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/soc_target.py", line 174, in init
    seq.invoke()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/sequencer.py", line 213, in invoke
    resultSequence.invoke()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-package

Check failure on line 1 in MAX32630FTHR.max32620.cortex

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

MAX32630FTHR.max32620.cortex

failure
Raw output
0005833:INFO:session:Using config options for probe 0409000092efc08200000000000000000000000097969906
0005835:INFO:board:Target type is max32620
Exception Unable to open device: open failed when testing board 0409000092efc08200000000000000000000000097969906
Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/interface/hidapi_backend.py", line 219, in open
    self.device.open_path(self.device_info['path'])
  File "hid.pyx", line 158, in hid.device.open_path
OSError: open failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 278, in open
    self._link.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 752, in open
    self._interface.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/interface/hidapi_backend.py", line 221, in open
    raise DAPAccessIntf.DeviceError("Unable to open device: " + str(exc)) from exc
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.DeviceError: Unable to open device: open failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/cortex_test.py", line 81, in run
    result = self.test_function(board.unique_id)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/cortex_test.py", line 104, in cortex_test
    with ConnectHelper.session_with_chosen_probe(unique_id=board_id, **get_session_options()) as session:
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 482, in __enter__
    self.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 616, in open
    self._probe.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 317, in open
    raise self._convert_exception(exc) from exc
pyocd.core.exceptions.ProbeError: Unable to open device: open failed

Check failure on line 1 in MAX32630FTHR.max32620.speed

See this annotation in the file changed.

@azure-pipelines azure-pipelines / pyocd functional test

MAX32630FTHR.max32620.speed

failure
Raw output
0005807:INFO:session:Using config options for probe 0409000092efc08200000000000000000000000097969906
0005809:INFO:board:Target type is max32620
Exception Unable to open device: open failed when testing board 0409000092efc08200000000000000000000000097969906
Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/interface/hidapi_backend.py", line 219, in open
    self.device.open_path(self.device_info['path'])
  File "hid.pyx", line 158, in hid.device.open_path
OSError: open failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 278, in open
    self._link.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/utility/concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 752, in open
    self._interface.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/pydapaccess/interface/hidapi_backend.py", line 221, in open
    raise DAPAccessIntf.DeviceError("Unable to open device: " + str(exc)) from exc
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.DeviceError: Unable to open device: open failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/speed_test.py", line 75, in run
    result = self.test_function(board.unique_id)
  File "/Users/boardfarmautomation/azpagent/_work/1/s/test/speed_test.py", line 87, in speed_test
    with ConnectHelper.session_with_chosen_probe(unique_id=board_id, **get_session_options()) as session:
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 482, in __enter__
    self.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/core/session.py", line 616, in open
    self._probe.open()
  File "/Users/boardfarmautomation/azpagent/_work/1/s/.venv/lib/python3.9/site-packages/pyocd/probe/cmsis_dap_probe.py", line 317, in open
    raise self._convert_exception(exc) from exc
pyocd.core.exceptions.ProbeError: Unable to open device: open failed