Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFUD不支持AT45DB161E #82

Open
JustYdj opened this issue Apr 4, 2023 · 0 comments
Open

SFUD不支持AT45DB161E #82

JustYdj opened this issue Apr 4, 2023 · 0 comments

Comments

@JustYdj
Copy link

JustYdj commented Apr 4, 2023

AT45DB161E的SFUD_CMD_READ_STATUS_REGISTER为0xD7,SFUD中默认为0x05;

#ifndef SFUD_CMD_READ_STATUS_REGISTER
#define SFUD_CMD_READ_STATUS_REGISTER                  0x05
#endif

即便在sfud_cfg.h中重定义SFUD_CMD_READ_STATUS_REGISTER

#define SFUD_CMD_READ_STATUS_REGISTER 0xD7

AT45DB161E的Status Register的BUSY在bit7上,SFUD中默认在bit0;

以下两个命令在AT45DB161E也没有找到

#ifndef SFUD_CMD_WRITE_ENABLE
#define SFUD_CMD_WRITE_ENABLE                          0x06
#endif

#ifndef SFUD_CMD_WRITE_DISABLE
#define SFUD_CMD_WRITE_DISABLE                         0x04
#endif

后面应该还有命令不一样,就不继续测试了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant