Navigation

    全志在线开发者论坛

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

    D1s 怎么修改Debug调试串口为UART3,求解!!!

    编译和烧写问题专区
    3
    8
    216
    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.
    • Q
      q2022 LV 5 last edited by

      在sys_config.fex和board.dts中做了如下修改,其他地方并没有使用UART3。修改之后打印的东西只有'\0',波特率也都试了。
      屏幕截图 2022-11-25 100742.png
      嗡嗡嗡.png
      UART.png

      W 1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        烧录的时候也没有输出吗?

        Q 1 Reply Last reply Reply Quote Share 0
        • W
          whycan晕哥 LV 9 @q2022 last edited by

          @q2022

          复用不是6,而是7,你修改一下就好了.

          Q 2 Replies Last reply Reply Quote Share 0
          • Q
            q2022 LV 5 @whycan last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote Share 0
            • Q
              q2022 LV 5 @whycan last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote Share 0
              • Q
                q2022 LV 5 @whycan last edited by

                @whycan 修改之后也是一样情况,刷机时候也没有打印,还需要修改别的文件吗?

                W 1 Reply Last reply Reply Quote Share 0
                • W
                  whycan晕哥 LV 9 @q2022 last edited by

                  @q2022

                  76ddd24c-2050-4390-bcff-f24e85a504a8-image.png

                  抱歉,看错了,PD10 是复用5

                  L 1 Reply Last reply Reply Quote Share 0
                  • L
                    lingeasy LV 2 @whycan last edited by

                    @whycan D1s的uart有6个,在board.dts中只能看到0~3,使用uart5怎么配置?是在sys_config.fex和board.dts这两个文件中增加配置可以吗?

                    1 Reply Last reply Reply Quote Share 0
                    • 1 / 1
                    • First post
                      Last post

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

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