-
Notifications
You must be signed in to change notification settings - Fork 82
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
Compiling in ubxlib triggers SecureFault in Trusted Firmware-M on nrf9160 #206
Comments
Thanks for posting, sorry you're having trouble. Not something we've seen I'm afraid: do you have a |
Checking
, which further points at ubxlib as the 'culprit'. Looking at Checking the same
|
Maybe |
K_HEAP_DEFINE(_system_heap, CONFIG_HEAP_MEM_POOL_SIZE);
#define _SYSTEM_HEAP (&_system_heap)
/* [...] */
void k_thread_system_pool_assign(struct k_thread *thread)
{
thread->resource_pool = _SYSTEM_HEAP;
} |
Hmph. Stating the obvious, if both |
Yes, testing those individually got me further: It's not the heap at all, it's writing to So Is there a reason |
Progress, well done!
|
I'd guess that if |
What I don't understand is why calling |
Checking the blame on |
Maybe, there do seem to have been changes in this area, though we don't use EDIT: Ah, I see there has been a Anyway, the statement you have quoted from the Zephyr documentation is pretty clear and replacing |
Fix is now in |
Hi, we're trying to use a u-blox gnss module on an nrf9160 based board, using the nrf sdk and pulling in ubxlib as a zephyr module.
We recently updated the nrf sdk to v2.5.x, and since then our application cannot start, as Trusted Firmware-M crashes on a
SecureFault
:The issue does not appear when using nrf sdk v2.4.3, but does on v2.5.0.
This is likely not an issue specific to ubxlib, but it is the only correlation we've been able to identify. Since according to the documentation you support and test with nrf sdk v2.5.0, we're wondering if you've seen this or similar issues yourself, and know of a fix or workaround.
For a minimal example of the issue, see this repository.
The text was updated successfully, but these errors were encountered: