강의

멘토링

로드맵

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) 14 reviews

118 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,708

Learners

163

Reviews

86

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

14 reviews

5.0

14 reviews

  • 간절한개발자님의 프로필 이미지
    간절한개발자

    Reviews 4

    Average Rating 5.0

    5

    59% enrolled

    요즘 RISC-V 가 떠오르고 있어서 공부해야겠다는 생각은 했지만, 제대로 된 책도 강의도 없어서 어디서부터 시작해야할지 난감하던차에 김동현님께서 RISC-V 강의를 내주셨네요! RISC-V 라는 생소한 아키텍처에 대한 두려움이 없진 않았지만, 이미 김동현님의 Arm책을 읽고 강의를 듣고나서 Arm 에 대한 개념이 정확히 잡힌 경험이 있었기 때문에 믿고 바로 구매했습니다. 강의를 들어보니 RISC-V는 Arm 과 많이 비슷하네요. 물론 완전 동일하지는 않지만, Arm 에 대한 개념이 있는 사람은 그리 어렵지 않게 느낄 거 같습니다. 앞으로 나오는 김동현님의 RISC-V 강의는 모두 구매해서 들을 생각입니다. 차근히 따라가다보면 RISC-V 아키텍처에서는 제가 남들보다 앞서 있을 거 같다는 믿음이 생겼습니다. 남은 강의 열심히 듣겠습니다. 늘 좋은 강의, 진심으로 감사 드립니다.

    • 김동현 (Austin Kim)
      Instructor

      좋은 평가와 피드백 고맙습니다. RISC-V는 시스템 소프트웨어 분야의 미래이므로 미리 익혀두면 커리어에 큰 도움이 될 것입니다. 조금이라도 궁금한 점이 있으면 질문 남겨주세요.

  • sunny75님의 프로필 이미지
    sunny75

    Reviews 99

    Average Rating 5.0

    5

    100% enrolled

    2024/09/08/일 15:10 강의 잘 들었습니다. 아주 자세한 설명이 좋았습니다. 이 강의를 처음 보는 분들에게도 이해하기 쉽게 잘 설명해 주셨습니다. 김동현님의 모든 강의를 들으면서, linux & 시스템 & 디버깅에 대해 많이 이해 하게 되었습니다. 좋은 강의 감사합니다.

    • 좋은 평가와 피드백 고맙습니다. RISC-V를 미리 익혀두면 커리어에 큰 도움이 될 것이라 확신합니다. TRACE32 프로그램으로 디버깅을 하시면 RISC-V의 어셈블리 명령어를 효율적으로 분석하실 수 있으니 참고하세요.

  • 연규님의 프로필 이미지
    연규

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    RISC-V 아키텍처 학습이 꼭 필요했는데, 국내 자료가 많지 않아서 힘들었습니다. 정말 좋은 자료를 주셔서 감사합니다.

    • mist1409님의 프로필 이미지
      mist1409

      Reviews 1

      Average Rating 5.0

      5

      62% enrolled

      자세한 강의 너무 좋습니다.

      • 김준님의 프로필 이미지
        김준

        Reviews 1

        Average Rating 5.0

        5

        61% enrolled

        Limited time deal

        $90,750.00

        25%

        $93.50

        austinkim's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!