Other Parts Discussed in Thread: DLPC350
Tool/software: TI C/C++ Compiler
I'm currently attempting to write a code in C/C++ to load a BMP into the DLP. The code compiles fine. I convert the bitmap into a vector and then copy and transfer, in a loop, segments of MAX size into the DLP. My issue is that at the second iteration, when the flag is 2 (neither, single, first nor last), the write() function fails and doesn't write all the positions (46336 out of 65542). Is there anything else I should in respect to the way I am treating the bitmap file?
I'm using the following code for parsing the bitmap -> stackoverflow.com/.../how-can-i-read-bmp-pixel-values-into-an-array
Thanks