8bit color depth image display example using internal flash 512KB.
16bit color image array is not work with internal flash.
.\obj\project.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.constdata).
.\obj\project.axf: Error: L6407E: Sections of aggregate size 0xbb83c bytes could not fit into .ANY selector(s).
does any one know how to load image array to external flash ?
.\obj\project.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.constdata).
.\obj\project.axf: Error: L6407E: Sections of aggregate size 0xbb83c bytes could not fit into .ANY selector(s).
Above error tell that your data array is too big, so not enough RAM.
It's very simple to save an image in external memory (flash or SD card), 16 bit image is just a byte array, each pixel is encoded by 2 byte, so to save an image in a memory, you just to save a byte array.
A JPEG image is started with 0xFF 0xD8 and ended with 0xFF 0xD9.
You can use a hex File Editor, and a PC based VB facility to dump the bitmap onto NAND or NOR flash, Whichever the one you have.
And, You can verify if the bitmap has been properly loaded into the External Flash, by checking the *.map file.
- - - Updated - - -
You can use a hex File Editor, and a PC based VB facility to dump the bitmap onto NAND or NOR flash, Whichever the one you have.
And, You can verify if the bitmap has been properly loaded into the External Flash, by checking the *.map file.
Hi, I have the same problem. I have a HY-LPC1788-Development Board and I need storage bmp array in external flash. Please let me know if you could do that.