1671 views|0 replies

3836

Posts

19

Resources
The OP
 

DSP has a problem with printf function running away in CCS environment [Copy link]

When I used the simulator to connect to DSP C5509A in CCS environment to debug an RTC program, I found that the output window did not output time information regularly. I thought it was a problem with the interrupt vector setting at first. After single-step debugging, I found that the program ran away in the printf function. I was puzzled. After searching, it said that the heap and stack were not set, but they were already set in the CMD file. Later, I found that it was a problem with the compilation and connection command settings. The heap size and stack size were only allocated 500. I deleted 500 and CSS automatically allocated or set them to twice. It was done~~~

The settings are as follows: Project->Build Options->Linker->Basic under stack size and heap size

This post is from DSP and ARM Processors
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list