Lecture 5: Memory Mapped I/O

  Рет қаралды 170,912

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

Күн бұрын

This short video explains what is memory mapped I/O. Visit the book website for more information: web.eece.maine.edu/~zhu/book

Пікірлер: 45
@MrKaviraj75
@MrKaviraj75 7 жыл бұрын
You have good quality slides but please use your own voice to explain instead of letting the computer reading a text
@EngMazen
@EngMazen 7 жыл бұрын
I had take courses and read tons of books , after long experince no one explain as you did
@hassinayaz7310
@hassinayaz7310 7 жыл бұрын
no one ever explained this good ... thank you very much
@yabincheng4171
@yabincheng4171 Жыл бұрын
cleaer explanation and an brief virtual example. I want to know how "hardware" read the IO value. or is that memory mapped to register automatically then seamlessly could control IO? (like lighting on or off and LED?)
@ydtsai
@ydtsai 6 жыл бұрын
Very good video, informative, I really learned a lot. Just curious which tool you used to create such great video ?
@Brookieleeee
@Brookieleeee Жыл бұрын
Thank you for the really good content.
@OverlordNibble
@OverlordNibble 7 жыл бұрын
i watch this when I take my hourly bath
@lameitout
@lameitout 5 жыл бұрын
i watch this when I eat my daily supper
@devonwilliams5785
@devonwilliams5785 3 жыл бұрын
Pinky
@devonwilliams5785
@devonwilliams5785 3 жыл бұрын
Pinky will be in touch with you tomorrow
@hpsmash77
@hpsmash77 2 жыл бұрын
your pfp
@santoshsco
@santoshsco 3 жыл бұрын
Great episode !!
@xuefeizhang196
@xuefeizhang196 2 жыл бұрын
very clear demonstration video! thanks
@maggieobrien8182
@maggieobrien8182 2 жыл бұрын
Very good and funny videos bring a great sense of entertainment!
@quochuynh7020
@quochuynh7020 3 жыл бұрын
Thank you, thank you and thank you.
@Baloon_edits
@Baloon_edits 3 жыл бұрын
Great video.. Will u please share presentation slides..
@pablom695
@pablom695 3 жыл бұрын
really really good.. thanks so much
@AA7Productionz
@AA7Productionz 3 жыл бұрын
Hi,can you explain how you are dereferencing while using macros at 6:19 . Im not able to understand how GPIO->ODR does the dereferencing (i have understanding of struct pointer)
@scotthinton4610
@scotthinton4610 5 ай бұрын
GPIOA == GPIO_TypeDef*, it's just an alias to the pointer to the MMIO address.
@saravanank6909
@saravanank6909 Жыл бұрын
Hi Sir, How are you!!.. The below is my doubt, kindly clear my doubts. How do i find RAM end address sir? There is is 2 SRAM in my MCU(STM32F407 disc1 board), starting address is 0x20000000 as per user manual and my SRAM 1 size is 112KB and SRAM 2 size is 16KB. As per the memory mapping end address of SRAM 1 is 0x2001BFFF, but if we add 0x20000000 with `112 KB am getting the address 0x2001C000, SRAM1 end address is 0x2001BFFF. 0x2001C000 is starting address of SRAM2. Kindly help me for find out SRAM1 end address. Thanks in advance Sir :)
@eis3nheim
@eis3nheim 2 жыл бұрын
Beautiful.
@richardqqq176
@richardqqq176 7 жыл бұрын
very informative
@calvinmichael2737
@calvinmichael2737 2 жыл бұрын
This is beautiful
@tomhyhlik1788
@tomhyhlik1788 4 жыл бұрын
thank you, it is very infrormative and very good quality
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
You are welcome!
@waseemsajjad6620
@waseemsajjad6620 5 жыл бұрын
which TTS voice you use??? Its nice.
@Mukesh-nx8tf
@Mukesh-nx8tf 2 жыл бұрын
good explanation
@imcnx1563
@imcnx1563 4 жыл бұрын
Can someone explain me what’s the meaning of |=1UL
@Yocairo
@Yocairo 4 жыл бұрын
| is OR and = is assignment operator. UL just tells the compiler that the 1 is to be interpreted as a uint32_t (UNSIGNED LONG).
@edinetgrunhed6000
@edinetgrunhed6000 3 жыл бұрын
sir, please clarify me while in the Memory map showing the width is "one Byte (8bits) but when you elaborate the GPIO A registers its shows 4Bytes..can you explained pls.im confused
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
If a variable x is declared as uint32_t, x will take four bytes in the memory. The IDR and ODR register are declared with "uint32_t" in the GPIO struct.
@edinetgrunhed6000
@edinetgrunhed6000 3 жыл бұрын
@@embeddedsystemswitharmcort9051 ok, thanks
@josephzhang1797
@josephzhang1797 3 жыл бұрын
i know it may sound strange, at 4:59, can I write *((uint32_t *) 0x48000017 |= 1UL>>17?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
Yes, it should work!
@donghunpark379
@donghunpark379 4 жыл бұрын
Best Ever.
@ze2411
@ze2411 2 жыл бұрын
0xFFFFFFFF means "4,294,967,295" in decimal which is 4 Giga bits (4Gbs) which is equivalent to 0.5GBs (0.5 Giga Bytes). If you mean each address refers to 4 bytes of memory then total memory should be 16 GBs. Which is it?
@ze2411
@ze2411 2 жыл бұрын
I just saw that each address points to one byte in the lower part of the screen in the block diagram. So 4GB makes sense.
@amoldhamale3202
@amoldhamale3202 2 жыл бұрын
That's a wrong statement. 0xFFFF_FFFF is 4 GB (bytes) not bits. 4 Gb would be address space 0 - 0x1FFF_FFFF which in other words is 512 MB
@JGunlimited
@JGunlimited 6 жыл бұрын
Please use your voice. Don't care what kind of accent you have (you could even include subtitles if you feel it would help). Because a computer reading makes the content sound so dull...
@mehdi52783
@mehdi52783 7 жыл бұрын
hi, why don't we assign the value we want, directly to the 32-bit i/o port A data register without using a bitwise operator ??
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 7 жыл бұрын
For example, the GPIO output data register has 32 bits, controlling the output of all pins of that port. If you do not use the bitwise operations, you will cannot change the output of a pin without influencing the output of the other pins in this port.
@mehdi52783
@mehdi52783 7 жыл бұрын
understood, thanks.
@coderhex1675
@coderhex1675 4 жыл бұрын
@@embeddedsystemswitharmcort9051 good point!
@davidmcgill1000
@davidmcgill1000 5 жыл бұрын
3:30 Animation out of order.
@crptc5707
@crptc5707 2 жыл бұрын
machine voice better than my professor
Lecture 6: GPIO Output: Lighting up a LED
11:01
Embedded Systems and Deep Learning
Рет қаралды 48 М.
Introduction to Direct Memory Access (DMA)
20:33
Intermation
Рет қаралды 41 М.
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 46 МЛН
Memory Mapped I/O and an introduction to Serial and PCI Express Busses
54:51
Von Neumann Architecture - Computerphile
16:20
Computerphile
Рет қаралды 632 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
Ep 087: Using Polled I/O with a Memory Mapped Device
19:56
Intermation
Рет қаралды 3,9 М.
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 261 М.
Fetch Decode Execute Cycle in more detail
7:55
Computer Science
Рет қаралды 538 М.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 227 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,6 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 175 М.