想请教一下各位前辈,在跑PRU程序的时候,是否可以将代码里的一些调试信息给打印出来,类似于printf一样的函数,可以的话应该怎么操作
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.
想请教一下各位前辈,在跑PRU程序的时候,是否可以将代码里的一些调试信息给打印出来,类似于printf一样的函数,可以的话应该怎么操作
是的,可以用C语言编写,程序里我需要看一些标志的状态,我想打印出来log方便debug,有什么办法吗?
不可以通过/sys/kernel/debug/remoteproc/
可以往固定的memory写一些debug信息,然后用仿真器读取memory来分析