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.

DLP2010EVM-LC: How to Update Firmware on C Source ?

Part Number: DLP2010EVM-LC


Hi TI members,

I made my firmware using 'Update Flash Image' of the DLP GUI program and I want to upload this firmware using my C program.

But I could not find anything in the programmer's guide...

How can I upload on my C program ?

  • Hi,

    Please experiment with the API SDK https://www.ti.com/tool/DLPC-API ; there are sample examples.

    Regards,
    Sanjeev

  • Hi Sanjeev,

    Thanks for your reply.

    I already see the Sample codes, but I could not find about 'update firmware'.

    I want to update using this function(LoadPreBuildPatternData()).

    More specifically, what should I put in the parameters of this function? (DLPC347X_WriteFlashDataTypeSelect(??????))

  • Hi KangYeol Lee,

    To update the firmware you can use the API DLPC347X_WriteFlashStart().

    To erase flash use DLPC347X_WriteFlashErase() API.

    you can use the sample code LoadPreBuildPatternData()  for update the flash, this function uses the above functions.

    Parameter for the function : DLPC347X_WriteFlashDataTypeSelect() is mentioned in the dlpc347x.h, if you are not sure then you can put the DLPC347X_FDTS_ENTIRE_FLASH.If you just want to update the particular sections like only splash or sensing pattern then you can use other options like DLPC347X_FDTS_SPLASH or DLPC347X_FDTS_ENTIRE_SENS_PATTERN_DATA.

    Thanks,

    Navneet