Getting Started: Running the “Graphics JPEG Demo”
The demo projects are created to run on supported Microchip Demo Boards and development hardware. Pre-generated hex files are available on the "Precompiled Hex" sub-directory found in the demo directory. These hex files are generated using the alternative hardware profiles found in the sub-directory named "Configs". Use the "Demo Compatibility Guide" when running pre-generated hex files appropriate for your hardware.
Using the "Graphics Resource Converter" utility, JPEG files are added as C arrays for the internal flash and as Intel HEX file for the external memory. All C files generated by this utility must be added in your project. Intel HEX file must be programmed into the external memory. For various Graphics PICtail™ Plus Boards, "Graphics External Memory Programmer" project can be used to program the HEX file into flash memory on these PICtails.
The header file for the external memory access driver must be added into JPEGImage.h. In the external memory access driver the data array reading function must be implemented. The function must be specified in JPEGImage.h file (see the header file for details).
Setting up the External Memory Programming Mode
The following projects are set up to the following programming modes:
Project Name(*.mcp) |
Programming Mode |
JPEG Demo dsPIC |
UART |
JPEG Demo UART PIC24 |
UART |
JPEG Demo UART PIC32 |
UART |
JPEG Demo USB PIC24 |
USB |
JPEG Demo USB PIC32 |
USB |
To program the external memory:
For PIC24FJ256DA210 Development Board
1. Hold down MCLR and S2 switches on the board
2. Release MCLR while holding down S2. This will place the board on programming mode.
3. Send the hex data from the External Memory Programmer utility.
For Explorer 16 Board
1. Hold down MCLR and S6 switches on the board
2. Release MCLR while holding down S6. This will place the board on programming mode.
3. Send the hex data from the External Memory Programmer utility.
The Microchip name and logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
PICDEM and PICTail are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SD is a trademark of the SD Association in the U.S.A and other countries
Microsoft, Windows, Excel, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.