Appendix I. Troubleshooting
Chapter 12 of this book covered various techniques for locating problems in program code. In this section, we will summarize the most common mistakes and problems that software developers might find when preparing software for the Cortex-M0.

I.1. Program Does Not Run/Start

There can be many possible reasons.

I.1.1. Vector Table Missing or in Wrong Place

Depending in the tool chain, you might need to create a vector table. If you do have a vector table in the project, make sure it is suitable for the Cortex-M0 (e.g., vector table code for the ARM7TDMI cannot be used). It is also possible for the vector table to be removed during the link stage or to be placed into the wrong address location.
You should generate a disassembled ...

Get The Definitive Guide to the ARM Cortex-M0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.