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.

VPFE VPFB I2C NDK

I want to realized a project with cmos sensor input, a video output and sending data and images over ethernet. Now if I add ndk to my video port progect (modified from the example of rawdata) ehternet don't work. If I start fron ndk example and I add Vpfe Vpbe driver, I notice  FVIDQuee and FVidexchange don't work! What I have to do in order to join the 2 project? If I want to realized a new project from the beging with VPFE VPBE NDK and I2C what I have to do?

Thank's a lot

  • What platform are you using (e.g. DM643x, DM648...)?

  • Sorry,  DM6437!!!

  • David,

    No need to be sorry; I just want to make sure we get your the right advice :)  DM643X software is not my area of expertise, but someone should chime in shortly and offer better advice than I can on this subject.

  • It is hard to say as I have not tried to manually merge these two particular projects, however it will probably take a bit more debugging, such as how does ethernet not work, do you see any activity, is the NDK actually getting to run, are you seeing any error messages on the stdio output? When the FVID functions are not working how are they not working, are they not returning, are they returning error codes, or are you getting corrupted image data?

    For an example of using both the video drivers and NDK at the same time you may want to look at the demo application (C:\dvsdk_1_11_00_00\dm6437_demo_1_30_00) though this is fairly large to work with as an example, and it is not using a direct connection to a CMOS sensor, it does prove the NDK and video driver can work together.

  • When ndk don't work I see that Networkopen that  create task for ethernet, don't launch the task. When I Video driver don't work I don't check the errore, but :

    IOM_COMPLTED != FVidExchange() is true, in this case debbuing step seems to be wrong (I don't know how to explain, not al line code are debugging )