4 ms·
What makes you think the processor will fault? Many small µc architectures don't fault at any point. If you have an MPU or an MMU (which is generally true for
by vardump 3y ago
What makes you think the processor will fault? Many small µc architectures don't fault at any point.
If you have an MPU or an MMU (which is generally true for 32-bit microcontrollers), you can just set a range to fault a standard downwards growing stack – pretty standard stuff.
- ithkuil 3y agoSome mc have a statically defined memory map with regions that are read only or unmapped etc, so you can find a boundary where the CPU will fault when you cross it. It may not be possible to dynamically redefine those though