Giter Club home page Giter Club logo

pyocdriscv32's Introduction

PyOCD-RISCV32

Generating with a pythonscript JTAG-sequences for the debug port of different RISCV32 cores:

using the API of pyftdi.

To try it in simulation verilator is needed. For pulp do the following: Build the firmware pulp.bin: python3 mkfw.py pulp floathw rvf

Build the simulation: cd pulp make all Run the simulation: output_verilator/riscv_soc or with tracing enabled: output_verilator/riscv_soc vcd Finally run dbgjtag.py: python3 dbgjtag.py s pulp

To use it on real hardware (with an ARM-USB-TINY-H): python3 dbgjtag.py f pulp

with an USB-Blaster and virtual JTAG: python3 dbgjtag.py v murax

pyocdriscv32's People

Contributors

michg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyocdriscv32's Issues

VJTAG with Altera board

Hi,
I'm trying to use vjtag with DE10Lite board. My expectation is with single USB connection, we can both programming the board as well as debuging the app run on murax core.
is that possible with this project https://github.com/michg/pyocdriscv32/tree/master/murax/quartus/virtual?
I had tried it but I'm not sure this vjtag support this

10M50.tap
Info : set servers polling period to 50ms
Info : No lowlevel driver configured, using ftdi
Info : usb blaster interface using libftdi
Info : This adapter doesn't support configurable speed
Info : JTAG tap: 10M50.tap tap/device found: 0x031050dd (mfg: 0x06e (Altera), part: 0x3105, ver: 0x0)
Info : starting gdb server for saxon.cpu0 on 3333
Info : Listening on port 3333 for gdb connections
Halting processor
requesting target halt and executing a soft reset
 done
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting 'gdb' connection on tcp/3333
Info : New GDB Connection: 1, Target saxon.cpu0, state: halted
Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
Info : Halt timed out, wake up GDB.
Warn : target saxon.cpu0 is not halted (gdb fileio)
openocd: src/target/vexriscv.c:1233: vexriscv_read_memory: Assertion `target->state == TARGET_HALTED' failed.
Aborted (core dumped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.