This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

trying to loop encodedecode example on dm365

I"m trying to loop the encodedecode example on a dm365 eval board and keep getting the following error:

 

>> vpfe ccdc capture vpfe ccdc capture.1: Close other instances

>> Error: Failed to create display device

>> Error: Failed to detect video standard, video input connected?

 

I basically have a while(1) loop  inside the main function in main.c and am checking a bit in shared memory for if it should be running.  The new while loop starts after the variable declarations and stops before the exit(status) at the bottom.  The control function in ctrl.c checks the shared memory for when to stop.  I didn't change any of the cleanup functions in either of these files, but it seems like the only way I can get it to not break is to completely exit the program after toggle the bit.  If I go run-stop-run I  get the error, then I have to reboot the board to get it to do any encoding or decoding again.

 

Thanks!