TI E2E Community
DLP & MEMS
DLP LightCrafter Development Platform Forum
How to upgrade software’s on DLP® LightCrafter™
MSP430 and FPGA Firmware Upgrade:
Connect the LightCrafter to the PC via USB cable. After establishing the connection through GUI, open the ‘Solution/ Upgrade’ tab and select the SW package from the drop down menu to be FPGA Firmware/ MSP430 Software. Browse the location of the downloaded software and click ‘Install’. And, wait until “Command SUCCESS” appears on the bottom left of the GUI screen.
DM365 Software Upgrade:
Download the DM365 Software.
To copy the image, unzip with 7-zip. Free download of the 7-zip software is available here.
Select the file in the compressed folder, right click, and select extract under 7-zip menu. It will unzip to a 4GB file.
An SD card with 4GB size or greater can be used (Transcend 4GB class 10 micro SD card has been tested).
For loading the image to the SD card, Image writer utility is required.
Download Win32DiskImager from: link
Insert the SD card and start Win32DiskImager
Select the image file and choose the letter drive for the SD card
Click on write.
Use DD command:
Insert the sd card in your linux machine. Find out which device /dev/sda or /dev/sdb is detected by the OS. In our test case, it is typically detected as /dev/sdb
On the command prompt execute “dd if=/path/to/dm365sw_3_0sd4gb.dd of=/dev/sdb"
The card will be partitioned into two: a 44MB FAT32 formatted and a Linux partition of 40MB. The FAT32 partition contains the boot source for the DM365 boot loader. The Linux Partition includes the linux kernel and file system.
Now, keep the switch shown in figure below pointed to the micro SD card and keep the micro SD card in. Power cycle the LightCrafter.
LightCrafter will boot and run from the card (a little slower than NAND). If you need to use the earlier version, just move the DIP switch away from the SD Card and it will boot from NAND on the next power-up. To switch back to booting from SD card, move the DIP switch to point to the SD card. However, solutions stored are not compatible with both versions.
After a projected pattern with Red, Green and Blue vertical bars is seen on the screen, run the GUI and the updated version numbers will be visible on the GUI.
Thanks for the instructions, but it appears as though a 4GB card with a formatted capacity of less than the transcend uSD card you tested will not work with Win32 disk imager. I'm going to buy an 8GB card that will certainly be large enough, but since you are only using 80MB (if even that) could you create a much smaller image?
Also, the latest version I've found for the DM365 image is 2.5, I assume that 3.0 will be uploaded soon?
The real capacity of the transcend card we tested appeared to be 3.85GB on the Linux system. Can you try using the Physdiskwrite image writing tool (link) for writing the image to SD card. The image should certainly fit in 8GB card. The latest versions of the DM365 (v3.0), FPGA (v2.4.39), GUI (v0.40) and MSP430 (v2.4) will be soon uploaded.
Thanks for your patience.
what is the status of the newest firmwares listed in this post please?
Welcome to DLP section of TI E2E Community!
Sorry for the delayed response. The new firmware might take at least 2 more weeks before it is available on ti.com. Our intention was to fix the USB issue before releasing the upgrades.
We think we found the cause for USB connection issues on the Lightcrafter and would be releasing the problem statement and the fix soon. The firmware needs to be DVT'ed once more.
I am looking for DM365 firmware v4.0. Any help is appreciated.
You can visit this page http://www.ti.com/tool/dlplightcrafter look for "Available Versions" section and then download latest package from here. As on data v2.0.1 is the latest version. It has DM365 v4.0 firmware.
Thank you. I found and downloaded the package.
My next goal is to upgrade the DM365 software to version 4.0. I am following the "ReadMe.txt" file located at "DLPLightCrafterSoftwareBundle-2.0.1\DLPLightCrafterFWSW" step by step.
I chose the "a) Booting from NAND:" option. I successfully write the image file on a micro-SD card (at least I think I do) and I insert the SD card into the LightCrafter and set the DIP switch on System board to the side closest to the micro-SD card connector. Then I power up the LightCrafter and the LED next to DM365 lights up red (as it is supposed to according to "ReadMe.txt" file).
In the "ReadMe.txt" file, the next step is explained as below:
•While flashing NAND, - Wait until the LED next to DM365 lights up green. This should be a few seconds after the fourth splash screen - Power off the LightCrafter (short press of button on driver board) - Remove the micro-SD card and set the DIP switch to the side closes to DM365 - Power up the LightCrafter using short press of button on driver board) - The LED next to the DM365 will start flashing red and green - A test screen with three colored bars will appear.
Here is my issue: After I power up the LightCrafter, all the splash screens, up to the fourth one, appear but after that nothing happens and the progress bar does NOT go all the way to the end (it stops while there is only very little left to the end and it says Booting... below the progress bar) and the LED next to DM365 does NOT light up green but it stays red no matter how much I wait after the fourth splash screen. It is as if the device is halted and the screen is frozen.
To make matters worse, now after I remove the micro-SD card and set the DIP switch on System board to the side closest to the DM365, trying to boot using the old NAND settings, I can't anymore as if I have ruined the old NAND settings as well.
Note: At the bottom right corner of the splash screen, while booting, it says "V1.0" and this is while there is a sticker on my device and on the box as well which says "2.0". Do you think it is possible that my device is actually Not a version 2.0?
Anyway, any help is really appreciated.
When you were writing DM365 image to SD card, did you see the "Image copied to SD card SUCCESS" message as shown below?
When you insert the SD card and set the Switch S2 towards the SD card slot, the LightCrafter boots until the fourth spash screen and the progress bar completes up to 90% (approximately). The only indication of the file system being copied to NAND from SD card is, the D1 LED should turn Green.
Since you are unable to see the D1 turn Green, can you format your SD card and copy the DM365 image booting from SD - dm3xx_sd.dat file and boot the LightCrafter?
Is it possible for you to check the UART log? You need to configure a terminal emulator like "Tera Term" with below serial port settings to see the log,
• Baud: 115,200• Data Bits: 8• Stop Bits: 1• Parity: None• Flow Control: None
While booting, the v1.0 seen on the splash screens is the DLPC300 controller boot loader version#. The 2.0 sticker indicates that you have the latest hardware.
When writing DM365 image to SD card, I DID see "Image copied to SD card SUCCESS" and my MSDOS command shell looked exactly like yours. Here is an image of it.
But doing it this way, didn't cause the D1 LED turn green which, as you mentioned, is an indication that the file systems are not being copied to NAND from SD card.
As the next step, as you mentioned above, I tried to get LightCrafter to boot directly from SD card. So I formatted my SD card (as a FAT32 file system), and using MSDOS command shell, copied the DM365 image booting from SD (dm3xx_sd.dat file) onto my SD card. Here is a photo of how MSDOS command shell looked like after the coping operation:
and a photo of the contents of the SD card:
So, I insert the SD card into the slot, switch S2 towards the SD card slot and power up the LightCrafter. The exact same issue: the LightCrafter boots until the fourth splash screen and the progress bar completes up to 90% (approximately). The D1 LED won't turn green and stays red steadily instead.
About the UART log, I have no experience in that part. I would really appreciate it if you could give me detailed instructions on how to proceed. I downloaded a software called "Tera Term" version 4.78. But that is all I got. Do I need a special cable in order to be able to get the UART log? I attach a photo of how my "Tera Term" looks like:
Note: At the very beginning, when I got the device, I simply powered it up and it booted correctly and I was able to connect to the device using GUI. But since all the software for all the parts were out of date, GUI wouldn't let me do much with the "pattern sequence" option, so I thought. Therefore, I updated all the software for FPGA, EDID and MSP430 using Solution/Upgrade tab on the GUI. The only software I wasn't able to upgrade was the one for DM365. That is when I read the "ReadMe.txt" file and realized I am supposed to use a SD card to upgrade that one. and that is when all this issues happened and I am not able to boot the device at all any more. Do you think the problem might be coming from the fact that the order in which I upgraded the software has been incorrect?
Thanks for the details. The UART log will be really helpful to debug the issue further.
You need to connect a serial cable to J1 connector on LightCrafter systems board. You can use a DB9 female connector to a 2.5 mm stereo plug similar to the one here- http://www.sfcable.com/D936-06.html
If your PC has only a USB port, use will have to use a USB to RS232 adapter with FTDI chipset extension.
When you have the UART cable connected, open Tera term and click on "Serial". Select the USB to Serial comm port.
Click 'OK' and close the "Tera Term: New Connection" window. In the menu bar, goto Setup --> Serial Port.... and change the Baud rate to 115200.
Now, power on the LightCrafter and you should see the boot log in the terminal.
Please attach the log for us to debug. Thanks.
I first format my SD card (right click on drive F: in "My Computer" and choose "Format" from the drop menu using the following options: "file system is FAT32" and "allocation unit size is 4096" and I use quick format). Then I write dm3xx_nand.dat onto the SD card. Here is an image of what MSDOS command shell looks like at this point:
Then I remove the SD card from computer and plug it into the LightCrafter and switch S2 towards the SD card slot.
Then I plug the 2.5mm stereo end of the cable into the UART input on the device and using a " USB to RS232 adapter with FTDI chipset extension" connect the USB end to the computer. Here is an image ( the LightCrafter is not powered on at this point yet):
As the next step, I run "tera term" and click on "Serial" and choose "COM3: USB Serial Port (COM3)" (which is my only option by the way) as the port and then close the "tera term: new connection" window by clicking "OK". Then using the menu bar on the terminal I choose "setup -> serial port" and change the Baud rate to 115200. Here is an image of "tera term: Serial port setup" before I press "OK".
Next, I power on the LightCrafter. But nothing appears on the terminal. Here is an image of what the terminal looks like.
I repeat the exact same instructions with dm3xx_sd.dat in another attempt and still nothing appears on the terminal.
I'll also attach two images of the boards so that you can see what they look like while the screen is frozen on the fourth splash screen.
Please let me know what you think. Thank you.
As discussed, could you please try out the recommended power supply -
I finally got the lightcrafter working. I don't know why, but for some reason, the first time I plug in the lightcrafter it won't boot. But if I turn it off only using the on/off button on the driver board, and turn it back on only using the on/off button on the driver board again, it will boot successfully from then on.
If I unplug it from power supply and plug it back again, it won't boot for the first time again. This is what I used to do before, turning the device off by unplugging and turning it back on by plugging it again never using the on/off button on the driver board. And that is why it never booted successfully (I also boot from SD card each time for the time being).
As a side note, while using the on/off button on the driver board to turn the device off, the small LED next to DM365 (called D1 LED if I am not mistaken) should keep having a very weak red light (while in the off mode ofcourse)
This guy seems to have had the same issue: http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/850/t/242002.aspx
Anyway, I wanted to thank you for your help and I thought someone else might benefit from this post in the future.
Thanks for providing the helpful details. This is an interesting finding. Are you on the latest version of the software (DM365v4.0, FPGA v2.6.43 and MSP430 v2.7)?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.