Navigation

    全志在线开发者论坛

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

    xfel烧录不了32M nor flash

    编译和烧写问题专区
    3
    6
    2076
    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.
    • S
      shz18877605430 LV 6 last edited by

      最近使用XFEL进行烧录程序,烧录华邦32M的nor flash,发现接上去,烧录的时候,说不支持,有没有遇到过这种问题的兄弟们,或者说是XFEL本身就不支持,欢迎大家来回答。

      fb4c5a18-8714-4619-9b98-932cf033ee22-image.png

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

        @shz18877605430
        可能测试没有覆盖到这个flash,如果您只要烧前面16M的话,可以直接改一下这个程序代码,添加flash id即可。

        S 1 Reply Last reply Reply Quote Share 0
        • S
          shz18877605430 LV 6 @whycan last edited by

          @whycan 我想烧录32M flash的后16M(起始地址是0x1000000)的空间,因为sunix-fel烧录的话,会直接覆盖前16M的分区,导致板子直接起不来,连uboot都没起来。所以我换了XFEL,但是XFEL不支持,如果要烧录后16M,请问需要怎么改呢?谢谢。

          whycan 1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 last edited by YuzukiTsuru

            sunxi-fel烧写没问题

            sudo sunxi-fel -p spiflash-write 0 flashimg.bin 
            100% [================================================] 33554 kB, 3045.6 kB/s
            
            SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
            
            1 Reply Last reply Reply Quote Share 0
            • whycan
              whycan晕哥 LV 9 @shz18877605430 last edited by

              @shz18877605430

              这里有 patch:

              编译、安装Windows版本sunxi-fel步骤 (32M spi flash补丁,支持W25Q256/MX25L256)

              YuzukiTsuru 1 Reply Last reply Reply Quote Share 1
              • YuzukiTsuru
                柚木 鉉 LV 9 @whycan last edited by

                @whycan 👍 👍 👍

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

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

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