ti官网上下载的zigbee协议栈 ,安装之后用iar7.4打开工程,下载之后运行到BIOS_start(),这个函数中,然后程序就不知道跑到哪里去了,请教高手!附代码:
Void main()
{
Task_Params taskParams;
// set RFC mode to support IEEE802.15.4
// Note: This must be done before the RF Core is released from reset!
SET_RFC_MODE(RFC_MODE_IEEE);
// enable iCache prefetching
VIMSConfigure(VIMS_BASE, TRUE, TRUE);
// Enable cache
VIMSModeSet(VIMS_BASE, VIMS_MODE_ENABLED);
/* Initialization for board related stuff such as LEDs
* following TI-RTOS convention */
PIN_init(BoardGpioInitTable);
// Configure task.
Task_Params_init(&taskParams);
taskParams.stack = myTaskStack;
taskParams.stackSize = MY_TASK_STACK_SIZE;
taskParams.priority = 1;
Task_construct(&myTask, taskFxn, &taskParams, NULL);
BIOS_start(); /* enable interrupts and start SYS/BIOS */
}
|