Apparently there is some printf-functionality to write to the console while debugging.
By just using printf in my application I cause a reset, so obviously I'm doing something wrong. Unfortunately I did not find any information on how printf behaves. Is there any documentation on this function?
In CCS4/5, please enable fprintf support. It is under ARM Compiler: Advance Options:Library Function Assumption.
Thanks for the hint. It put me on the right track: Since I am not using dynamic memory I did not have .sysmem defined in my linker cmd. Since printf apparently uses malloc it worked after defining a .sysmem region on the RAM.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.