- Edited
Hi folks,
I’m trying to get CONFIG_SPI_NOR_SFDP_RUNTIME to work on my board with S25FL127S dataflash. The SFDP header and parameter headers are read according to datasheet, but when it comes to actual parameter blocks I always read the 0xFF in whole area.
I did try to mitigate the problem using sfdp-bfp in devicetree (so with CONFIG_SPI_NOR_SFDP_DEVICETREE) but I’m not sure about the proper way to do it (I did copy the fields from the datasheet but either I did not write them in correct format or I’m missing something else), so I end up just copying the bytes from some jedec samples I found in Zephyr tree. That way I could see that jedec sample did parse those bytes in some sane way, and I can see multiple sector sizes with the erase instructions.
So the question is, how to make proper sfdp-bfp in device tree and how to properly read the parameters from the actual dataflash device. Thanks for clarification and/or any advice.
M.
PS: sorry for the off-topic and non nRF Feather question.