Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Problems while running facedetect demo

$
0
0

Hi TI Support team,

I have just bought the OMAPL138 LCDK and I’m trying to run the facedetect demo. Unfortunately it is not working and any kind of help would be very appreciated.

I have installed CCSv5.3 and SYS/BIOS 6.33, and I’m using a Spectrum Digital XDS200 USB emulator. I have also set up the hardware as recommended, connecting a VGA monitor and a composite video camera to the LCDK board. The positions of the first four switches in SW1 are OFF-ON-ON-ON.

I have imported the facedetect project into the CCS workspace and it builds correctly. It also starts the debugging with no problem but when launched the program does nothing. I have been debugging the code per line, and found that the execution gets hanged up in a while loop in the TVP5147CompositeInit function (tvp5147.c file).

When executing this line (number 50) inside the while loop: 

reg_val = CodecRegRead(baseAddr, 0x3A);

The value for reg_val is always 0x11 and as it does not meet the condition for exiting the loop it keeps there.

It seems to me that either the tvp5147 chip is not working or the I2C is not working. Any suggestion on what can be the problem and how to solve this?

Thanks in advance for your help,

Erik


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>