Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    D1怎么使用JTAG?

    MR Series
    6
    10
    4278
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zetalog LV 3 last edited by

      看信息也是用uSD breakout复用jtag调试。
      具体怎么配?
      用什么调试器,怎么配置?

      1 Reply Last reply Reply Quote Share 0
      • juice
        juice LV 2 last edited by

        使用xboot大佬的xfel,https://github.com/xboot/xfel

        Z 1 Reply Last reply Reply Quote Share 0
        • xiaowenge
          DOT小文哥 LV 8 last edited by xiaowenge

          tina固件是支持单独烧写分区的,如果没有特别的调试需求用不上jtag
          如果真要用,需要卖平头哥专门的调试器,并且关掉sdc0

          Z 1 Reply Last reply Reply Quote Share 0
          • Z
            zetalog LV 3 @xiaowenge last edited by

            @xiaowenge step by step?

            1 Reply Last reply Reply Quote Share 0
            • Z
              zetalog LV 3 @juice last edited by

              @juice step by step application notes?

              1 Reply Last reply Reply Quote Share 0
              • D
                板砖 LV 3 last edited by

                D1开发板支持JTAG调试方式

                1. 代码修改

                  • 由于jtag和sdc的pinmux相同,disable dts文件中的sdc0配置。configs/nezha/linux-5.4/board.dts
                  • 打开sysconfig配置中的jtag开关。configs/nezha/sys_config.fex
                  • 利用tf卡的插槽连接jtag口进行调试。
                2. 调试工具:CKLINK

                  • 详情请咨询平头哥客服,链接地址:https://shop145257746.taobao.com/category-1178679379.htm?spm=a1z10.1-c.w4010-18365123432.7.733637f3p5H4Fu&search=y&catName=������#bd
                E 1 Reply Last reply Reply Quote Share 0
                • Z
                  zetalog LV 3 last edited by

                  https://linux-sunxi.org/MicroSD_Breakout

                  1 Reply Last reply Reply Quote Share 0
                  • E
                    elliott LV 4 @damon last edited by

                    @damon 在 D1怎么使用JTAG? 中说:

                    disable dts文件中的sdc0配置

                    请问下,“disable dts文件中的sdc0配置”具体应该注释哪些呢?

                    tigger 1 Reply Last reply Reply Quote Share 0
                    • tigger
                      tigger LV 7 @elliott last edited by

                      @elliott 在 D1怎么使用JTAG? 中说:

                      @damon 在 D1怎么使用JTAG? 中说:

                      disable dts文件中的sdc0配置

                      请问下,“disable dts文件中的sdc0配置”具体应该注释哪些呢?

                      通过 dtb 找:

                      $ find . -name "*.dtb"
                      ./out/d1-nezha/image/sunxi.dtb
                      ./lichee/linux-5.4/arch/riscv/boot/dts/sunxi/board.dtb
                      

                      应该是 改 这个文件: ./lichee/linux-5.4/arch/riscv/boot/dts/sunxi/board.dts

                      E 1 Reply Last reply Reply Quote Share 0
                      • E
                        elliott LV 4 @tigger last edited by

                        @tigger 多谢啦

                        1 Reply Last reply Reply Quote Share 0
                        • Referenced by  Kirin Kirin 
                        • 1 / 1
                        • First post
                          Last post

                        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                        行为准则 | 用户协议 | 隐私权政策