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.

DLP3010EVM-LC: Issue with DLPC-API

Part Number: DLP3010EVM-LC
Other Parts Discussed in Thread: DLPC-API

Hi Team,

Currently using the DLP3010EVM-LC with the DLPC-API. I have followed the guidelines given in the API user manual particularly on page 4, but when the program runs it shows the error message below.



Can you help us fix this issue? I need to write a program to deflect only certain mirror that is required to get the single pixel image.

Please let me know if you need further information from our end.


Kind Regards,

Jejomar

  • Hello Jejomar,

    Thank you for your question. We will have to look into and replicate this behavior. Please allow us some time to investigate.

    Regards,

    John

  • Hi John,

    Many thanks for looking into this. But can we ask for a status update? Is there an estimated timeline that we can provide to our customer?


    Kind Regards,

    Jejomar

  • Hello Jejomar,

    This error statement is being printed on line 640 of the dlpc347x_samples.c program. This is copied below starting at line 636:

    /* Pattern File assumes to be in the \build\vs2017\dlpc343x folder */
    	s_FilePointer = fopen("dlpc3470_7.4.0.img", "rb");
    	if (!s_FilePointer)
    	{
    		printf("Error opening the flash image file!");
    		return;
    	}

    There is a mis-comment in line 636 here. It should be "/* Pattern File assumes to be in the \build\vs2017\dlpc347x folder */".

    To correct this issue, I recommend that your client paste the image firmware currently flashed on the EVM and change this line to the firmware's title.

    Alternatively, changing both the Boolean variables on lines 703 and 704 to false will generate test pattern data.

    	/* ***** Test Internal Pattern Sensing ***** */
    	bool LoadFromFirmware = false;
    	bool LoadFromFile = false;	// Switch to load pattern from saved file or generated

    This makes the program quite lengthy and should only be used if the customer does not have specific pattern data they are hoping to display.

    Finally, changing LoadFromFirmware to false and LoadFromFile to true will allow the use of pre-built patterns table and sets generated from the LC GUI.

    	/* ***** Test Internal Pattern Sensing ***** */
    	bool LoadFromFirmware = false;
    	bool LoadFromFile = true;	// Switch to load pattern from saved file or generated

    Regards,

    Austin