# Issue occuring sifive board

**URL:** <https://forums.sifive.com/t/issue-occuring-sifive-board/6502>\
**Category:** HiFive1 Rev B\
**Created:** [June 15, 2024, 5:58am UTC](https://forums.sifive.com/t/issue-occuring-sifive-board/6502 "2024-06-15T05:58:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MANU](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@MANU](https://forums.sifive.com/u/MANU)\
**Post date:** [June 15, 2024, 5:58am UTC](https://forums.sifive.com/t/issue-occuring-sifive-board/6502/1 "2024-06-15T05:58:49Z")

</div>

Open On-Chip Debugger 0.11.0  
Licensed under GNU GPL v2  
For bug reports, read  
[OpenOCD: Bug Reporting](http://openocd.org/doc/doxygen/bugs.html)  
DEPRECATED! use ‘adapter speed’ not ‘adapter\_khz’  
DEPRECATED! use ‘adapter driver’ not ‘interface’  
Info : auto-selecting first available session transport “jtag”. To override use ‘transport select ’.  
Error: no device found  
Error: unable to open ftdi device with vid 0403, pid 6010, description ‘Dual RS232-HS’, serial ‘_’ at bus location '_’

the selected serial port  
does not exist or your board is not connected

please help anyone to resolve this issue using ubuntu system 22.04 and arduino version 1.8.19 and HiFive rev b01 board testing

---

<div class="post-metadata">

**Author:** ![tgm](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@tgm](https://forums.sifive.com/u/tgm)\
**Post date:** [June 18, 2024, 12:54am UTC](https://forums.sifive.com/t/issue-occuring-sifive-board/6502/2 "2024-06-18T00:54:41Z")

</div>

Assuming that your board is connected to your computer…

Try running OpenOCD with `sudo` privileges.  
If that works then the issue is almost certainly that you didn’t install the relevant `udev` rules file for non-root access.

- [Running OpenOCD without root privileges — theCore documentation](https://forgge.github.io/theCore/guides/running-openocd-without-sudo.html)
- [openocd/contrib/60-openocd.rules at master · openocd-org/openocd · GitHub](https://github.com/openocd-org/openocd/blob/master/contrib/60-openocd.rules)

Also, the “deprecated” messages suggest that you’re using old OpenOCD scripts with a more recent version of OpenOCD. You should probably update/fix the scripts.

OpenOCD 0.11.0 is also quite old so it may make sense to use a more recent version/build of OpenOCD. OpenOCD 0.12.0 was released over a year ago and there has been a lot of RISC-V specific work since then both upstream and in the RISC-V OpenOCD fork:

- [https://openocd.org/](https://openocd.org/)
- [GitHub - riscv-collab/riscv-openocd: Fork of OpenOCD that has RISC-V support](https://github.com/riscv-collab/riscv-openocd)

---

<div class="post-metadata">

**Author:** ![pds](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pds](https://forums.sifive.com/u/pds)\
**Post date:** [June 28, 2024, 5:56am UTC](https://forums.sifive.com/t/issue-occuring-sifive-board/6502/3 "2024-06-28T05:56:23Z")

</div>

@MANU First, not sure if that vid/pid pair is correct for the HiFive Rev.B 01 board, which has its embedded J-Link device. The 0403/6010 pair you mention is for FTDI’s **FT2232** chip, which is not on the HiFive1 Rev.B board. See the [HiFive 1b Getting Started Guide](https://sifive.cdn.prismic.io/sifive/6e47e321-cd6b-4419-a5e7-bfd39d9bb05f_hifive1revb-gsg-v1p3.pdf) which, in _Section 6.1.1_, instructs to install on Ubuntu the driver with

```auto
sudo dpkg -i ~/Downloads/JLink_Linux_V644b_x86_64.deb

```

Second, you might want to change your OpenOCD `.cfg` (i.e., tcl) script file replacing the `interface ftdi` statement with `interface jlink`. Actually, you should rather use `adapter driver jlink` as this is the new statement version.

Third, [an earlier discussion](https://forums.sifive.com/t/openocd-config-file-for-hifive1-revb/3930) on the forums might provide some clue.
