cd openocd_riscv
./bootstrap
./configure --enable-ftdi --enable-dummy
make
the thing is i don't know how to enable the rasberry pi gpio based jtag XD
emard
@emard
I have usb-ft2232, not a gpio based
I'm currently resolving debian dependencies for rpi3 to start building openocd
configure passed, now make started... It should run for some time, I remember my adventures on getting ft231x support into openocd ... I recommend this to everyone with too much free time :)
_
Dolu1990
@Dolu1990
XD
emard
@emard
src/target/vexriscv.c:28:10: fatal error: yaml.h: No such file or directory
#include<yaml.h>
Is yaml some system package
emard
@emard
ups I have small problem
Dolu1990
@Dolu1990
hoooo
emard
@emard
root@raspberrypi:~# apt-get install yaml
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable tolocatepackage yaml
Dolu1990
@Dolu1990
libyaml-dev
emard
@emard
yeeees this one exists
Dolu1990
@Dolu1990
sudo apt-get install libtool automake libusb-1.0.0-dev texinfo libusb-dev libyaml-dev pkg-config for the full depedency on debian
emard
@emard
make continues, and I started dependency install
Lawrie Griffiths
@lawrie
I am going to try this on one of my Raspberry Pis, but I have not used it for a while so am doing an upgrade first.
emard
@emard
I have jessie and upgrade crashed so imaged SD minimal image with dd
Lawrie Griffiths
@lawrie
I have a large collection of Raspberry Pis, but am trying the one with the LCD screen as I used to use that as a portable FPGA development system.
emard
@emard
build completed, will copy executable to /usr/local/bin :)
./openocd --version
Open On-Chip Debugger 0.10.0+dev-01230-g33f5b081-dirty (2020-10-03-19:45)
so, I have new openocd, fujprog and openFPGALoader compiled on RPI3, so far so good :)
Now a small pause and soldering
Dolu1990
@Dolu1990
No hurry ^^
Tomorrow, if things are connecting, i can debug
Goran Mahovlic
@goran-mahovlic
@ThomasHornschuh sorry on trouble I will try to fix links tomorrow ...
Lawrie Griffiths
@lawrie
@Dolu1990 Does it complicate things at all for your debugging that for a green 85f, which has the flash problem, @emard currently has a 2-cpu configuration?
emard
@emard
Escape character is '^]'.
OpenOn-Chip Debugger
> init
> scan_chain
TapName Enabled IdCode Expected IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 fpga_spinal.bridge Y 0x10001fff0x10001fff40x010x0f
Got openocd to connect
Dolu1990
@Dolu1990
@lawrie No worries with the multi core, basicaly, the openocd script i use put all core to halt excepted the 0