AnsweredAssumed Answered

LwIP and PPI issue

Question asked by wek on Nov 15, 2013
Latest reply on Nov 27, 2013 by CraigG

I am developing an app for a BF537.  The app acquires a video frame using the PPI interface and sends in over Ethernet as a UDP packet.

I started by creating a Lwip project.  In the lwip sysboot thread I launch another thread that opens and configures the PPI driver.  I pass a 2 frame chained buffer to the driver.  I set a breakpoin in the PPI driver callback, it never breaks.  When I halt the program and examine the video frame buffers, they contain valid images.   I stepped through the program and it appears to be in an infinite exception handling loop.  I commented out all the code relevant to lwip in the boot thread, so that I am just opening the ppi driver and it works, meaning I get BUFFER_PROCESSED callback events and the frame buffers contain the expected images.  All threads run at level 5.