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

NXP drivers: flash: soc_flash_mcux: remove CMD_MARGIN_CHECK #83472

Conversation

DerekSnell
Copy link
Contributor

@DerekSnell DerekSnell commented Dec 31, 2024

The CMD_BLANK_CHECK can return errors when the flash is readable, and should only be used after programming, not in is_area_readable(). From the LPC55S69 datasheet: "As cells age and lose charge, a correctly programmed address will fail this check, while still being able to be read successfully for the remaining duration of the data retention time."

Resolves #83599

The CMD_BLANK_CHECK can return errors when the flash is readable, and
should only be used after programming, not in is_area_readable().  From
the LPC55S69 datasheet: "As cells age and lose charge, a correctly
programmed address will fail this check, while still being able to be
read successfully for the remaining duration of the data retention time."

Signed-off-by: Derek Snell <derek.snell@nxp.com>
@DerekSnell DerekSnell added backport v3.7-branch Request backport to the v3.7-branch backport v4.0-branch Backport to the v4.0-branch labels Jan 6, 2025
@fabiobaltieri fabiobaltieri merged commit 88b9cb6 into zephyrproject-rtos:main Jan 6, 2025
34 checks passed
@DerekSnell DerekSnell deleted the lpc_flash_remove_marging_check branch January 22, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash backport v3.7-branch Request backport to the v3.7-branch backport v4.0-branch Backport to the v4.0-branch platform: NXP Drivers NXP Semiconductors, drivers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NXP drivers: flash: soc_flash_mcux: CMD_MARGIN_CHECK fails infrequently
4 participants