Skip to content

Is it possible to use the SPI testpoints for JTAG? #26

@snoop911

Description

@snoop911

I understand the Ice40 doesn't have a native JTAG, but since a soft-jtag is often instantiated for Lattice Reveal software, I imagine it could be done via LiteX? Perhaps something like:

python3 -m litex_boards.targets.fomu
--board=fomu
--cpu-type=vexriscv
--cpu-variant=standard+debug
--uart-name=crossover
--with-jtagbone
--csr-csv=csr.csv
--build

I've tried but haven't had any luck getting SpinalHDL OpenOCD (0.11.0+dev-04036-ga0220ad30) to recognize the VexRiscV:
dtmcontrol is 0 or JTAG scan chain interrogation failed: all ones.

./src/openocd -c "adapter driver ftdi"
-c "ftdi vid_pid 0x0403 0x6010"
-c "ftdi channel 0"
-c "adapter speed 1000"
-c "transport select jtag"
-c 'jtag newtap lx cpu -irlen 4'
-c 'target create lx.cpu0 vexriscv -endian little -chain-position lx.cpu -dbgbase 0xF00F0000'
-c 'vexriscv cpuConfigFile cpu0.yaml'
-c 'init'
-c 'reset halt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions