Files
microchip-application-pec93…/Examples/system/sys_exception/readme.md
T

27 lines
463 B
Markdown
Raw Normal View History

2026-02-03 11:37:13 +08:00
sys_exception
---
This example is a demo project to trigger exception event with software
+ It will register the exception handlers (ecall) from App layer
+ Trigger exception event with instructions (ecall)
```c
// at main.c
__ECALL();
```
## Log
Use serial port with baudrate 115200, 8bit, no parity check.
+ `ecall`
```
Jul 17 2025 10:05:43
Software triggers exception event
=> enter ecall handler (cause= 11)
```