I have the board EKK-LM3S3748 and I am looking for a jpeg demo example program which can do the following:
Take a jpeg image (stored on the SD card) and draw it on the formike128x128x16 display. Is there an example program like this? Or would it be possible to guide me through it? I am new to this board. I am currently using the trial version of uVision4 Ver 4.03.
Thank you
Jim
Hello Jim,
Have you seen this forum post?
https://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/int-stellaris_m3/f/176/t/23197.aspx
There are some examples in the StellarisWare directories.
Hope this helps.
Regards,
Craig
Hello Craig,
The link you provided is broken.
Thanks
Sorry about that. It seems to work ok for me. I have copied the text of the post here for your reference.
There is 3rd-Party C software available in Stellarisware for implementation of JPEG image compression/decompression. In order to access this, the directory path is C:\Stellarisware\third_party\JPEG
Provided are a set of library routines for reading and writing JPEG image files, plus two sample applications "cjpeg" and "djpeg", which use the library to perform conversion between JPEG and some other popular image file formats.
In addition, there is a sample JPEG Slideshow application for the RDK-IDM-SBC/DK-LM3S9B96 boards that can be found at
C:\StellarisWare\boards\rdk-idm-sbc\showjpeg
This example application decompresses a JPEG image which is linked into the application and shows it on the 320x240 display. SDRAM is used for image storage and decompression workspace as the onboard SRAM is not sufficient for this application. JPEG decompression and display are handled using a custom graphics library widget, the source for which can be found in drivers/jpgwidget.c.The JPEG library used by this application is release 6b of the Independent JPEG Group's reference decoder. For more information, see the README and various text file in the /third_party/jpeg directory or visithttp://www.ijg.org/.
Thanks Craig,
Question: I only have the EKK-LM3S3748 evaluation board. Would the sample JPEG Slideshow application be able to run on my board?
There are a lot of functions and interfaces that are not supported on the LM3S3748 board which are used on the LM3S9B96 target board as well as the display size is different. In addition, the memory sizes are different for each processor and the JPEG data storage was held in the SDRAM on the other board. There would have to be some work done to see if you can run it on the other board.