There can be various different symptoms when an application does not work. For example:
• The program does not run at all, or the processor failed to start.
• The program stopped responding.
• The program entered a fault handler, or entered lockup state.
There can be many different reasons for program failures. Some of them could be down to hardware issues (e.g., power supply or clock), and in some cases caused by incorrect software code implementations. Since the hardware requirements of different microcontrollers are different (e.g., voltage, clock generation circuits), the hardware design issues cannot be covered in this book. In this section, we will look at common errors and possible reasons ...