Full description not available
S**M
Learn real practical skills that are applicable across a range of embedded systems and RTOS's.
Full disclosure: I was given a free copy of this book for evaluation.This is an outstanding book. It lives up to its name, extremely hands-on and practical, taking you from knowing nothing about RTOS's (Real-Time Operating Systems) up to building real multithreaded embedded system applications running on real hardware.It uses the ST Micro STM32 Nucleo-F767ZI development board (under $35 USD with shipping) to run all its examples, written in C and built with free downloadable tools that run on Windows, Mac, or Linux. Full source code for all examples is downloadable.It isn't just for FreeRTOS. Every RTOS is a little different, each making slightly different design decisions, but fundamentally they all share the same concepts. This book provides a very practical fundamental grounding in the concepts, methods, and considerations for using a variety of RTOS's in a wide variety of applications, such as ThreadX, QNX, Micrium uC/OS, VxWorks, RTEMS, Keil RTX, embedded Linux, Zephyr, and others, as well as the CMSIS-RTOS and POSIX API's.Amos does an excellent job of presenting concepts and background information, explaining the pros and cons of various options, and then showing how to use them. The pattern he uses is to start with polling in a bare-metal single-threaded application, progressing to ISR's (Interrupt Service Routines), DMA (Direct Memory Access), and then full RTOS multi-tasking.He explains when each form is recommended or not recommended, costs, and benefits. He discusses the various tradeoffs to be made, which is a critical part of engineering. As he repeatedly points out, there is no one-size-fits-all solution for every situation.The book is organized into four sections:1. Introduction and RTOS Concepts2. Toolchain Setup3. RTOS Application Examples4. Advanced RTOS TechniquesSection 1 defines "real-time" and "RTOS", distinguishing between hard, firm, and soft real-time systems. It compares RTOS tasks with bare-metal superloops and parallelism with ISR's and DMA, then covers concurrency concepts like queues, semaphores, and mutexes.Section 2 covers MCU, development board, toolchain, and debugger selection. That includes how to navigate data sheets and vendor websites, which can be overwhelming when you first start digging into them. Amos explains why he selected the STM32 Nucleo-F767ZI development board, the STM32CubeIDE, and the Segger J-Link, Ozone, and SystemView debug and monitoring tools for the book. This is extremely valuable, because you may find yourself responsible for making such technical decisions some day.Section 3 goes through several example applications that illustrate setting up and controlling multiple tasks, and managing the interaction between them. Amos uses simple GPIO LED and UART control to make activity visible, but these can be expanded to any resources that need to be shared and coordinated among tasks. He uses the debug tools to monitor and explain the behavior. This is also extremely valuable, because getting information out of a system and interpreting it is a critical part of evaluating and improving it.Section 4 covers several advanced topics. These include drivers and ISR's, more resource sharing methods (using the USB port as the example peripheral), creating a well-abstracted architecture, loose coupling between tasks, using the CMSIS-RTOS and POSIX API's, memory management, multi-processor and multi-core systems, and troubleshooting tips.Along the way, Amos discusses various pitfalls, like poor design abstraction, overly tight coupling, priority inversion, and race conditions (go read about the Mars Pathfinder for a fascinating example of priority inversion). These are important topics for building safe products that have a long life over multiple versions and are successful in the marketplace.All of the examples in the book are fully functional applications, and Amos goes through the steps of setting everything up, building, downloading, running, debugging, monitoring, and evaluating results. Again, this is all extremely valuable, because these are the kind of real-world practical skills you need. Understanding the tools and how to work with them is critical. Even if you use a different tool set, many of the concepts are the same.For each bit of real code, he goes through a breakdown of the major items in the code, explaining what they do and how to interpret them. He also discusses design considerations and alternatives.While the applications are simple, they make great starting points for more complex experimentation, because they use the real peripherals on the board and lay out all the necessary scaffolding. That's one thing I really like about this book. A common complaint I've had with other books is that the example code is so trivial that it doesn't really convey much more than you could get from reading the header files. These are much better, providing the kickstart to do real work.Once you have the practical skills for playing with an application on your Nucleo, you can start reading further in the datasheet and trying out other peripherals. Then you can expand with additional external hardware; the Nucleo has headers for connecting Arduino shields or various other devices. This is where things really get fun and learning really accelerates. Want to connect up sonar sensors? OLED displays? Buttons and controls? Motors? Add a breadboard and component experimentation kit and you can build real functioning product prototypes, then explore your own design alternatives.This would be an excellent textbook for professional self-study, a college undergraduate or high school course, or an after-school program similar to a robotics club. Combined with an introductory C programming book (Kernighan and Ritchie's "The C Programming Language", 2nd edition, being the classic text), James Grenning's "Test Driven Development for Embedded C", a basic Windows laptop (with the free MSYS2 suite installed, for building and running off-target TDD-based unit tests, which yes, you REALLY want to be able to do), and a Nucleo board, anyone completing all the projects in the book would be armed with an outstanding set of practical skills and background knowledge with real-world applicability.
X**M
Fantastic, the book is super useful and practical, which is great !!!
The media could not be loaded. The first time I read this book was in the Ebook version. I started studying embedded systems on my own last year, so as a young electronic engineer this book has been of great help for several months, in order to expand my knowledge on electronic/software systems. I have read the whole book and also run all the code examples, I can confirm that they are all functional. I really liked Brian Amos's work on this book, so I decided to buy the paperback version, since I still use the book and the practical examples today. Thanks to Brian Amos I learned a lot of new things, such as Debug with JLINK, SystemView and Ozone. I was also able to learn more about how to use STM32CubeIDE according to the structure in which the examples were built. I also learned how to patch the FreeRTOS Core files myself in order to create RTOS projects on my Cortex-M4 board. I think this book is fantastic and I would recommend it to everyone. Despite this is not a book for complete beginners.I think the writing in English is very good and clear. I comment on this because I am a native Spanish speaker and had to read the entire book in English without major problems.The example codes in this book are developed for the STM32F767 board, so I recommend you to buy it.The downside of the paperback version is that the figures come in black and white.Having read this book was fantastic, it is a kind of theoretical practical course on RTOS. Very grateful for Brian Amos' work, I hope he continues to write new books.
B**N
The Development Board is VERY Hard to Find Now / Expensive
No issues with the book so far, however the Nucleo F767 development board it uses is very difficult to get a hold of now (January, 2023). You can find them, but they are very expensive $70+ USD and take awhile to get here from China. I am trying to get away with using a more accessible F446RE, however this is making the learning experience difficult.
O**S
Extremely well written and very Practical !!
The book provides you with real life practical skills, and Brian covers a lot of area that an embedded software engineer faces.I have to say, you need a basic background on RTOS and micro controllers. If you even have a basic background in the two areas, hop on and read on. The book is extremely well written, and reads easily. I finished the book in a week (I didn't have anything else to do).The examples provided on github all compile perfectly, so you can run them on actual hardware. You need to get the Board !!. They will also provide an excellent reference for any future works as well. For e.g the two chapters on how to create a loosely coupled architecture, or the chapter on writing drivers using DMA/Interrupts with buffers and queues. This is essential knowledge when working with an RTOS, and I don't think any other book covers these topics in such detail.There are some other excellent books on RTOS, for e.g Jim Cooling book on basics of RTOS can serve as an excellent introduction (for basic knowledge), Jean Labroose book on mico-c os-II gives an excellent idea on the internal working of an RTOS, and now this book by Brian, will provide you with actual practical skills and a development environment to complete real life projects. I cannot recommend this book enough.
D**H
Fine book
Fast shipping.
R**N
Excellent book for beginner like me
This is my first foray into emdebbed developement. I have found this to be a very good book with enough detail to help a newbie get going. Brian's github has been updated so code mistakes you run across in the book have usually already been rectified. If you search on "study guide jim yuill" you will find a nice blog about this book that has proven very helpful.
A**R
Great book
Really good book. Does a good job with the RTOS fundamental concepts, tools, IDEs, getting setup with a dev board,etc. Clear diagrams, lots of detail in the explanations. STM focused, but still very happy with it.
M**K
Excellent book!
Very thoughtful writing for a complex subject. As someone who is taking the leap from Arduino-based systems to RTOS, this book has been invaluable in guiding me through the subject.
ترست بايلوت
منذ يوم واحد
منذ أسبوعين