x
Menu

Embedded Systems Programming

Other,

Updated On 02 Feb, 19

Overview

Getting Started - Counting - Flow of Control - Variables and Pointers - Blinking the LED - Preprocessor and volatile - Bit-wise operators in C - Arrays and Pointer Arithmetic - Functions and the Stack - Modules, Recursion, AAPCS - Stack Overflow and Other Pitfalls of Functions - stdint.h and mixing types - structures and CMSIS - startup code part - interrupts

Includes

Lecture 2: Counting

4.1 ( 11 )


Lecture Details

This lesson shows you how computers count, which is all they really do. You will also see how the ARM Cortex-M machine instructions look like and youll look inside the processor registers, and the memory.

The lesson starts with creating the first project in the IAR toolset and then shows you how to work with the code by compiling it frequently to check for errors.

Next, you will debug your first program using the ARM instruction simulator. You will see the machine instructions in disassembly and directly in memory. You will learn about the ARM Cortex-M registers, especially about the Program Counter (PC).

Next, you will learn about the hexadecimal system and how to quickly map binary strings to hexadecimal.

Finally, you will also learn about the 2s complement representation of signed nubmers.

In the last step, the lesson shows how to run the first project on the Stellaris Kickstart board.

The next lesson will show you how to avoid repetitions by looping, and youll learn how to control program flow in C.

Miro Samek
www.state-machine.com

---
YouTube PLAYLIST of the whole course
httpwww.youtube.complaylist?list=PLPW8O6W-1chwyTzI3BHwBLbGQoPFxPAPM

Course web-page
httpwww.state-machine.comquickstart

Ratings

4.5


2 Ratings
55%
30%
10%
3%
2%
Comments
comment person image

Sam

Excellent course helped me understand topic that i couldn't while attendinfg my college.

Reply
comment person image

Dembe

Great course. Thank you very much.

Reply
Send