Appendix H

Appendix H Programming Perils and Pitfalls




PROGRAMMING in a real-time environment can be challenging even for experienced programmers. This appendix is intended to illustrate some of the common problems that are encountered in this environment, and present practical strategies for avoiding them.

H.1 Debug versus Release Builds

When a project is created in Code Composer Studio, there are two build configurations that are established: Debug and Release. The debug configuration will embed debugging information in the object file (information that links assembly instructions to the original source code), and also will not optimize the generated code so that there is a direct correspondence between a line of source code and the ...

Get Real-Time Digital Signal Processing from MATLAB to C with the TMS320C6x DSPs, 3rd Edition now with the O’Reilly learning platform.

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