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.
1.当程序量不大的时候,中文字符串使用printf可以正常在串口助手上显示
2.随着程序量的增大,中文字符串使用printf出现乱码 英文字符正常显示
谢谢!
不受影响的 我是增加了一个400个uint16型数组才出现这种问题的,此外每次都警告
Description Resource Path Location Type #10247-D creating output section ".cio" without a SECTIONS specification F2803xHFSpwm3B C/C++ Problem
该问题似乎特定于通过 UART 实现的 printf。编译器的RTS库支持仅可以通过JTAG printf。所以我们假设已经完成了一些自定义实现以使其正常工作?
下面的链接您参考一下:
https://dev.ti.com/tirex/explore/node?node=A__AIwt8bIK1yTVvzbnfYL0gg__ccs_devtools__FUz-xrs__LATEST
CCS中使用printf默认的端口是使用JTAG。其它方式通常需要自定义端口。