Skip to content

Conversation

@Vge0rge
Copy link
Contributor

@Vge0rge Vge0rge commented Dec 5, 2025

nrfx have some functions which dynamically checks if an errata should be applied based on a value in FICR. It seems that reading two values from FICR consecutively has undefined behavior if each call is not followed by a __DSB call.

This commit fixes the issue by copying the nrfx header with the errata functions and adding a __DSB call to each FICR read.

This is a (hopefully) short lived noup since the fix will come in nrfx.

nrfx have some functions which dynamically checks if an errata
should be applied based on a value in FICR. It seems that
reading two values from FICR consecutively has undefined
behavior if each call is not followed by a __DSB call.

This commit fixes the issue by copying the nrfx header with the
errata functions and adding a __DSB call to each FICR read.

This is a (hopefully) short lived noup since the fix will come
in nrfx.

Ref: NCSDK-36641

Signed-off-by: Georgios Vasilakis <[email protected]>
Copy link
Collaborator

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we instead just fix this directly in nrfx and pull in an updated version? How critical is it to have the fix beforehand here?

@Vge0rge
Copy link
Contributor Author

Vge0rge commented Dec 8, 2025

Could we instead just fix this directly in nrfx and pull in an updated version? How critical is it to have the fix beforehand here?

Fixing in nrfx is not in our (team) control, right now this is broken in main so I think that it makes sense to fix it here until nrfx is ready.

@Vge0rge
Copy link
Contributor Author

Vge0rge commented Dec 12, 2025

Ping, if you guys @nika-nordic @masz-nordic guys can have a look it will be great 👍

@tomi-font
Copy link
Collaborator

ping @nika-nordic @masz-nordic

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

Successfully merging this pull request may close these issues.

2 participants