Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dolu1990
    @Dolu1990
    So, the easier would be for me to have SSH access, else, what i have is :
    emard
    @emard
    Is RPI3 = raspberry pi good enough, do you want me to install and compile maybe fujprog and openFPGALoader
    Dolu1990
    @Dolu1990
    then you can do saxon_openocd_connect
    a pi should be good enough
    I never tried it to have JTAG
    but should work i guess
    emard
    @emard
    I have similar or compatible USB dongle to this (I hope)
    Dolu1990
    @Dolu1990
    ft2232 is just fine
    emard
    @emard
    I tried to upload SVF file and it works, (fast). Yes, this pins connection is important. Is there a simple JTAG openocd scan command I can test it to make sure I connected all
    Some command similar to
    jtag newtap lfe5 tap -expected-id 0x21111043 -irlen 8 -irmask 0xFF -ircapture 0x5
    Dolu1990
    @Dolu1990
    hoo when openocd run it scan everything
    emard
    @emard
    yes yes I see it on above linked script
    Dolu1990
    @Dolu1990
    i'm not sur there a command to rescan, just rerun it ^^
    emard
    @emard
    OK I need to make a bit on the solder and pins to board, then I will test it and when I get vexrisc scanned by openocd jtag I will put it online for remote access
    Dolu1990
    @Dolu1990
    you should get a scan like 0x10001FFF
    Lawrie Griffiths
    @lawrie
    @Dolu1990 Doesn't @emard need to build your version of openocd - https://github.com/SpinalHDL/openocd_riscv
    Dolu1990
    @Dolu1990
    Yes
    so :
    You can source the source.sh, and then do a saxon_clone; saxon_openocd
    this will build it
    Then modify https://github.com/SpinalHDL/SaxonSoc/blob/dev-0.1/bsp/radiona/ulx3s/smp/openocd/usb_connect.cfg#L2 to match the jtag you have installed, and then saxon_openocd_connect
    emard
    @emard
    Let me try on RPI3... (oh no the compiling ... :-)
    Dolu1990
    @Dolu1990
    XD
    you might need a cpu0.yaml
    Lawrie Griffiths
    @lawrie
    @Dolu1990 He only really needs openocd, not really to clone all the other repositories.
    Dolu1990
    @Dolu1990
    right
    Just that using the commands is totaly hands off ^^
    emard
    @emard
    Do i need gcc or clang to compile?
    Dolu1990
    @Dolu1990
    hmmm
    no no
    i mean
    hmmm
    to compile openocd ?
    then
    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 to locate package yaml