This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049: 程序下载到Flash和debug的运行结果不一致

Part Number: TMS320F280049


上图程序一直循环执行,DEBUG下串口会连续输出ADC的采样结果并换行,

但是程序下载到Flash后运行,串口一直输出0000并换行;

sprintf赋值好像没起作用?请问这是什么问题

sprintf是C标准库中将数字变为字符的,用来串口发送(网上找的)