Skip to content

MIMXRT1024 EVK Board QSPI Flash issues #42610

Answered by PxGreen101
PxGreen101 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for letting me know about the flash set_device command.

I had already modified the nxp_rt1024.dtsi to the correct device: W25Q32JVWJ0. I tried the command flash set_device W25Q32JVWJ0

&flexspi {
status = "okay";
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(4)>;
w25q32jvwj0: w25q32jvwj@0 {
compatible = "nxp,imx-flexspi-nor";
size = <33554432>;
label = "W25Q32JVWJ0";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = [ef 40 16]; /* Winbond part */
erase-block-size = <4096>;
write-block-size = <1>;
};
};

Flash read and write commands work correctly now. Thanks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PxGreen101
Comment options

Answer selected by DerekSnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants