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.

[参考译文] AM2431:使用 OpenOCD 连接到 am2431

Guru**** 2512985 points
Other Parts Discussed in Thread: AM2431

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1356297/am2431-connecting-to-am2431-with-openocd

器件型号:AM2431

大家好、我正在尝试通过 xds110和 openocd 连接至 am2431 CPU。

am2431没有具体的配置、但它看起来与 AM 642很相似。
因此、我已经在 ti_k3.cfg 中添加了一个条目(位于决定使用哪个 CPU 的大开关中):

	am2431 {
		set _CHIPNAME am2431
		set _K3_DAP_TAPID 0x0bb3802f

		set _armv8_cpu_name a53
		set _armv8_cores 0

		set _r5_cores 1
		set R5_NAMES {main0_r5.0}
		set R5_DBGBASE {0x9d410000}
		set R5_CTIBASE {0x9d418000}

		set _gp_mcu_cores 1
	}


这看起来很有效、但是我想问一下、
am2431的 TAP ID 以及 DBG 和 CTI 基座是什么? 我会在哪里找到此信息以供将来参考?


提前感谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    另外,对于任何人阅读这在未来和努力与 openocd ,这是我使用的整体 config.cfg。 (使用-f board.cfg 运行)

    source [find interface/xds110.cfg]
    
    transport select jtag
    
    reset_config srst_only srst_push_pull
    
    adapter srst delay 20
    
    set SOC am2431
    
    source [find target/ti_k3.cfg]
    
    adapter speed 250
    
    gdb_port 3333
    bindto 0.0.0.0
    
    init
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Martin:

    我今天刚刚收到有关该主题的通知。  https://github.com/openocd-org/openocd/blob/master/tcl/board/ti_am243_launchpad.cfg ->这就是您要找的吗?

    openocd -c 'bindto 0.0.0.0 '-f board/ti_am243_launchpad.cfg

    请随时致电 IRC libera.chat #openocd 频道、我可能会提供一些详细信息。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    哇! 非常感谢、是的! 这正是我需要的,你真棒!!!