Author: derry

  • This Makes My RISC-V Trap Handler Does Not Work

    I was working on a RISCV assembly when suddenly I got a weird issue. The exception does not get caught in the trap handler. I thought this was a QEMU bug on the RISCV target because the trap handler works on my other code. Then after a day of digging, I figured out that it […]

  • The RISCV ISA Documentation Is Better than RISCV Green Card

    I hosted the RISCV ISA Documentation. This is really helpful if you want to learn about the assembly syntax or learning the RISCV itself. As a beginner, this documentation is more effective instead of constantly checking at the green card. 🙂

  • My Quick Ways to Auto Format Code in VSCode

    I don’t have much time to format my code to looks neat in VSCode (Ctrl + Shift + I), but the default formatting from Visual Code is not efficient for me. It makes the first bracket on function placed alone in one line. This makes my code longer!

  • Stuck at Debugging RISCV on Arty A7 using J-Link

    Running the RISCV Processor I got an Arty A7 board coming to my desk, and I’m curious to try running a RISCV processor on it. Not long after following the tutorial from Digilent, I was able to program the RISCV processor on this board just by using a MicroUSB cable. Running the Program on RISCV […]

  • How to Start a Fresh Raspberry Pi without Monitor

    I mean using SSH, because HDMI, mouse, keyboard, and monitor will eat up the whole space in my desk. Prepare the Raspberry Pi OS Firstly we need to get our microSD card with bootable Raspberry Pi OS. I recommend to use Raspberry Pi Imager to make this process easier. We just need 3 steps, download […]

  • How to Fix Raspberry Pi SSH Hangs or Not Responding

    I just set up a Raspberry PI 4 Model B in the laboratory to automatically connect to the lab’s router. I found that each random minutes the SSH is hangs and not responding.

  • How to Install Xilinx using Command Line in Four Steps

    I just got some problem with Xilinx 2020.1 installation on my Pop OS. The installer was stuck and gives me an error message: This seems like the GUI problem on the installer. So let’s just continue using batch mode.

  • How to View .dot Files in Ubuntu

    I was working with LLVM recently to create a callgraph using opt -view-cfg. But unfortunately it doesn’t work. Here is what I got instead: This means there is no application registered for handling .dot files. Even if I already installed graphviz. Solution is, install xdot. sudo apt install xdot Now you can opt -view-cfg to […]

  • How to Hide Wine System Tray

    Install this gnome extension: https://extensions.gnome.org/extension/1674/topiconsfix/ This will move wine system tray to your real ubuntu/gnome system tray. Enjoy your life.

  • GIT Tutorial: How to Push to a New Repository

    Set up your global git configuration first. git config –global user.name “Your Name” git config –global user.email “id@your.site” If you want to create a new repository: