hello,
I want to load an image(.bmp) to the DSP and put it in the RAM.
please, can i have a code source!!
THANKS!!
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.
hello,
I want to load an image(.bmp) to the DSP and put it in the RAM.
please, can i have a code source!!
THANKS!!
Achraf,
I do not know of an easy way to take a .bmp image located on a host PC and copy it into a DSP's RAM map. The issue as I know it is that the .bmp file does not simply contain a table of pixel values, but rather a bunch of header and descriptor information embedded throughout. This makes a raw data dump more complex than just copy/paste into memory.
If there is a way to convert the contents of the .bmp into a hex table then you could use one of the C I/O functions to read in that hex table or even include it directly into your project, but I do not know of an easy method to do this.
Wikipedia's BMP file format article