This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X IDK 使用XDS 100V2仿真连接失败Error -2131

Other Parts Discussed in Thread: SEGGER

Error connecting to the target:
(Error -2131 @ 0x0)
Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 5.0.569.0)

重启再次尝试还是出现如此错误!

使用SEED 510PLUS仿真器也是出现相同的问题,请问在仿真下载时候是否需要在板子上跳线或者拨码设置?

(ccs5.1+xds 100v2 +am335x idk工业板)

但是Test connection  是成功的。

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 512 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

  • AM335x上面应该是有一个20pin的JTAG接口,可以连仿真器进行debug不需要跳线之类的。你板子是正常的吗?板子上电正常的时候,如果设置了串口启动,会在uart0上有ccc的打印,这时候如果还是连不进去,你可能要检查一下你的仿真器和连接头是否可以正常工作了。

  • 刘工,你好!你说的20pin的JTAG 是segger的jlink仿真器吗? 我使用的是14pin 的xds 100v2和seed xds510plus  !都报错Error -2131

    第二的问题,就是按照你说的,我boot模式调成uart  板子上所以的串口都不打印CCCC,但是我从sd启动运行MLO 和app  ,有串口打印信息


    *** StarterWare Boot Loader. Build - 1.0.8 for IDK
    Copying application image from MMCSD to RAM

    Copying to RAM completed successfully
    Image Copy Successful, Executing Application..

    目前出现的问题话,无法使用CCS 进行flashing了 ,,串口不打印cccc也,无法通过串口下载了。

    我想问问刘工,如何将编译好的UBOOT移植进去。谢谢

  • 14pin和20pin都是OK的,只是接插件的pin脚要和要求的一致就可以了。在尝试连接的时候,你确定你的14pin已经严格按照原理图的要求做了上下拉,以及相应的接地了吗?

  • 另外,看到你的log,你的板卡现在应该是能够正常的从SD卡启动了,这样的话,你可以直接在你的SD卡中更换你的uboot相关image就可以了啊。