Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Ads

Discussion Groups

Discussion Groups | Analog Devices DSPs | need urgent help on Lwip+PPI

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

need urgent help on Lwip+PPI - Naveen koul - Jul 13 8:33:30 2007



 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



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )