永发信息网

uboot里怎么对spi flash特定地址进的数据行读取

答案:2  悬赏:10  手机版
解决时间 2021-03-28 18:36
  • 提问者网友:轮囘Li巡影
  • 2021-03-27 23:02
uboot里怎么对spi flash特定地址进的数据行读取
最佳答案
  • 五星知识达人网友:你可爱的野爹
  • 2020-09-29 05:19
uboot有个protect 命令,用于设置flash存储器的特定区域为只读模式,或取消只读属性。flash设置为只读模式后,不能被拷贝(cp命令)或者擦除(erase命令)。你的环境变量显然是在保存时就被设置为只读模式,而无法用erase命令擦除。所以你必须顺着如何擦除nand 的protect区域的思路,去查找相应的解决方法。
全部回答
  • 1楼网友:罪歌
  • 2019-04-25 01:44
help输出是这样子的: ? - alias for 'help' base - print or set address offset bootm - boot application image from memory bootp - boot image via network using bootp/tftp protocol cmp - memory compare cp - memory copy crc32 - checksum calculation ext2load- load binary file from a ext2 filesystem ext2ls - list files in a directory (default /) fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) getinfo - print hardware information go - start application at address 'addr' help - print command description/usage loadb - load binary file over serial line (kermit mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range md - memory display mii - mii utility commands mm - memory modify (auto-incrementing address) mmc - mmc sub system mmcinfo - mmcinfo -- display mmc info mtest - simple ram read/write test mw - memory write (fill) nm - memory modify (constant address) ping - send icmp echo_request to network host printenv- print environment variables rarpboot- boot image via network using rarp/tftp protocol reset - perform reset of the cpu saveenv - save environment variables to persistent storage setenv - set environment variables sf - spi flash sub-system tftp - tftp - download or upload image via network using tftp protocol usb - usb sub-system usbboot - boot from usb device version - print monitor version
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯