我尝试希望使用
#if DEBUG printf(...........); #endif
这样的方法,输出某些变量的值,使用的调试器是XDS100V2.
我不确定是否可以使用这种方法进行调试(编译没有出错),如果支持,那么,在哪个窗口中可以查看输出信息。
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.
我尝试希望使用
#if DEBUG printf(...........); #endif
这样的方法,输出某些变量的值,使用的调试器是XDS100V2.
我不确定是否可以使用这种方法进行调试(编译没有出错),如果支持,那么,在哪个窗口中可以查看输出信息。
你好,我尝试直接插入printf,但是链接的时候告知我section ".text" size 0x21e8 page 0
我查看了芯片的内存分配,发现PRAMH0 : origin = 0x3F8002, length = 0x000FFE所在的区域SRAM仅有8K*16的容量,我的代码塞不进去,所以假如使用标准库后,是否意味着我的程序只能下载到外置的Flash上呢?
假如是,是否可以给一个cmd文件参考下。(当前使用的cmd文件是Ti在sprc097.zip中提供的)