Intro to Bare Metal Programming - Episode 1: How to Get Started | Videos
Intro to Bare Metal Programming - Episode 1: How to Get Started
Series Playlist: https://www.youtube.com/playlist?list=PLtQdQmNK_0DQ8KGcZ1BOPv-3RDPvtqJ1H
This is the first episode in a new series on bare metal programming with the AVR®Tiny2 (ATtiny1627 family of MCUs). This first video covers what bare metal programing is, and how to...
- Add Device Family Packs to MPLAB® X IDE
- Find the datasheet using MPLAB X IDE
- Use tech briefs and macros for human readable bare metal code.
This series will cover setting up peripherals on the Tiny2 and will culminate in a small project.
Relevant links:
TB3262 (Getting Started with Writing C-Code for AVR®
MCUs): https://mchp.us/34HSmoU
ATtiny1627 Family: https://mchp.us/3gzs4YG
ATtiny1627 Curiosity Nano: https://mchp.us/35OegHG
MPLAB X IDE: https://mchp.us/3ozQsxJ
MPLAB XC8 Compiler: https://mchp.us/3ov8hhl
Timestamps:
00:00 Introduction
00:20 What is bare metal programming?
1:00 Episode plan
1:12 Kit Window and Device Family Pack
1:58 External links in MPLAB X (Access Datasheet)
2:17 Getting started with writing C-code for AVRs
3:28 Modules and registers
5:10 Bit and bitfield naming conventions
5:43 Configuration Change Protection (CCP) registers
6:29 Fuses (Configuration Bits)
6:38 Module representation in header files
7:00 Next episode plan
#microcontroller #avr #programming