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.

求解:C6678的SRIO门铃收printf的影响



如题,在测试SRIO门铃中断时,发现系统函数printf对门铃中断有影响,printf在主流程中,不在中断服务函数,主要做了下面几个测试:

1) FPGA循环给8个核发送门铃中断,如果只有一个核的主流程添加printf,则只有该核收到的门铃中断次数少于其他核,其他核应该正常

2)FPGA循环给8个核发送门铃中断,如果只有一个核的主流程不添加printf,则只有该核不受影响,其他核收到门铃次数均小于该核的次数,且谁先执行printf谁收到的门铃中断要多余其它核

附:printf是不可重载函数,多核不能同时执行该函数,但是只有一个核在主流程中运行printf时,也会收到影响,请问为什么?pirntf在执行的过程中会有关中断的操作?