Learning RISC-V Architecture Through Debugging - Part 1

This guide provides easy and detailed explanations of the core concepts and practical tips for RISC-V, the latest open-source-based CPU architecture.

(4.9) 22 reviews

142 learners

Level Basic

Course period Unlimited

cpu
cpu
cpu-architecture
cpu-architecture
riscv
riscv
cpu
cpu
cpu-architecture
cpu-architecture
riscv
riscv

Reviews from Early Learners

4.9

5.0

mikeseohyungjin

35% enrolled

It was a lecture where I could feel the author's efforts and inner strength. As expected from someone who has been debugging and developing in the field, it was full of useful content. I learned a lot.

5.0

sunny75

100% enrolled

2024/09/08/Sun 15:10 I listened to the lecture well. The detailed explanation was good. Even for those who are seeing this lecture for the first time, it was explained well so that it was easy to understand. While listening to all of Kim Dong-hyun's lectures, I came to understand a lot about Linux & System & Debugging. Thank you for the great lecture.

5.0

간절한개발자

59% enrolled

RISC-V is on the rise these days, so I thought I should study it, but there were no proper books or lectures, so I was at a loss as to where to start. Then, Dong-Hyun Kim gave a RISC-V lecture! I was a bit afraid of the unfamiliar architecture called RISC-V, but I already had a clear understanding of Arm after reading Dong-Hyun Kim's Arm book and listening to his lectures, so I trusted him and bought it right away. After listening to the lecture, I found that RISC-V is very similar to Arm. Of course, it is not exactly the same, but I think people who have a concept of Arm will not find it too difficult. I plan to buy and listen to all of Dong-Hyun Kim's RISC-V lectures that come out in the future. I believe that if I follow along closely, I will be ahead of others in RISC-V architecture. I will listen to the remaining lectures diligently. I sincerely thank you for always giving great lectures.

What you will gain after the course

  • I can answer and explain questions related to RISC-V well in technical interviews.

  • You can learn about registers, assembly instructions, and Privilege mode, which are the core functions of RISC-V.

  • Using the TRACE32 simulator program, you can practice debugging features such as registers, assembly instructions, and privilege modes.

  • You can see how the RISC-V architecture is utilized in operating system kernels such as the Linux kernel.

  • I can analyze the startup code of bootloaders or the Linux kernel running on a RISC-V basis.

Announcement 🎯

To celebrate the launch of the first RISC-V course in Korea, we are issuing a 30% discount coupon (first 100 people).

Coupon Link: https://inf.run/cbK8L

In the latest system software industry,
the emerging RISC-V architecture

Recently, the RISC-V architecture, an open-source-based CPU architecture, has been emerging. If you look at IT-related media articles or news, you can immediately find content like the following:

  • Big tech companies such as nVidia, Intel, and Qualcomm are developing RISC-V-based products (chipsets).

  • The number of startups in Korea designing various chips using RISC-V is increasing, and the proportion of developing products based on RISC-V devices is rising.

  • RISC-V-based CPU architectures are widely utilized when designing AI semiconductors.

  • It is predicted that 15 billion RISC-V-based devices will be released by 2026.

  • Graduate schools (processor design) are conducting various research projects using toolkits capable of designing RISC-V CPUs.

Embedded and system software companies are increasingly utilizing the RISC-V CPU architecture to develop products. As a result, job seekers now need to prepare for RISC-V even during technical interviews.

Background of creating this course

From a beginner's perspective, the RISC-V architecture is difficult to learn. The reasons are as follows:

  • I don't know what is important among the vast amount of content that makes up RISC-V.

  • I don't know which features among the contents of RISC-V are actually utilized in real-world projects.

  • No matter how hard you read the RISC-V specification documents, they are difficult to understand immediately.


  • It is difficult to understand what the terms used to explain RISC-V actually mean.


Compared to the Arm architecture, there is a lack of materials related to the RISC-V architecture, and the reality is that there is a shortage of resources that explain RISC-V in a specific and easy-to-understand manner. I created this lecture to resolve the difficulties that system software developers, including entry-level developers, face while learning RISC-V.

A lecture by a RISC-V expert proven through global practical experience

1. Linux Plumbers Conference Presentation: Debugging RISC-V Kernel Crashes (December 2025)

(Source: https://www.youtube.com/watch?v=LNih2OdEcYo&t=1s)

2. Book: Practical Debugging for Embedded RISC‑V (Global Packt Publishing - Scheduled for publication in November 2026)

(Source: https://www.amazon.com/Practical-Debugging-Embedded-RISC%E2%80%91V-RISCV-Based/dp/1806699354/)

Course Structure and Roadmap for Part 2 and Part 3

This lecture covers the content of Part 1, which focuses on the core features of RISC-V, out of the entire RISC-V lecture series.

The full RISC-V architecture course can be found in the roadmap - 'RISC-V Architecture for System Software Developers' course.

Key differentiating points of the lecture

1. Debugging RISC-V architecture with the TRACE32 simulator program (for educational use)

What is the shortcut to learning the RISC-V architecture (registers, assembly instructions, and privilege modes)? It is none other than hands-on debugging practice.

By taking this course, you can download the educational TRACE32 simulator program from the 'Inflearn course materials' and use it to directly practice RISC-V architecture registers, assembly instructions, and Privilege modes.

For your information, TRACE32 debuggers and related programs are widely used throughout system software development. The TRACE32 program requires a license to run.

2. Carefully selected core content explained easily

When learning RISC-V, many people start by obtaining and analyzing reference documents. However, from a beginner's perspective, it is difficult to get a sense of which RISC-V topics to study first. This is because it's hard to know what needs to be mastered first. In this lecture, we have carefully selected and explained essential content that can be applied in practice. For example, we will open logs received from RISC-V-based devices and provide easy, detailed explanations of registers and assembly instructions.

3. Explaining with specific examples along with software and stacks

Most people learn RISC-V because they want to excel in system software development or enter this field. In this lecture, we will explain how RISC-V is utilized in real-world projects using various examples.

  • How software is executed in a RISC-V system

  • The process of how a RISC-V system boots up

  • How to perform debugging and reversing in a RISC-V system

By taking this course, you will be able to quickly gain practical experience naturally along with the details of the RISC-V architecture.

4. Explaining RISC-V in comparison with the Arm architecture

Looking at the ecosystem of the system software industry, as of 2023, the embedded and chipset industry ecosystem is centered around the Arm architecture. Many system software developers are familiar with Arm processors or the Arm architecture. In this lecture, the core concepts of RISC-V are explained alongside the Arm architecture. As the instructor is an author of a book on Arm architecture, they are uniquely qualified to explain RISC-V by comparing it with the Arm architecture better than anyone else.

What you will learn 📕

It explains each stage of system semiconductor development and introduces the development ecosystem related to the RISC-V architecture.


Explains in detail why you need to know the RISC-V architecture well from a practical project perspective.

It explains the registers, which are the core of the RISC-V architecture, in detail. It also explains how the registers are utilized.

We introduce the types of registers that are central to the RISC-V architecture and provide a detailed explanation of general-purpose registers.

Explains the basic functions and types of CSR (Control and Status) registers.

Explains in detail how to read and write CSR registers

We will explain the configuration and operation of registers through hands-on practice by running the TRACE32 educational program (simulator).

Explains the basic operation of assembly instructions and covers various assembly instructions. (Example: Analysis of the JAL instruction)

We explain conditional branch instructions such as BEQ and cover in detail how they are utilized in real-world projects.

We will conduct a hands-on practice session debugging assembly instructions using the TRACE32 simulator (educational version). (Educators can also follow along with the practice themselves.)


We explain the concepts of Privilege Mode and the related Privilege Level in detail.

Analyze the specifications related to Privilege Mode and explain which software runs in each Privilege Mode.

Based on my experience in book writing and lecturing,
deeper and more detailed than anyone else!

In the domestic system software field, I am an unprecedented author who has written books on 'Arm Architecture (Armv8-A, Armv7-A)' and 'Linux Kernel' (both books were selected as Excellent Academic Books by the National Academy of Sciences of the Republic of Korea), and a global author who is the first in Korea to write the book "Reverse Engineering Armv8-A Systems" (in English) through an international publisher (Packt). Above all, I am an active developer who is most well-versed in the latest system software trends (electric vehicles, system semiconductors - system software). I am also an educator who is most actively engaged in spreading knowledge in the field of system software.

  • Reverse Engineering Armv8-A Systems: A practical guide to Kernel, Firmware, and TrustZone analysis (Packt Publishing: English) - Published in 2025

  • Author of 'Structure and Principles of Arm Architecture for System Software Development' (2024, National Academy of Sciences Excellent Scholarly Book Award)

  • 'Structure and Principles of the Linux Kernel Learned Through Debugging' (2021, National Academy of Sciences Excellent Scholarly Book Award) Author

  • 'Programmers Dev Course: Linux System and Kernel Expert' Main Instructor

  • June 2022, Korea Computer Congress (KCC2022) - Tutorial Presentation [Conquering the Linux Kernel Using ftrace]

  • LG Electronics 'Linux Kernel' and 'Armv8 Architecture' In-house Instructor (including domestic and overseas developers) - (2020~2024)

Recommended for
these people

Who is this course right for?

  • A junior developer who wants to build expertise in the system software field, including system semiconductors (fabless) and electric vehicles (autonomous driving, infotainment).

  • A job seeker who wants to develop system software in the fields of system semiconductors (fabless) and electric vehicles.

  • System software developers (system semiconductors, electric vehicles) who want to know how to perform practical debugging by leveraging the features of the RISC-V architecture.

  • A developer from another field looking to transition their career into the system software field.

  • An undergraduate student aiming to pursue graduate studies in the field of system software (memory, file systems, operating systems).

Need to know before starting?

  • Computer Architecture

  • C Language

  • Operating System

Hello
This is austinkim

6,422

Learners

252

Reviews

99

Answers

4.9

Rating

23

Courses

Global Author & Linux System Software Developer (Arm, RISC-V Architecture)

A global author who has written unprecedented books on 'Arm Architecture (Armv8-A, Armv7-A)' and the 'Linux Kernel' in the domestic system software field (both books were selected as Excellent Academic Books by the National Academy of Sciences of the Republic of Korea), and is the first in Korea to author the book (in English) "Reverse Engineering Armv8-A Systems" through an international publisher (Packt). Above all, he is an active developer who is most well-versed in the latest system software trends (electric vehicles, system semiconductors-system software). He is also an educator who is most actively engaged in spreading knowledge within the system software field.

  • Author of the book (English) 'Reverse Engineering Armv8-A Systems: A practical guide to Kernel, Firmware, and TrustZone analysis', (Packt Publishing)

  • Author of 'Structure and Principles of Arm Architecture for System Software Development' (2024 National Academy of Sciences Outstanding Book Award)

  • Author of 'Structure and Principles of the Linux Kernel Learned Through Debugging' (2021, National Academy of Sciences Outstanding Scholarly Book Award)

  • Main Instructor for 'Programmers Dev Course: Linux System and Kernel Expert'

  • June 2022, Korea Computer Congress (KCC2022) - Tutorial Presentation [Conquering the Linux Kernel Using ftrace]

  • LG Electronics 'Linux Kernel' and 'Armv8 Architecture' internal instructor (including domestic and overseas developers) - (2020–Present)

I can confidently say that I am an educator who can explain the Linux kernel and Arm architecture (Armv8-A, Armv7-A) better than anyone else in Korea.

Lecture Inquiries: austindh.kim@gmail.com

Main Roadmap 🎯

'Arm for System Software Developers - basic course'

'Arm for System Software Developers - advanced course'

Linux kernel for system software developers - basic course

More

Curriculum

All

94 lectures ∙ (12hr 2min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

22 reviews

4.9

22 reviews

  • aceoftop1975님의 프로필 이미지
    aceoftop1975

    Reviews 121

    Average Rating 5.0

    5

    100% enrolled

    2024/09/08/Sun 15:10 I listened to the lecture well. The detailed explanation was good. Even for those who are seeing this lecture for the first time, it was explained well so that it was easy to understand. While listening to all of Kim Dong-hyun's lectures, I came to understand a lot about Linux & System & Debugging. Thank you for the great lecture.

    • austinkim
      Instructor

      Thank you for your good evaluation and feedback. I am sure that learning RISC-V in advance will be a great help to your career. Please refer to the TRACE32 program for debugging to efficiently analyze RISC-V assembly instructions.

  • jungmopark3648님의 프로필 이미지
    jungmopark3648

    Reviews 3

    Average Rating 4.3

    5

    100% enrolled

    Overall, the content was good. It would be good to see more comparisons with ARM architecture and to reduce repetitive explanations. While repeating explanations about twice is understandable, doing so numerous times causes significant fatigue.

    • austinkim
      Instructor

      I also appreciate your course reviews and valuable feedback. I will monitor the entire course and decisively edit out redundant content explained more than 1.5 times, supplementing it with lecture content that compares to Arm architecture. Thank you.

  • rousalome6394님의 프로필 이미지
    rousalome6394

    Reviews 4

    Average Rating 5.0

    5

    59% enrolled

    RISC-V is on the rise these days, so I thought I should study it, but there were no proper books or lectures, so I was at a loss as to where to start. Then, Dong-Hyun Kim gave a RISC-V lecture! I was a bit afraid of the unfamiliar architecture called RISC-V, but I already had a clear understanding of Arm after reading Dong-Hyun Kim's Arm book and listening to his lectures, so I trusted him and bought it right away. After listening to the lecture, I found that RISC-V is very similar to Arm. Of course, it is not exactly the same, but I think people who have a concept of Arm will not find it too difficult. I plan to buy and listen to all of Dong-Hyun Kim's RISC-V lectures that come out in the future. I believe that if I follow along closely, I will be ahead of others in RISC-V architecture. I will listen to the remaining lectures diligently. I sincerely thank you for always giving great lectures.

    • austinkim
      Instructor

      Thank you for your good evaluation and feedback. RISC-V is the future of system software, so it will be a great help to your career if you learn it in advance. If you have any questions, please leave a question.

  • yg3187님의 프로필 이미지
    yg3187

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    I really needed to learn RISC-V architecture, but it was difficult because there aren't many domestic materials available. Thank you so much for providing such excellent resources.

    • mist14093016님의 프로필 이미지
      mist14093016

      Reviews 5

      Average Rating 5.0

      5

      62% enrolled

      The detailed lecture is so good.

      austinkim's other courses

      Check out other courses by the instructor!

      Similar courses

      Explore other courses in the same field!