STM32 External NOR Flash - SST26VF064B #51260
Replies: 1 comment
-
@GeorgePriestner-Eaton |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm hoping to get some help on configuring an external flash chip using zephyr dts.
I'm attempting to configure an external SPI NOR flash chip with an STM32f429zi development board. I have added the following to my overlay file:
in the final zephyr.dts file, the spi2 is configured as such:
and added the following lines to my prj.conf:
The driver seemingly gets initialised correctly, no error is returned when erasing, writing, or reading. However when attempt to read data from the flash I only get ff's returned in the read buffer.
Below is the output on the UART from my test program. I'm just attempting to write a 5 byte buffer to the flash, then read it back.
Am I doing anything obviously wrong or missing something? Does my overlay file look correct?
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions