You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by Gokuls7 May 3, 2022
I tried to check the flashing procedure for mimxrt1160evk using west tool with zephyr. With JLink I could able to flash the blinky progam. But while selecting PyOCD as a runner I could not able to find the mimxrt1160evk device and while flashing, I face the below error,
"$ west flash -r pyocd
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner pyocd
-- runners.pyocd: Flashing file: /home/gokul/zephyrproject/zephyr/build/zephyr/zephyr.hex
Waiting for a debug probe to be connected...
0023806 C Target type mimxrt1160_cm7 not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/pyocd/pyOCD/blob/master/docs/target_support.md> for how to install additional target support. [__main__]
Traceback (most recent call last):
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/board/board.py", line 100, in __init__
self.target = TARGET[self._target_type](session)
KeyError: 'mimxrt1160_cm7'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/__main__.py", line 161, in run
status = cmd.invoke()
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/subcommands/load_cmd.py", line 81, in invoke
session = ConnectHelper.session_with_chosen_probe(
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/core/helpers.py", line 263, in session_with_chosen_probe
return Session(probe, auto_open=auto_open, options=options, **kwargs)
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/core/session.py", line 213, in __init__
self._board = probe.create_associated_board() or Board(self)
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/probe/cmsis_dap_probe.py", line 174, in create_associated_board
return MbedBoard(self.session, board_id=self.board_id)
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/board/mbed_board.py", line 67, in __init__
super(MbedBoard, self).__init__(session, target)
File "/home/gokul/.local/lib/python3.8/site-packages/pyocd/board/board.py", line 102, in __init__
raise exceptions.TargetSupportError(
pyocd.core.exceptions.TargetSupportError: Target type mimxrt1160_cm7 not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/pyocd/pyOCD/blob/master/docs/target_support.md> for how to install additional target support.
FATAL ERROR: command exited with status 1: pyocd flash -e sector -a 0x30000000 -t mimxrt1160_cm7 /home/gokul/zephyrproject/zephyr/build/zephyr/zephyr.hex
Kindly can you provide support for mimxrt1160evk or suggest the procedure to add support for mimxrt1160evk.
The text was updated successfully, but these errors were encountered:
The
mimxrt1160_cm7
target type referenced by the MIMXRT1160-EVK on-board DAPLink firmware (board ID 0246) doesn't actually exist.Discussed in #1380
Originally posted by Gokuls7 May 3, 2022
I tried to check the flashing procedure for mimxrt1160evk using west tool with zephyr. With JLink I could able to flash the blinky progam. But while selecting PyOCD as a runner I could not able to find the mimxrt1160evk device and while flashing, I face the below error,
Kindly can you provide support for mimxrt1160evk or suggest the procedure to add support for mimxrt1160evk.
The text was updated successfully, but these errors were encountered: