Lecture 17. Race Conditions

  Рет қаралды 13,593

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

Күн бұрын

This video will explain what is a race condition, what may go wrong if a race condition occurs, and how to avoid race conditions. Visit here for more information: web.eece.maine.edu/~zhu/book

Пікірлер: 11
@krish2nasa
@krish2nasa 6 жыл бұрын
Thank you very much, Prof. Yifeng
@sukhbirsingh8053
@sukhbirsingh8053 Жыл бұрын
This is Priceless
@themaki2145
@themaki2145 2 жыл бұрын
great stuff, mr. zhu. thanks for the effort of making this video
@edinhthong5139
@edinhthong5139 6 жыл бұрын
Cortex M3 and Cortex M4 introduce bit-banding. Which ensures access bit in atomic level -> Avoid race conditions
@user-hf7ie4hy6c
@user-hf7ie4hy6c 2 ай бұрын
Why the output of PB2 is also stored in the registor3 after exit from the systick_handler()
@kingfalconkhan
@kingfalconkhan 4 жыл бұрын
At 4:24, I think it is supposed to say, the old output of pin 'PB3' is also stored in the register r3 instead of PB2 is also stored in the register r3. Same at 4:38, where it should say the old output of 'PB3' is mistakenly written to the ODR register.
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
No. What I said is correct. The output of both PB2 and PB3 are stored in register r3.
@yanhuiyuan5686
@yanhuiyuan5686 3 жыл бұрын
r3 contains all bits of port B ODR register including bit PB2.
@sukhbirsingh8053
@sukhbirsingh8053 Жыл бұрын
Sir, could you please suggest some reading material for these kind of Essential Concepts??
@1MillonOne
@1MillonOne 5 жыл бұрын
Great vid! Just once thing..., not a good programming practice calling directly a function within the endless loop. Instead through a time scheduler!
@Sencires
@Sencires 2 жыл бұрын
Dude this is about microcontrollers and not about programming practices
Lecture 18. ADC
14:27
Embedded Systems and Deep Learning
Рет қаралды 24 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 49 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 18 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 517 М.
Lecture 21. Why learn assembly language
11:28
Embedded Systems and Deep Learning
Рет қаралды 12 М.
#20 Race Conditions: What are they and how to avoid them?
16:57
Quantum Leaps, LLC
Рет қаралды 40 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
Punch Card Programming - Computerphile
14:55
Computerphile
Рет қаралды 873 М.
An Introduction to Interrupts
14:07
Eli Hughes
Рет қаралды 160 М.
Race Conditions Explained With An Example | C Programming Tutorial
12:11
Portfolio Courses
Рет қаралды 10 М.
Lecture 12: System Timer (SysTick)
10:57
Embedded Systems and Deep Learning
Рет қаралды 105 М.
CONCURRENCY IS NOT WHAT YOU THINK
16:59
Core Dumped
Рет қаралды 89 М.
What is a Race Condition?
7:53
CodeOps Show
Рет қаралды 2,2 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 49 МЛН