Runtime initialisation of S25FL127 #44095
marekmatej
started this conversation in
RFC
Replies: 0 comments
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.
-
zephyr/drivers/flash/spi_nor.c
Line 860 in 3e9dfdd
Hi guys, I ran into the problem when initializing flash by SFDP runtime check. Apparently the spi_nor_set_address_mode() decide from 'dw.enter_4ba' field of the flash description the 4 byte addressing is not available (0xa8) - which is true and not actually needed on the 16Mb flash - and returns error -134. Because of this the spi_nor flash is disabled and cannot be used.
What is the reason for returning the error if the feature is not actually available and not needed on the device?
Beta Was this translation helpful? Give feedback.
All reactions