kevin's website

electronics

bugs that i want to document because it wasted a lot of my time

unable to communicate over serial with hardware (arduino, ch341 serial etc) on linux

  1. Make sure you are in the uucp group.
usermod -aG uucp $USER
  1. Check if you have orca installed. brltty, a dependency of orca, conflicts with the udev rules that assign /dev/ttyUSB* and other serial devices) uninstall orca and brltty and check if your problem is resolved.

You may need to log out and log back in for these fixes (definitely for number 1)

  1. check dmesg output to see what is happening. (it may help if you still don't come right)
dmesg -k | grep "ftdi"
dmesg -k | grep "ttyUSB"
dmesg -k | grep "ch34"

source that helped me figure it out

intel quartus prime jtag, hardware not showing

The following script I wrote will help to reset the quartus jtag daemon

This quirk can be found documented here and the arch wiki page was also helpful

#!/bin/bash

DIR=$(pwd)
cd ~/intelFPGA_lite/20.1/quartus/bin/;
sudo killall -9 jtagd;
sleep 2;
sudo ./jtagd;
sleep 3;
./jtagconfig;
cd $DIR;