MENU

Fun & Interesting

RP2040 - Introduction to Assembly Language - BMA-01

Life with David 15,874 lượt xem 2 years ago
Video Not Working? Fix It Now

Introduction to bare metal programming -
Join David as he investigates Bare Metal Programming for a Raspberry Pi Pico. After an overview of the RP2040 processor architecture, we’ll do an introduction into ARM assembly language. Finally we’ll write our first bare metal ARM assembly language program. See the next video, Bare Metal Adventures, Chapter 2 on compiling, linking, and loading the program into the Pico.

Raspberry Pi Pico Assembly Language Tutorial #01

Bare Metal Adventures, Chapter 2, Compiling and linking assembly language programs:
https://youtu.be/1kDTR6QgLaY

Github files:
https://github.com/LifeWithDavid/RaspberryPiPico-BareMetalAdventures/tree/main/Chapter%2001

Cortex-M0+ Generic User Guide: https://developer.arm.com/documentation/dui0662/latest/

ARMv6-M Architecture Reference Manual:
https://developer.arm.com/documentation/ddi0419/c/Application-Level-Architecture/

RP2040 Datasheet: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf

Getting Started with the Raspberry Pi Pico: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf

Emulator https://cpulator.01xz.net/?sys=arm-de1soc

ARM Assembly Language Tutorial: https://www.youtube.com/watch?v=gfmRrPjnEw4&t=621s

00:00 - Introduction
00:36 - High level vs. low level programmiing
02:30 - Overview of microprocessor architecture
03:47 - RP2040 Processors
05:26 - ARM assembly instructions
06:11 - ARM assembly emulator
06:31 - Memory instructions demonstration
10:31 - Branch instructions demonstrations
12:25 - Writing our first bare metal program
14:37 - Single-cycle Input Output
15:50 - Releasing the reset register
19:56 - Enabling the GPIO
21:27 - Controlling the GPIO
22:00 - Adding a delay
23:24 - Finished program
23:50 - Closing

Music:
(Pinnacle 25 royalty-free music):
Pulsing Dance
House Fever
Reaction Time
City Night Groove

Comment