TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Jpeg demo application
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.
Have you seen this forum post?
There are some examples in the StellarisWare directories.
Hope this helps.
The link you provided is broken.
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
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/.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.