강의

멘토링

로드맵

Hardware

/

Embedded IoT

Learning RISC-V Architecture through Debugging - Part 1

Explains the core concepts and practical tips of RISC-V, the latest open-source-based CPU architecture, easily and in detail.

(5.0) 16 reviews

122 learners

  • austinkim
시스템반도체
이론 실습 모두
하드웨어
cpu
cpu-architecture
riscv

Reviews from Early Learners

What you will learn!

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

  • You can learn Register, Assembly instructions, and Privilege mode, which are core features that make up RISC-V.

  • The TRACE32 simulator program allows you to practically debug features like registers, assembly instructions, and Privilege mode.

  • Learn how RISC-V architecture is used in OS kernels like the Linux kernel.

  • Can analyze the startup code of bootloaders or Linux kernels running on RISC-V.

Notice 🎯

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

Coupon: 17338-22e9b70d6177

In the modern systems software industry
The Emerging RISC-V Architecture

Recently, the RISC-V architecture, an open source-based CPU architecture, is on the rise. If you look at IT-related media articles or news, you can immediately see the following:

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

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

  • When designing AI semiconductors, RISC-V-based CPU architecture is widely used.

  • 15 billion devices are expected to be RISC-V-based by 2026.

  • In the graduate school (processor design), various studies are being conducted using a toolkit that can design RISC-V CPUs.

Embedded and system software companies are increasingly developing products using RISC-V CPU architectures, so job seekers need to prepare for RISC-V during technical interviews.

Background on creating the lecture

For beginners, the RISC-V architecture is difficult to learn. Here are some reasons why:

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

  • I don't know which functions of RISC-V are used in real projects.

  • No matter how hard you read the RISC-V specification document, it is difficult to understand it right away.


  • It is difficult to know what the term itself that describes RISC-V means.


Compared to the Arm architecture, there is not enough information on the RISC-V architecture, and there is a lack of information that specifically and easily explains RISC-V. I created this lecture to help system software developers, including new developers, overcome the difficulties they face when learning RISC-V.

Lecture structure and roadmap for parts 2 and 3

This lecture covers Part 1, the core features of RISC-V, among the entire RISC-V lecture list.

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

Key differentiating points of the lecture

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

What is the shortcut to learning RISC-V architecture (registers, assembly instructions, privileged mode)? It is through hands-on debugging practice.

By taking this course, you can download the educational TRACE32 simulator program from 'Inflearn lecture materials' and use the TRACE32 simulator program to practice registers, assembly instructions, and privilege mode of the RISC-V architecture.

For reference, the TRACE32 debugger and related programs are widely used throughout system software development. The TRACE32 program requires a license to run.

2. Select key contents and explain them easily.

When learning RISC-V, it is common to first obtain and analyze reference documents. However, it is difficult for beginners to get a sense of which RISC-V content to learn first. This is because it is difficult to know what to learn well first. In this lecture, we will carefully select and explain the content that can be applied in practice and must be well-known. For example, we will open the log received from a RISC-V-based device and explain the registers and assembly instructions in an easy and detailed manner.

3. Explain with specific examples along with software and stack.

RISC-V is mostly learned by those who want to do well in system software development or to enter this field. In this lecture, we will explain various examples of how RISC-V is utilized in real-world projects.

  • How software runs on RISC-V systems

  • What is the boot process in a RISC-V system?

  • How to Debug and Reverse on RISC-V Systems

By taking this course, you can quickly and naturally acquire a practical feel for the content of the RISC-V architecture.

4. Explain RISC-V compared to Arm architecture

Looking at the ecosystem of the system software industry, the ecosystem of the embedded and chipset industry will be centered on the Arm architecture by 2023. Many system software developers are familiar with the Arm processor or Arm architecture. In this lecture, the core concepts of RSIC-V are explained along with the Arm architecture. The instructor is the author of a book on the Arm architecture, and he can explain RISC-V better than anyone else by comparing it to the Arm architecture.

Learn about these things 📕

We describe each step of developing a system semiconductor and introduce the development ecosystem related to the RISC-V architecture.


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

We will explain in detail about the registers, which are the core of the RISC-V architecture. We will also explain how the registers are utilized.

We introduce the types of registers that are the core of the RISC-V architecture and explain general-purpose registers in detail.

Describes the basic functions and types of the CSR (Control and Status) register.

Explains in detail how to read and write the CSR register.

The configuration and operation of registers are explained through practice by running the TRACE32 educational program (simulator).

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

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

We will practice debugging assembly instructions using the TRACE32 simulator (educational) program. (Educators can also follow along and practice)


Explains in detail the concept of Privilege Mode and its related Privilege Level.

We analyze the specifications related to Privilege Mode and explain what software runs in each Privilege Mode.

Based on my experience writing books and giving lectures
More in-depth and detailed than anyone else!

Unparalleled in the domestic system software field ! Author of 'Arm Architecture (Armv8-A, Armv7-A)' and 'Linux Kernel' ( both books selected as excellent books by the Korean Academy of Sciences ) and global author who wrote the book "Reverse Engineering Armv8-A Systems" (English) through a foreign publisher (Packt) for the first time in Korea . Above all, he is a working developer who knows the latest system software trends (electric vehicles, system semiconductors - system software) the best. He is also an educator who is most active in knowledge dissemination in the field of system software.

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

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

  • Author of 'Learning the Structure and Principles of the Linux Kernel through Debugging' ( 2021, Korean Academy of Sciences Outstanding Book Award )

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

  • June 2022, Korea Computer Conference (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?

  • Junior developer who wants to develop capabilities in the system software field, including system semiconductors (fabless) and electric vehicle fields (autonomous driving, infotainment).

  • Aspiring system software developer for system semiconductor (fabless) and electric vehicle sectors.

  • System software developers (system semiconductors, electric vehicles) interested in practical debugging using RISC-V architecture features.

  • Developer from another field looking to transition their career to system software

  • Undergraduate student aiming to pursue graduate studies in the system software field (memory, file system, operating system)

Need to know before starting?

  • Computer Architecture

  • C language

  • Operating System

Hello
This is

5,791

Learners

175

Reviews

89

Answers

4.9

Rating

22

Courses

글로벌 저자 & 리눅스 시스템 소프트웨어 개발자 (Arm, RISC-V 아키텍처)

국내 시스템 소프트웨어 분야에서 전무후무한! 'Arm 아키텍처(Armv8-A, Armv7-A)'와 '리눅스 커널' 책을 쓴 저자(2권의 책 모두 대한민국 학술원 우수도서에 선정)이며, 국내 최초로 해외 출판사(Packt)를 통해 "Reverse Engineering Armv8-A Systems" 책(영어)을 집필한 글로벌 저자입니다. 무엇보다 최신 시스템 소프트웨어 트렌드(전기자동차, 시스템 반도체- 시스템 소프트웨어)를 가장 잘 알고 있는 현업 개발자입니다. 또한 시스템 소프트웨어 분야에서 가장 지식 전파 활동을 활발하게 하는 교육자입니다. 

  • 'Reverse Engineering Armv8-A Systems: A practical guide to Kernel, Firmware, and TrustZone analysis' 책(영어) 저자, (Packt 출판사)

  • '시스템 소프트웨어 개발을 위한 Arm 아키텍처의 구조와 원리'(2024년, 대한민국 학술원 우수도서상) 저자

  • '디버깅을 통해 배우는 리눅스 커널의 구조와 원리' (2021년, 대한민국 학술원 우수도서상) 저자

  • '프로그래머스 데브 코스: 리눅스 시스템 및 커널 전문가' 메인 강사

  • 2022년 6월, 한국컴퓨터종합학술대회 (KCC2022) - 튜토리얼 발표 [ftrace를 이용해 리눅스 커널 정복하기]

  • LG전자 '리눅스 커널' 및 'Armv8 아키텍처' 사내 강사(국내 및 해외 개발자 포함) - (2020년~현재)

국내에서 어느 누구보다 리눅스 커널과 Arm 아키텍처(Armv8-A, Armv7-A)를 잘 설명할 수 있는 교육자라고 자신있게 말씀드릴 수 있습니다.

강의문의 : austindh.kim@gmail.com

주요 로드맵 🎯

'시스템 소프트웨어 개발자를 위한 Arm - basic course'

'시스템 소프트웨어 개발자를 위한 Arm - advanced course'

시스템 소프트웨어 개발자를 위한 Linux kernel - basic course

Curriculum

All

94 lectures ∙ (12hr 2min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

16 reviews

5.0

16 reviews

  • 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.

  • aceoftop1975님의 프로필 이미지
    aceoftop1975

    Reviews 102

    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.

  • schung8696님의 프로필 이미지
    schung8696

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    • dlee8103님의 프로필 이미지
      dlee8103

      Reviews 2

      Average Rating 5.0

      5

      31% enrolled

      • 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.

        $93.50

        austinkim's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!