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

lpc55 crashes if image area is unwritten #2

Open
d3zd3z opened this issue Oct 27, 2023 · 0 comments
Open

lpc55 crashes if image area is unwritten #2

d3zd3z opened this issue Oct 27, 2023 · 0 comments

Comments

@d3zd3z
Copy link
Member

d3zd3z commented Oct 27, 2023

The simulated flash driver will bus fault if the flash device has not been written at the address of the first image. This can easily be recreated by erasing the flash, and then not programming an image in.

The datasheet for the device lists a possible way to use the controller to read without causing a fault, and the ECC register can then be used to determine if the read was successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant