Other Parts Discussed in Thread: DLPR900
Hello,
I am trying to upload a sequence of 9 images to my device firmware and also two batch files. The two batch files specify how to display the patterns, and they are identical except the exposure time is different. I can successfully use the GUI tool to create a new firmware image based on version 5.0.1 which contains the images and both batch files, and I can upload this to the device. But then I have the problem that only one of the batch files works. To get both batch files in the firmware image, I write a first image with one batch files, and then I must update this to a second image with both batch files. Afterwards, only whichever batch file I write first works. (since I can get either file to work depending on the order I write them, it seems like there is no problem with the batch files themselves)
What appears to be the problem is: the software does not write the batchfile I provide verbatim to the firmware. It seems to change some values. Most importantly, when issuing the "pattern display LUT definition command" (i.e. MBOX_DATA) it will change the byte specifying the image pattern index. I don't understand when or why this happens. When I upload the first batch file, the image pattern index is set to 0, as I expect (i.e. it is not changed). When I upload the second, it is modified and set to 1. So when I try and run that batchfile after uploading the firmware nothing happens, because there is no image pattern stored in index 1.
I would like to be able to upload both batch files and have them both work.
I have attached my two batch files (120us and 250ms), as well as screen shots from the GUI showing how they appear after they are written to the firmware image (in this case, I wrote 120us first). I circled the byte which sets the image pattern index. .