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.

TM4C129X开发板跑RTOS例程没有反应。



    我按照用户手册搭建了RTOS的开发环境,并且建立了工程,导入了历程,但是将例子下载到板子上调试却没有任何反应。我想知道是怎么回事。

需要特殊的修改跳线帽?还是怎么样,串口和GPIO的例子都没有反应。很奇怪。

  • 如果你是直接下载在板子上,那么至少main函数应该是可以在线跑的,也就是可以打断点调试。如果时是这样,那么问题就是RTOS的任务没能正常运行,可能是设置的中断或是栈大小不对。

    如果是一开始就不对,那么应该是例程和板子不对应,你需要确认自己所使用的软硬件版本。

  • 这个问题我解决了,问题是调试选项没有点use flash loader选项。我现在有一个新的问题,

    System_printf("Starting the GPIO Interrupt example\nSystem provider is set"
    " to SysMin. Halt the target to view any SysMin contents in"
    " ROV.\n");

    我找不到这个System_printf()函数打印到哪里了。我按照网上说的方法添加了一些代码

    var System = xdc.useModule('xdc.runtime.System');
    var SysStd = xdc.useModule('xdc.runtime.SysStd');
    System.SupportProxy = SysStd;

    到cfg文件中仍然没有反应,我想指导怎么让System_printf()函数输出信息到我能看到的地方,比如串口或者控制台都可以。谢谢!