OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [datasheet/] [software.adoc] - Diff between revs 67 and 68

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 67 Rev 68
Line 586... Line 586...
is intended as a fall-back for debugging or for accidentally-triggered exceptions/interrupts.
is intended as a fall-back for debugging or for accidentally-triggered exceptions/interrupts.
For instance, an illegal instruction exception caught by the RTE debug handler might look like this in the UART0 output:
For instance, an illegal instruction exception caught by the RTE debug handler might look like this in the UART0 output:
 
 
[source]
[source]
----
----
 Illegal instruction @0x000002d6, MTVAL=0x00001537 
 Illegal instruction @ PC=0x000002d6, MTVAL=0x00001537 
 
----
 
 
 
For bus access faults the RTE also outputs the error code from the <<_internal_bus_monitor_buskeeper>>
 
to show the cause of the access fault. Two example are shown below.
 
 
 
[source]
 
----
 
 Load access fault [TIMEOUT_ERR] @ PC=0x00000150, MTVAL=0xFFFFFF70 
 
 Store access fault [DEVICE_ERR] @ PC=0x00000162, MTVAL=0xF0000000 
----
----
 
 
To install the **actual application's trap handlers** the NEORV32 RTE provides functions for installing and
To install the **actual application's trap handlers** the NEORV32 RTE provides functions for installing and
un-installing trap handler for each implemented exception/interrupt source.
un-installing trap handler for each implemented exception/interrupt source.
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.