本帖最後由 dsscss 於 2015-9-16 22:19 編輯

回覆 20# xiao


是FT2232嗎?
若果是, 可以的.

我用的是J-LINK.
ESP-12 JTAG接口已引出, 接線會比較方便...
ESP-01 JTAG接口沒有引出, 會比較難接線...

以下為XT-OCD列表

        Here are other example controller (probe) lines, that can replace the above one
        when using different JTAG probes (scan controllers):


        Tensilica ML605 Daughterboard - optional usbser is inventory sticker number prefixed with 'ML605-':
        <controller id='Controller0' module='ft2232' probe='ML605' speed='10MHz' usbser='ML605-2147' />

        Tin Can Tools Flyswatter2:
        <controller id='Controller0' module='ft2232' probe='flyswatter2' speed='10MHz' />

        Tin Can Tools Flyswatter (UNSUPPORTED):
        <controller id='Controller0' module='ft2232' probe='flyswatter' speed='3MHz' />

        Amontec JTAGkey-2 (FT2232H)
        <controller id='Controller0' module='ft2232' probe='jtagkey-2' speed='10MHz' usbser='556XNIOL' />

        ByteTools Catapult (Ethernet):
        <controller id='Controller0' module='catapult' speed='12500000' ipaddr='192.168.1.1' debug='0'/>

        ByteTools Catapult (USB) - usbser is the USB serial number printed on the probe:
        <controller id='Controller0' module='catapult' speed='12500000' usbser='332211' debug='0'/>
       
        RVI JTAG RDDI (Ethernet) - use RVI probe as an JTAG probe, no templates needed:
        <controller id='Controller0' module='rvijtag' rvconf='rv-conf.rvc' speed='12500000' rvaddr='TCP:192.168.1.1' />

        RVI JTAG RDDI (USB) - use RVI probe as an JTAG probe, no templates needed:
        <controller id='Controller0' module='rvijtag' rvconf='rv-conf.rvc' speed='12500000' rvaddr='USB:12345' />

        Macraigor USB2Demon or USBwiggler:
        <controller id='Controller0' module='macraigor' cable='usb2demon' speed='4' port='0' />

        Macraigor Wiggler (parallel port):
        <controller id='Controller0' module='macraigor' cable='wiggler' speed='1' port='0' />

        JLink IP (10MHz JTCK):
        <controller id='Controller0' module='jlink' ipaddr='192.168.1.1'  port='0' speed='10000000'/>

        JLink USB (10MHz JTCK):
        <controller id='Controller0' module='jlink' usbser='12345678' speed='10000000'/>

        For ARM RVI and DSTREAM probes, the topology file is markedly different.
        See rv/topology-example-rvi*.xml for examples (if support for these probes
        was selected during installation).

TOP

本帖最後由 xiao 於 2015-9-18 13:12 編輯
回覆  xiao


是FT2232嗎?
若果是, 可以的.

我用的是J-LINK.
ESP-12 JTAG接口已引出, 接線會比較方便...
...
dsscss 發表於 2015-9-16 22:05


請問你的JTAG 是這個嗎
https://www.segger.com/jlink-debug-probes.html

需要自己寫 JTAG SCRIPT 掃描定義嗎 ?

看了另外一個, 看來還是用 GCC 比較可靠, 還沒實驗 JTAG, 不過先要買個有全部引腳的板子, ESP-01 沒有接全部腳, 要自己焊比較懶惰也麻煩.
https://blog.cesanta.com/esp8266-gdb

TOP

本帖最後由 dsscss 於 2015-9-20 02:57 編輯

回覆 22# xiao        

是的.
https://www.segger.com/jlink_base.html
不過是買陶宝仿的...

JTAG SCRIPT的話,
用VISUAL GDB會比較方便,
因為只需按步驟選擇J-LINK,
它就幫你設定好XT-OCD了...

關於https://blog.cesanta.com/esp8266-gdb
這個不太建議...
因為佢用UART做一個GDB SERVER STUB.... (沒有用XT-OCD)
同用JTAG DEBUG是不同的...

TOP

https://detail.tmall.com/item.htm?id=42712490627&toSite=main

买呢块板最简单, 买回来就可以上网用。

TOP