Skip to content

Implements parts of the RISC-V Debug Specification, including the Debug Transport Hardware (JTAG), Debug Transport Module and Debug Module.

Notifications You must be signed in to change notification settings

nadime15/riscv-debug-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riscv-debug-bridge

Implements (work in progress) parts of the RISC-V Debug Specification, including the Debug Transport Hardware (JTAG), Debug Transport Module and Debug Module. DM and DTM communicate via a simple handshaking protocol as defined in the spec.

Alt text

Getting started

We are going to launch 3 different processes:

1.

We have to launch the Debug Transport Hardware which communicates via the bitbang protocol (over network sockets) with openocd.

The following command launches the the jtag modules which opens and listens on port 9842:

$ python3 jtag_dtm.py

2.

$ openocd -f sail.cfg

Or optional to enable debugging:

$ openocd -f sail.cfg -d

3.

$ telnet localhost 4444

About

Implements parts of the RISC-V Debug Specification, including the Debug Transport Hardware (JTAG), Debug Transport Module and Debug Module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages