V3s nor flash 烧录之后必须断电才能引导?
-
将
u-boot-sunxi-with-spl.bin
通过sunxi-fel spiflash-write 0 u-boot-sunxi-with-spl.bin
命令烧录到 nor flash 的头部之后,短接 #RESET 和地之后仍然会进入 fel 模式,必须彻底断电再上电才能进入 u-boot 引导。是哪里出了问题呢?
SPI 四线已经通过 10K 电阻拉高了 -
即便断电再上电进入 u-boot 之后,拉低 RESET 还是不能正常重启,会进入 fel,是布线的问题吗?还是说需要让 Winbond Flash 正确 reset?
-
@march1993 在 V3s nor flash 烧录之后必须断电才能引导? 中说:
u-boot-sunxi-with-spl.bin
考虑u-boot-sunxi-with-spl.bin代码给rtc的fel标识位置位了
-
@awwwwa 在 V3s nor flash 烧录之后必须断电才能引导? 中说:
rtc的fel标识位置
并没有。
根据手册打印了RTC所有的寄存器。
$ sunxi-fel hex 0x01c20400 288 01c20400: 00 40 00 00 04 00 00 00 14 00 00 00 00 00 00 00 .@.............. 01c20410: 01 01 00 00 25 12 00 00 00 00 00 00 00 00 00 00 ....%........... 01c20420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c204f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c20510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
会不会是我贴的 W25Q256 不支持呢?这个NOR是32MiB的,会被uboot设置进入4字节模式?
-
@march1993 主线可能不支持,bsp有这个物料
-
@awwwwa 有具体的源码可以看一下吗?
我手上有一份Allwinner V3s SPI NOR Flash Support List_20150509 V1.0.pdf
这里面所有的 nor flash 都是小于等于128Mbit 的,是不是说 V3s 的 BROM 代码里没有复位 spi nor flash 寄存器的过程?如果 brom 已经无法动了,有没有办法绕过这个问题呢?比如 V3s 是否有哪些固定的引脚在复位(reset复位或者watchdog复位)过程中会被拉低呢?也许把这个脚接到 nor flash 的 #RESET 脚?
-
@march1993 不太清楚NOR的布局,可以试试换NAND。V3s比较老的平台了解的不多
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号