查看ESP32 JTAG的源代码
←
ESP32 JTAG
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== Configuration === We supply a OpenOCD config file for Quantum board using the FT2232H breakout board: <source lang=bash> $ echo $IDF_PATH /work/xwifi/esp-idf $ cat $IDF_PATH/docs/quantum.cfg </source> The quantum.cfg is pushed in our esp-idf: https://github.com/icamgo/esp-idf <source lang=bash> # # OpenOCD configuration file to hook up Noduino Quantum board to a JTAG # adapter. Please modify this file to your local setup. # # Include the configuration for the JTAG adapter. We use the general FT2232H breakout # board here. If you have a different interface, please edit this to include the # configuration file of yours. #source [find interface/ftdi/tumpa.cfg] interface ftdi ftdi_vid_pid 0x0403 0x6010 # modify this according to your device ftdi_layout_init 0x0038 0x003b # The ESP32 only supports JTAG. transport select jtag # The speed of the JTAG interface, in KHz. If you get DSR/DIR errors (and they # do not relate to OpenOCD trying to read from a memory range without physical # memory being present there), you can try lowering this. adapter_khz 200 # With no variables set, openocd will configure JTAG for the two cores of the ESP32 and # will do automatic RTOS detection. This can be be adjusted by uncommenting any of the # following lines: # Only configure the PRO CPU #set ESP32_ONLYCPU 1 # Only configure the APP CPU #set ESP32_ONLYCPU 2 # Disable RTOS support #set ESP32_RTOS none # Force RTOS to be FreeRTOS #set ESP32_RTOS FreeRTOS #Source the ESP32 configuration file source [find target/esp32.cfg] # The TDI pin of ESP32 is also a bootstrap pin that selects the voltage the SPI flash # chip runs at. When a hard reset happens (e.g. because someone switches the board off # and on) the ESP32 will use the current TDI value as the bootstrap value because the # JTAG adapter overrides the pull-up or pull-down resistor that is supposed to do the # bootstrapping. These lines basically set the idle value of the TDO line to a # specified value, therefore reducing the chance of a bad bootup due to a bad flash # voltage greatly. # Enable this for 1.8V SPI flash #esp108 flashbootstrap 1.8 # Enable this for 3.3V SPI flash esp108 flashbootstrap 3.3 </source> Make sure the VID and PID of your FT2232H breakout board are matched with your configuration otherwise you can modify the quantum.cfg to match : <source lang=bash> $ lsusb | grep 0403 | grep 6010 Bus 008 Device 004: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC </source> <br><br>
返回到
ESP32 JTAG
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面