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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [datasheet/] [on_chip_debugger.adoc] - Diff between revs 68 and 71

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

Rev 68 Rev 71
Line 432... Line 432...
* a small ROM that contains the code for the "park loop", which is executed when the CPU is _in_ debug mode.
* a small ROM that contains the code for the "park loop", which is executed when the CPU is _in_ debug mode.
* a program buffer populated by the debugger host to execute small programs
* a program buffer populated by the debugger host to execute small programs
* a data buffer to transfer data between the processor and the debugger host
* a data buffer to transfer data between the processor and the debugger host
* a status register to communicate debugging requests
* a status register to communicate debugging requests
 
 
 
.DM Register Access
 
[IMPORTANT]
 
All memory-mapped registers of the DM can only be accessed by the CPU if it is actually _in_ debug mode.
 
Hence, the DM registers are not "visible" for normal CPU operations.
 
Any access outside of debug mode will raise a bus error exception.
 
 
.Park Loop Code Sources
.Park Loop Code Sources
[NOTE]
[NOTE]
The assembly sources of the **park loop code** are available in `sw/ocd-firmware/park_loop.S`. Please note, that these
The assembly sources of the **park loop code** are available in `sw/ocd-firmware/park_loop.S`. Please note, that these
sources are not intended to be changed by the used. Hence, the makefile does not provide an automatic option
sources are not intended to be changed by the used. Hence, the makefile does not provide an automatic option
to compile and "install" the debugger ROM code into the HDL sources and require a manual copy
to compile and "install" the debugger ROM code into the HDL sources and require a manual copy

powered by: WebSVN 2.1.0

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