forked from espressif/esp-idf
Merge branch 'docs/update_translation_for_jtag-debugging' into 'docs/simplify_udev_rules_instructions'
docs: update translation for configure-ft2232h-jtag.rst and configure-other-jtag.rst See merge request espressif/esp-idf!22723
This commit is contained in:
@@ -74,7 +74,7 @@ Linux
|
|||||||
crw-rw---- 1 root dialout 188, 1 Jul 10 19:04 /dev/ttyUSB1
|
crw-rw---- 1 root dialout 188, 1 Jul 10 19:04 /dev/ttyUSB1
|
||||||
|
|
||||||
|
|
||||||
3. To set up access permissions to OpenOCD supported USB devices, place the following `udev rules file <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ in the ``/etc/udev/rules.d`` folder.
|
3. To set up access permissions to USB devices supported by OpenOCD, copy the `udev rules file <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ into the ``/etc/udev/rules.d`` directory.
|
||||||
|
|
||||||
4. Log off and login, then cycle the power to the board to make the changes effective. In terminal enter again ``ls -l /dev/ttyUSB*`` command to verify, if group-owner has changed from ``dialout`` to ``plugdev``:
|
4. Log off and login, then cycle the power to the board to make the changes effective. In terminal enter again ``ls -l /dev/ttyUSB*`` command to verify, if group-owner has changed from ``dialout`` to ``plugdev``:
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@ Configure Drivers
|
|||||||
|
|
||||||
You may need to install driver software to make JTAG work with computer. Refer to documentation of your JTAG adapter for related details.
|
You may need to install driver software to make JTAG work with computer. Refer to documentation of your JTAG adapter for related details.
|
||||||
|
|
||||||
On Linux adding OpenOCD udev rules is required and is done by placing the following `udev rules file <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ in the ``/etc/udev/rules.d`` folder.
|
On Linux, adding OpenOCD udev rules is required and is done by copying the `udev rules file <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ into the ``/etc/udev/rules.d`` directory.
|
||||||
|
|
||||||
Connect
|
Connect
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
@@ -74,7 +74,7 @@ Linux
|
|||||||
crw-rw---- 1 root dialout 188, 1 Jul 10 19:04 /dev/ttyUSB1
|
crw-rw---- 1 root dialout 188, 1 Jul 10 19:04 /dev/ttyUSB1
|
||||||
|
|
||||||
|
|
||||||
3. 根据 `OpenOCD README 文档 <https://sourceforge.net/p/openocd/code/ci/master/tree/README>`_ 中 “Permissions delegation” 小节的介绍,设置这两个 USB 端口的访问权限。
|
3. 设置 OpenOCD 所支持 USB 设备的访问权限,请将 `udev 规则文件 <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ 复制到 ``/etc/udev/rules.d`` 目录中。
|
||||||
|
|
||||||
4. 注销并重新登录 Linux 系统,然后重新插拔板子的电源使之前的改动生效。在终端再次输入 ``ls -l /dev/ttyUSB*`` 命令进行验证,查看这两个设备的组所有者是否已经从 ``dialout`` 更改为 ``plugdev``:
|
4. 注销并重新登录 Linux 系统,然后重新插拔板子的电源使之前的改动生效。在终端再次输入 ``ls -l /dev/ttyUSB*`` 命令进行验证,查看这两个设备的组所有者是否已经从 ``dialout`` 更改为 ``plugdev``:
|
||||||
|
|
||||||
|
@@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
您可能还需要安装软件驱动,才能使 JTAG 在计算机上正常工作,请参阅您所使用的 JTAG 适配器的有关文档,获取相关详细信息。
|
您可能还需要安装软件驱动,才能使 JTAG 在计算机上正常工作,请参阅您所使用的 JTAG 适配器的有关文档,获取相关详细信息。
|
||||||
|
|
||||||
|
在 Linux 中,请务必将 `udev 规则文件 <https://github.com/espressif/openocd-esp32/blob/master/contrib/60-openocd.rules>`_ 复制到 ``/etc/udev/rules.d`` 目录中,以添加 OpenOCD udev 规则。
|
||||||
|
|
||||||
连接
|
连接
|
||||||
^^^^
|
^^^^
|
||||||
|
Reference in New Issue
Block a user