In this video I'll show the basics of how I program the AtMega328p in an Arduino-free manner. This allows us to be more versatile in building our projects and for example embed our microcontrollers directly on a custom PCB.
Check out PCBWay for ordering your custom PCBs: https://pcbway.com/g/nPngMb
PCBWay's 7th design contest: https://www.pcbway.com/activity/7th-p...
I want to point out that for programming fuse Bytes, a serial programmer is necessary, at least as far as I understand, there aren't any CPU instructions that allow doing this during execution.
REMEMBER: if you program and arduino with an ICSP like the AVRISP I used, the bootloader will be overwritten, this means you won't be able to program it over the standard USB cable.
0:00 Intro
0:21 Configuring the clock division
3:09 External CLK signal
3:56 External crystal resonator
4:38 Remaining bits of Low Fuse Byte
5:08 Installing avrdude
6:36 Sponsor
7:20 Compiling and uploading code
Music:
Space Jazz - Kevin Macleod
Lobby Time - Kevin Macleod
George Street Shuffle - Kevin Macleod
Mining by Moonlight - Kevin Macleod
Groove Grove - Kevin Macleod