Navigation

    全志在线开发者论坛

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

    F133烧录nand flash失败

    MR Series
    4
    7
    2759
    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.
    • C
      CHENNENGBIAO LV 4 last edited by

      串口日志如下:

      [755]fes begin commit:adaf1174cc
      [758]set pll start
      [760]periph0 has been enabled
      [763]set pll end
      [765][pmu]: bus read error
      [767]board init ok
      [769]beign to init dram
      [771]ZQ value = 0x2f
      [773]get_pmu_exist() = -1
      [775]ddr_efuse_type: 0xa
      [778]trefi:7.8ms
      [780][AUTO DEBUG] single rank and full DQ!
      [784]ddr_efuse_type: 0xa
      [786]trefi:7.8ms
      [788][AUTO DEBUG] rank 0 row = 13
      [791][AUTO DEBUG] rank 0 bank = 4
      [794][AUTO DEBUG] rank 0 page size = 2 KB
      [798]DRAM BOOT DRIVE INFO: V0.33
      [801]DRAM CLK = 528 MHz
      [803]DRAM Type = 2 (2:DDR2,3:DDR3)
      [807]DRAMC read ODT  off.
      [809]DRAM ODT off.
      [811]ddr_efuse_type: 0xa
      [814]DRAM SIZE =64 M
      [815]dram_tpr4:0x0
      [817]PLL_DDR_CTRL_REG:0xf8002b00
      [820]DRAM_CLK_REG:0xc0000000
      [823][TIMING DEBUG] MR2= 0x0
      [827]DRAM simple test OK.
      [830]init dram ok
      
      
      U-Boot 2018.05-g2a1965a (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology
      
      [03.407]DRAM:  64 MiB
      [03.412]Relocation Offset is: 01ed9000
      [03.438]secure enable bit: 0
      [03.444]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [03.450]flash init start
      [03.453]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.460][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [03.470][mmc]: get sdc_type fail and use default host:tm4.
      [03.500][mmc]: Is not Boot mode!
      [03.503][mmc]: SUNXI SDMMC Controller Version:0x50310
      [03.514][mmc]: ************Try SD card 2************
      [03.519][mmc]: mmc 2 cmd timeout 100 status 100
      [03.524][mmc]: smc 2 err, cmd 8,  RTO
      [03.527][mmc]: mmc 2 close bus gating and reset
      [03.532][mmc]: mmc 2 cmd timeout 100 status 100
      [03.536][mmc]: smc 2 err, cmd 55,  RTO
      [03.540][mmc]: mmc 2 close bus gating and reset
      [03.544][mmc]: ************Try MMC card 2************
      [03.553][mmc]: mmc 2 cmd timeout 100 status 100
      [03.557][mmc]: smc 2 err, cmd 1,  RTO
      [03.560][mmc]: mmc 2 close bus gating and reset
      [03.565][mmc]: Card did not respond to voltage select!
      [03.569][mmc]: ************SD/MMC 2 init error!************
      [03.575][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [03.591]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
      [03.596]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
      [03.657]sunxi-spinand-phy: request spi0 gpio ok
      [03.661]sunxi-spinand-phy: request general tx dma channel ok!
      [03.666]sunxi-spinand-phy: request general rx dma channel ok!
      [03.672]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [03.676]sunxi-spinand-phy: init spic0 clk ok
      [04.680]sunxi-spinand-phy: read id failed : -110
      try nand fail
      [05.949]spi sunxi_slave->max_hz:100000000
      [06.962]Sample mode:1 start:0 end:48 right_sample_delay:0x18
      SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
      [07.101]line:703 init_clocks
      [07.115]init_clocks:finish
      [07.122]Loading Environment from SUNXI_FLASH... OK
      [07.135]try to burn key
      [07.139]out of usb burn from boot: not need burn key
      [07.143]Net:   [07.145]No ethernet found.
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x1e
      set address 0x1e ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      
      

      新手刚入手一块f133的开发板,焊接了一块华邦w25q128,还请折腾过大佬们指教指教。

      whycan 2 Replies Last reply Reply Quote Share 0
      • DAIZEBIN
        DAIZEBIN LV 7 last edited by

        看起来像是USB通讯校验出了问题,之前有用其他的nand启动过吗?

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

          @chennengbiao 在 F133烧录nand flash失败 中说:

          [04.680]sunxi-spinand-phy: read id failed : -110

          按理应该能读出id,是不是没焊好?

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

            @chennengbiao

            参考:Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND

            C 1 Reply Last reply Reply Quote Share 0
            • C
              CHENNENGBIAO LV 4 @whycan last edited by

              @whycan
              好的谢谢晕哥,我先检查下焊接与配置

              1 Reply Last reply Reply Quote Share 0
              • C
                CHENNENGBIAO LV 4 @DAIZEBIN last edited by

                @daizebin
                没有使用过其他的nand启动过,我看立创开源的f133板子用的是这个nand物料,就自己买了这块物料回来焊接上去了,使用sd卡用PhoenixCard烧镜像启动没问题,但是使用nand的话使用线刷工具就会出现进度7%闪退的问题,然后这是那个过程log

                1 Reply Last reply Reply Quote Share 0
                • L
                  li15872728466 LV 3 last edited by

                  1、你可以换根好点的数据线,就是那种带屏蔽的,
                  2、可能有的nandF133不支持,烧录校验失败
                  3、可以试试这款MT29F2G01ABAGDWB

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

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

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