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

IS25LP512M芯片:因未使能Quad IO,造成Quad IO读失败 #81

Open
jayleesat opened this issue Feb 27, 2023 · 1 comment
Open

Comments

@jayleesat
Copy link

No description provided.

@jayleesat
Copy link
Author

IS25LP512M芯片的IO2, IO3为复用引脚,需要在Status bit中使能Quad IO。
因此我在hardware_init中,添加代码使能Quad IO后,操作成功。
/* The flash all blocks is protected,so need change the flash status to unprotected before write and erase operate. */
......
/IS25LP512M/
if ((0x9D == flash->chip.mf_id) && (0x60 == flash->chip.type_id) && (0x1A == flash->chip.capacity_id)) {
result = sfud_write_status(flash, true, 0x40); /Enable Quad port/
}

@jayleesat jayleesat changed the title IS25LP512M芯片:因未使能Quad IO,造成Quad IS25LP512M芯片:因未使能Quad IO,造成Quad IO读失败 Feb 27, 2023
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