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.

How to upload firmware to DLPC350 when the flash is fully empty?

Other Parts Discussed in Thread: DLP4500, DLPC350

Hi,

We make our own DLP4500 control board, but right now the flash is empty. My computer can not find the USB hardware so that I can't upload the configure file to flash using TI's 4500 GUI. I've tried to connect the "HOLD in BOOT" pin to ground, but the result is the same.

I also confirmed the original TI's 4500 lighting board, and put a jumper on "J18". The result is the same with my own board, and can not connect it with my computer via USB cable.  

So, how to setup the configure file or says "boot loader" to a brand new control board with a empty flash?

Thank You!

  • Hello Daniel,

    DLPC350 cannot boot from a empty flash. At a very minimal the flash needs bootloader code in the flash.  The boot loader program resides in the first few KB of the flash.

    There is discussion on similar topic in the E2E forum, you may want to refer to this, http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/94/t/289853.aspx

    Let us know if you need any other information.

    Regards,

    Sanjeev

     

  • Thanks! Sanjeev, I'll check the urJtag download method.

  • Hi Sanjeev,

    I'm waiting for my urJatg cable right now. So I move 2 flashes of lightcraft4500 to my own board and put 2 new flashes to lightcraft4500.

    But my own board is still no function and the USB can not be detected,  I've checked all power and clock are good. So I check the INIT_DONE after PWRGOOD goes to high, the result is INIT_DONE always low, not like Fig.25 of dlps029a.pdf document.

    I go back to check lightcraft4500 with two empty flashes, the INIT_DONE is always low, too.

    So I want to ask about how to check DLPC350 works fine or partial work when the flash is empty? 

  • Hi Daniel Shen,

    As you found by putting empty flash on the DLP4500 Kit that INIT_DONE is always LOW. The thing is that without a valid flash content nothing suppose to work even the basic USB enumeration.

    I also mentioned earlier first few KB stores the bootloader code, so even if rest of flash image corrupted if there is a valid bootloader image DLPC350 still can proceed with booting and USB enumeration. In such situatios you must keep the boot holder option enable i.e., GND boot hold I/O line.

    Suppose not even bootloader then nothing works, you must proceed with BSDL JTAG option to program the flash.

    Now, you mentioned that you replaced empty flash with valid flash from DLP4500 Kit on your custom board but it doesn't boot. The reason could be faults or problems on your board, debugging your board step-by-step is the only way. Simple suggestion is to probe whether DLPC350 attempting to read the contents from the flash on power-up.

    Regards,

    Sanjeev

  • Thanks! Sanjeev.

    I found I have a mistake of USB circuit, because I can use I2C right now. After some circuit modification, I can use USB also.

    Right now I am going to read: http://unaligned.org/dlpc350/ but I have no idea to compile the patched urJtag execution file ( Sorry about my poor linux :(  ) . Do you have any compiled execution files for me to download the first 32KB firmware ? 

    Thanks a lot!

    Daniel

  • Hello Daniel,

    We understand your problem. Unforutantely we don't have readily available JTAG flash programmer tool. We made note of your problem facing and we will work on creating appropriate material to help others in future.

    One suggestion at this point will be - remove the emtpy flash fromt the board, program the http://www.ti.com/dlpr350prom file using any standard flash programmer tools and then solder it back.

    Regards,

    Sanjeev

  • Hi Sanjeev,

    It's OK, thanks for your suggestion!

    Regards,

    Daniel