How to Burn a Bootloader and Upload code to a ATMega328P-AU

  Рет қаралды 3,968

Pretty much flawless

Pretty much flawless

5 ай бұрын

Hope this helps!
For Affordable, High quality PCBs Check out PCBways website!
pcbway.com/g/HICmLg
For my How to do SMD Soldering video:
• How to do SMD Soldering!
Thanks for watching!
-Daniel

Пікірлер: 18
@kunal7biz
@kunal7biz 2 ай бұрын
A great channel.. subscribed already.. keep posting.. its great stuff.. thanks
@prettymuchflawless-cn1ms
@prettymuchflawless-cn1ms 2 ай бұрын
Thanks!
@mytechnotalent
@mytechnotalent 2 ай бұрын
Great job very helpful thank you!
@SystemBoo
@SystemBoo 4 ай бұрын
saved you months of work. Thank you so much!
@wakhiwemathuthu
@wakhiwemathuthu Ай бұрын
Well explained, thank you!
@benten3441
@benten3441 27 күн бұрын
Can you please make a video how to use the shell you showed? or give us the diagram?
@benten3441
@benten3441 27 күн бұрын
How it is converting 32 pins to 28 pins? Can you please explain the pinouts?
@unglaubichuberlieber8048
@unglaubichuberlieber8048 4 ай бұрын
very informative + detail, have you tried with those qfp(quad flat panel) chips ???
@prettymuchflawless-cn1ms
@prettymuchflawless-cn1ms 4 ай бұрын
No I have not but I assume It would be very similar. there is some things you would have to change. 1. you will have to change the ATMega328 Variant to 328PB 2. watch out for the pin layout as it will be different I hope that helps Thanks for watching!
@dimitra.d792
@dimitra.d792 29 күн бұрын
hi can i read write program on atmega 8 microcontroller ?
@DBBahnospherix-BahnAtmospherix
@DBBahnospherix-BahnAtmospherix 2 ай бұрын
Great - Question: can you now use the pins where the quartz is connected as GPIO? If so, how are these referred to in the program?
@prettymuchflawless-cn1ms
@prettymuchflawless-cn1ms 2 ай бұрын
Not as far as I know. here is what the datasheet say about these pins: • XTAL2/TOSC2/PCINT7 - Port B, Bit 7 XTAL2: Chip clock oscillator pin 2. Used as clock pin for crystal oscillator or low-frequency crystal oscillator. When used as a clock pin, the pin can not be used as an I/O pin. TOSC2: Timer oscillator pin 2. Used only if internal calibrated RC oscillator is selected as chip clock source, and the asynchronous timer is enabled by the correct setting in ASSR. When the AS2 bit in ASSR is set (one) and the EXCLK bit is cleared (zero) to enable asynchronous clocking of Timer/Counter2 using the crystal oscillator, pin PB7 is disconnected from the port, and becomes the inverting output of the oscillator amplifier. In this mode, a crystal oscillator is connected to this pin, and the pin cannot be used as an I/O pin. PCINT7: Pin change interrupt source 7. The PB7 pin can serve as an external interrupt source. If PB7 is used as a clock pin, DDB7, PORTB7 and PINB7 will all read 0. • XTAL1/TOSC1/PCINT6 - Port B, Bit 6 XTAL1: Chip clock oscillator pin 1. Used for all chip clock sources except internal calibrated RC oscillator. When used as a clock pin, the pin can not be used as an I/O pin. TOSC1: Timer oscillator pin 1. Used only if internal calibrated RC oscillator is selected as chip clock source, and the asynchronous timer is enabled by the correct setting in ASSR. When the AS2 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter2, pin PB6 is disconnected from the port, and becomes the input of the inverting oscillator amplifier. In this mode, a crystal oscillator is connected to this pin, and the pin can not be used as an I/O pin. PCINT6: Pin change interrupt source 6. The PB6 pin can serve as an external interrupt source. If PB6 is used as a clock pin, DDB6, PORTB6 and PINB6 will all read 0. Here is a link to the datasheet: ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf page 65 is where you can find this info Thanks for watching!
@DBBahnospherix-BahnAtmospherix
@DBBahnospherix-BahnAtmospherix 2 ай бұрын
@@prettymuchflawless-cn1ms Thank you
@user-wc6vm8fw3s
@user-wc6vm8fw3s 2 ай бұрын
I triple checked my wire connexion but i keet having the 0x0000 signature error. I Tried with an ATMega328-P U and an ATMega328PB-AU in a socket (with my IDE set for one of those) and i'm still having this error
@prettymuchflawless-cn1ms
@prettymuchflawless-cn1ms 2 ай бұрын
is there a crystal connected?
@jeremiahbullfrog9288
@jeremiahbullfrog9288 5 ай бұрын
Brilliant! Where do you get the clamshell adapter? Looks expensive $$$$
@prettymuchflawless-cn1ms
@prettymuchflawless-cn1ms 5 ай бұрын
From AliExpress here is the link: www.aliexpress.com/item/1005005925028098.html?spm=a2g0o.order_list.order_list_main.10.15ea1802UkmVN8 it was $20 so fairly inexpensive Thanks for watching!
@jeremiahbullfrog9288
@jeremiahbullfrog9288 5 ай бұрын
@@prettymuchflawless-cn1ms Wow that's a great price, got me a 44-pin one for my ATMEGA1284, thanks for the pointer
How to use a Oscilloscope as a continuity tester!
3:24
Pretty much flawless
Рет қаралды 573
8-bit Arduino Clones: Atmega 328pb? How to fix computability issues!
15:55
Wi-Fi Sheep Tech Channel
Рет қаралды 8 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 49 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 21 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 18 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Bare-Metal MCU #4 - Bootloaders and Programmers
18:24
Mitch Davis
Рет қаралды 54 М.
How to do SMD Soldering!
13:24
Pretty much flawless
Рет қаралды 328
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 883 М.
ATmega328P программирование фьюз
10:26
Время идет
Рет қаралды 12 М.
How to Read an Electronics Datasheet?
16:48
MicroType Engineering
Рет қаралды 21 М.
Bootloader and upload to Atmega328P-AU
7:28
Kakushin
Рет қаралды 68 М.
A simple BIOS for my breadboard computer
21:53
Ben Eater
Рет қаралды 330 М.
Microcontroller ISP Programming (getting started)
5:23
DIY GUY Chris
Рет қаралды 4,6 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 49 МЛН