Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
hi, I am facing a problem in sending data through Ethernet. in lwip i am calling function video to grab image after grabbing image and placing data in buffer and if i call any other function the code keeps running on and when i halt the code my code stops here. i am not able to solve this issue . What i am trying to send data to my pc through Ethernet. i called video function to get image , then i called another function but i got this error . later i blocked the code i directly called send function and i got same result. ********************************************************************************************** *********************************************************************************************** ************************** __STARTFUNC(_adi_int_NestingISR) ADI_INT_ISR_PROLOG(__NESTED) // assign location of Primary Handler entry pEntry = R0; // load Primary Handler address and client arg value nop; nop; nop; nop; // unavaoidable delay - sorry! P1 = [pEntry + offsetof(ADI_INT_HANDLER_ENTRY,Handler)]; R0 = [pEntry + offsetof(ADI_INT_HANDLER_ENTRY,ClientArg)]; // look ahead to the next entry to fill nop slot pNextEntry = [pEntry + offsetof(ADI_INT_HANDLER_ENTRY,pNext)]; nop; // and call Primary Handler CALL (P1); ._adi_int_NestingISR.secondary_loop_start: // check result code and exit if previous handler in chain // processed the interrupt // CC = Result == 0; // IF CC jump ._adi_int_NestingISR.exit (bp); // otherwise check for next handler in chain and exit if none CC = pNextEntry == 0; IF CC jump ._adi_int_NestingISR.exit (bp); // load handler address and client arg value P1 = [pNextEntry + offsetof(ADI_INT_HANDLER_ENTRY,Handler)]; R0 = [pNextEntry + offsetof(ADI_INT_HANDLER_ENTRY,ClientArg)]; // look ahead to the next entry to fill nop slot pNextEntry = [pNextEntry + offsetof(ADI_INT_HANDLER_ENTRY,pNext)]; nop; // and call Secondary Handler CALL (P1); // loop round secondary handlers jump ._adi_int_NestingISR.secondary_loop_start; ._adi_int_NestingISR.exit: ADI_INT_ISR_EPILOG(__NESTED) __ENDFUNC(_adi_int_NestingISR) ********************************************************************************************** *********************************************************************************************** ***************** i checked values of PPI and DMA and i found these values DMA0 Config = 0017 DMA0_IRQ_STATUS=0000 DMA0 _PERIPHERAL_MAL=0000 PPI_CONTROL =782d PPI_STATUS = 1000 and EBIU_AMGCTL =01FF OVR bit is set in PPIstaus regsiter EMAC_SYSCTL 00000903 EMAC_RX_STAT 90003040 EMAC_TX_STAT 00400003 I hope some can solve my problem to remove this error. I am working on BF537. waiting for reply eagerly. regards naveen