Skip to Content
Programming Embedded Systems in C and C++
book

Programming Embedded Systems in C and C++

by Michael Barr
January 1999
Beginner to intermediate
200 pages
7h 43m
English
O'Reilly Media, Inc.
Content preview from Programming Embedded Systems in C and C++
174 Index
software (continued)
optimizing code, 139–148
platforms, 11
(see also operating systems)
software interrupt, 162
SRAM, 58, 161
testing (example), 72–74
stack, 162
stack frame, 162
stack size reductions, 145
standard library routines, 144
startup code, 23–24, 28, 56, 162
hardware initialization and, 54
startup.asm file, 24, 28
startup.obj file, 28
states of operating system tasks, 103
status registers, 84–86
strings, printing (example), 130–131
structures overlaying registers, 87
switch statement, 140
symbol tables, 23
symbols, unresolved, 23–25
synchronization, 114–119
T
table lookups, 140
target, 162
Target188EB board (see Arcom board)
Task class, 103
TaskList class, 106
tasks, 101–106, 162
ADEOS (example), 103–104
context switches, 113–114, 122
deadlock, 120
priority inversion, 120
scheduler, 104, 106–113
states of, 103
synchronization, 114–119
task control blocks, 103
tasm (Borland’s Turbo Assembler), 28
tcrom locator, 29
tdr command, 35
testing memory, 61–74
common problems, 63–65
example of, 72–74
test strategy, 65–74
text, printing (example), 130–131
thread, 162
Timer class (example), 89–91, 127
Blinking LED with, 97–99
Timer driver (example), 89–99
TimerCounter data structure (example), 87
tlink command, 28
tload utility, 34
tracepoint, 163
tracing, real-time, 36
tracking hardware/driver state, 88
trap, 163
troubleshooting
deadlock and priority inversion, 120
hardware, 54
memory testing, 61–74
common problems, 63–65
example ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Embedded Systems Object-Oriented Programming in C and C++

Embedded Systems Object-Oriented Programming in C and C++

Israel Gbati

Publisher Resources

ISBN: 1565923545Catalog PageErrata