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.

D4100 Discovery API

Other Parts Discussed in Thread: ALP

 

In the Extranet that I have access to, I see:

"DDC4100 Application FPGA Sample Code"

"DDC4100 Application FPGA Sample Code for GUI use"

 These two zips contains numerous files with the .vhd extension, and others with the extensions .bit, .ucf, .mcs . I am unclear how to interact with these files.

"DLP® Discovery™ 4100 Software Installation"

 This file contains an executable installer.

None of these files seem to contain any C code or an obvious DLL I can use to control the D4100 through an external program. What am I missing?

Is there an example somewhere of a simple "Hello World"-type program for writing an image to the DMD, perhaps using C? This would be extremely helpful.

 

  • Yicong,

    The DLL is only available for the USB, there is no DLL available for the memory access. If you look at the second folder, "DDC4100 Application FPGA Sample Code for GUI Use", it contains sample code for using the Memory interface through the AppsFPGA.

    The memory can be access through the AppsFPGA. Depending on the type of memory you use, the Xilinx tool can generate the appropriate files for the memory interface (see mig_23_2GB_150MHz folder).

    You may find more information about the Discovery 4100 and the DMDs from one of DLP's partner Design Houses listed at www.ti.com/dlpdesign. Companies that sell and support the DLP Discovery Kits are denoted by *. If you have any specific design quesions regarding your system, please contact one of these Design Houses.

  •  I should be more specific. In this question, I am specifically asking about the D4100 API referred to in document 2510446, "DLP Discovery 4100 Controller Board API Programmer’s Guide". This document refers to a DLL and an OCX file, but I do not see where I can get these files. The document also says:

    "The Discovery 4100 ActiveX control provides a convenient mechanism for communication between customer developed software applications and the Discovery 4100 driver software. The control is distributed in file “DDC4100l.ocx” and provides an interface for configuration, control and display to the Discovery 4100. When this control is used to build applications in C, C++ and Visual Basic control of the Discovery board is easily accomplished using the methods documented in this chapter. Refer to the sample code available on the TI KnowledgeBase for an example of using the ActiveX control."

    but I do not see where I can get this sample code.

     It's too bad that there is no DLL available for memory access. However, a DLL for the USB would still be useful. We want to update the full frame of our DMD as quickly as possible. The Explorer GUI seems to update at a maximum rate of 30 frames per second, roughly 1/20th of the theoretical speed of a USB 2.0 cable.

     In summary: Where is the DLL? Where is the OCX? Where is the sample code giving an example of using the ActiveX control?

  • The API is only through the USB. It will not work for the memory access that you need. If you would like to look at the sample code, all the sample codes are located on the Extranets under DLP Discovery Software.

    Have you contacted any of the DLP partnered Design Houses? You can find a list of them at www.ti.com/dlpdesign. Design Houses that sell and support the DLP Discovery Kits are denoted by *. If you would like more specific solutions on how to control the DMD through an API, please contact one of these Design Houses.

  •  Hello, WYA, thank you for helping me. I understand why you mention memory access. I have asked about memory access in the past. However, this question does not relate to memory access: I would like to be able to control the D4100 over the USB cable.

     Specifically, I would like to be able to control the D4100 over the USB cable through the D4100 API referred to in document 2510446, "DLP Discovery 4100 Controller Board API Programmer’s Guide". This document refers to a DLL and an OCX file, but I do not see where I can get these files.

     I believe the sample code you mention is not located on the Extranet. Please prove me wrong!

    Thank you for reminding me to contact one of the DLP partnered Design Houses. I am also in contact with them. However, my question is not asking for more specific solutions for how to control the DMD through an API; my question is how to do it at all!

    To repeat my earlier, summarized questions:  Where is the DLL? Where is the OCX? Where is the sample code giving an example of using the ActiveX control?

  • The DLL and OCX files are both installed with the Explorer software. Both files can be found under  \\Windows\System32 as D4100_usb.dll and DDC4100.ocx. If you would like to get access to the source code, please accept a friend request from my colleague who can send you the file.

  • Excellent, thank you. I have accepted this request.

  • Hello, I'm new on this forum, but I often read to get more info.

    I have a Discovery 4100 bought from Vialux and devolopping Holographic display with DMD.

    I'm interested on the source code but what means:accept a friend request?

     

  • Hi Luigi,

    The DLP partner design house Vialux has the information that you are looking for. Please contact Vialux directly with your request.

     

  • lol, if I came here is because I cannot heve those source code from that company..

    Listen, It's more than one year I'm working with DLP making holographic display (see www.opto-electronics.it) and I made a complete system displaying multiplexed holgram using ALP4 dll

    Now I have two problems, rewriting the VHDL code of the Virtex and trying to save time with the Cypress code. Is it possible to get this info?

     

     

  • Luigi,

    This is probably not what you want to hear, but here is the situation.

    Are you looking for the DDC4100 code or the ALP code? The DDC4100 is proprietary to TI and  contains critical information, we do not give that out. If you are looking for the ALP dll code, it is Vialux's design and code, TI does not own that. The Cypress code is owned by Cypress and you would need to contact them directly for that information.

     

  • No I do not want to develop a new firmware DDC4100, already exists and works well.
    I would like to develop my own user Firmware, the software D4100 Explorer with which firmware should work.
    If there is a firmware that works with the D4100, which are the VHDL code to start for a development.
    Currently I loaded the GUI_source_files.zip, but the D4100 Explorer does not establish the connection.
    Kind regards

  • Hello Luigi,

    You indicate that you have loaded the GUI_source_files.zip, but the D4100 Explorer does not establish the connection.  Could you go into a little more detail about what you have tried and what the results are.  (i.e. when you try to build the bit file are you missing any libraries?)

     

    Fizix

  • Dear  WYA
    I am the firmware developer  that refers to Dr. Louis Loreti. I'm in the same situation of Yicong Wu, I need the file to develop over d4100 explorer.
    I've read that I have to get a friend relationchip to achieve this file, So please can you tell me with Who I have to connect?
    thanks for your kind attention