Hi,
I am trying to run a simple DSP/BIOS prgram. My code is:
#include <std.h>
#include <log.h>
#include "hellocfg.h"
/*
* ======== main ========
*/
Void main()
{
LOG_printf(&trace, "hello world!");
/* fall into DSP/BIOS idle loop */
return;
}
void my_func_PRD(){
LOG_printf(&trace, "hello world!");
}
I went to PRD module and added PRD0. In PRD0 function field I entered _my_func_PRD and in period (ticks) column 1000. Now, as far as I know based on these specifications PRD0 must be called after every 10000 ticks. PRD0 in turn will call my_function_PRD which will output "hello world!" in message log. While I am not getting any such output. Moreover in Statistics view the count value for IDL_busyObj changes countinously whereas count value for others (PRD0, PRD_swi, TSK_idle) remain 0. What I can guess is that PRD0 is never called and system is always executing idle loop. But why this is happening and what should I do to fix this?
Please help me out!!!!