3 ms·
The softdevice binary runs in supervisor mode and typically does all its work in one of two interupt contexts. So... it gets its own ram, rom, and you can’t (n
by SlowRobotAhead 8y ago
The softdevice binary runs in supervisor mode and typically does all its work in one of two interupt contexts.
So... it gets its own ram, rom, and you can’t (not supposed to anyhow) access it. So... no, to answer your question, but depends on what you are trying to prevent I guess.
You don’t need to run the softdevice at all, can shut off it down temporarily like while doing some crypto work, but if there was an exploit it seems like it could be bad because the SD seems like it can probably do anything your code could plus some. Additionally with the ‘software interrupt’ peripheral it seems it has a built-in way to branch to any arbitrary code location.
However... there is a gambling application that uses one and the code has been through a couple audits as I was told.