Texas Instruments Stellaris IDM-L35 User Manual Download Page 18

Software Development

18

August 7, 2009

Evaluation versions of these tools may be downloaded from 

www.luminarymicro.com

. Note that, 

due to code size restrictions, the evaluation tools may not build all example programs for the IDM. 
A full license is necessary to re-build or debug all examples. 

Instructions on installing and using each of the evaluation tools can be found in the Quickstart 
guides (for example, Quickstart-Keil, Quickstart-IAR) which are available for download from the 
evaluation kit section of our web site at 

www.luminarymicro.com

.

For detailed information on using the tools, refer to the documentation included in the tool chain 
installation or visit the website of the tools supplier.

Programming the IDM

The IDM-L35 software package includes pre-built binaries for each of the example applications. If 
you installed DriverLib to the default installation path of C:/DriverLib, you can find the example 
applications for the IDM in “C:/DriverLib/boards/rdk-idm-l35”.

The Stellaris LM Flash Programmer is a free tool for programming Stellaris microcontrollers. It can 
be used in two modes to update the firmware on the IDM-L35. All IDM-L35 example applications 
are designed for use with the Stellaris boot loader which supports updating of the main application 
firmware via the serial port. Alternatively, the LM Flash Programmer utility can be used in 
conjunction with any Stellaris evaluation board to program the IDM-L35. The Stellaris evaluation 
board acts as a USB-to-JTAG/SWD hardware interface and should be used in cases where the 
boot loader image is not present or where the main application image is not behaving correctly and 
cannot transfer control to the boot loader. However, in normal operation, it is more convenient to 
program via the serial port.

To program example applications into the IDM-L35 using the serial port for firmware update:

1.

Install the LM Flash Programmer utility on a Windows PC.

2.

Connect the 6-pin connector of the USB to TTL serial cable (FTDI part number 
TTL-232R-3V3) to header J8. Verify that J8 pin 1 (marked by the white triangle on PCB) is 
connected to the black wire of the 6-pin header. 

3.

Connect the USB connector of the serial cable to the PC. This provides power and 
connectivity to the serial port.

4.

Run LM Flash Programmer.

5.

In the Configuration tab, select “Manual Configuration - see below” in the “Quick Set” list.

6.

Select “Serial (UART) Interface” in the list below “Interface” and set the COM port, set the 
baud rate to 115200, and click the “Disable Auto Baud Support” option.

7.

Move to the Program tab and click the Browse button. Navigate to the example applications 
directory (the default location is “C:/DriverLib/boards/rdk-idm-l35/”).

8.

Each example application has its own directory. Navigate into the example directory that you 
want to load and then go to the /gcc directory (or the directory corresponding to the tool chain 
you are using) which contains the binary (*.bin) files. Select the application binary file and click 
Open. Files that start with a “bl_” prefix are boot loader images and cannot be updated using 
this method.

9.

Ensure that the “Program Address Offset:” is set to 0x800. If this is incorrect, the application 
will not boot correctly once the flash programming is completed.

10.

Click the Program button to start the download process.

11.

The program starts once the download is complete.

Summary of Contents for Stellaris IDM-L35

Page 1: ...RDK IDM L35 01 Copyright 2008 2009 Texas Instruments User s Manual Stellaris Intelligent Display Module IDM L35 with 3 5 Landscape Display Reference Design Kit ...

Page 2: ... are registered trademarks of Texas Instruments ARM and Thumb are registered trademarks and Cortex is a trademark of ARM Limited Other names and brands may be claimed as the property of others Texas Instruments 108 Wild Basin Suite 350 Austin TX 78746 Main 1 512 279 8800 Fax 1 512 279 8879 http www luminarymicro com ...

Page 3: ...G Schematic page 1 14 Microcontroller 14 Debugging 14 LCD Panel and Voltage Regulators Schematic page 2 14 LCD Panel 14 Touch Panel 15 High Power LED Driver 15 3 3 V DC Regulator 15 UART microSD Card Slot Speaker Analog Inputs Digital I O Schematic page 3 15 RS232 Serial Port 15 microSD Card Slot 15 Speaker 15 Analog Inputs 16 Digital I O 16 Serial Header 16 Chapter 3 Software Development 17 Softw...

Page 4: ...4 August 7 2009 ...

Page 5: ...lligent Display Module with 3 5 Landscape Display 9 Figure 1 2 IDM L35 Board Overview Diagram 11 Figure 2 1 Intelligent Display Module with 3 5 Display Block Diagram 13 Figure 2 2 Debug Connection Pinout 14 Figure C 1 Component placement plot for top 29 Figure C 2 Component placement plot for bottom 30 ...

Page 6: ...6 August 7 2009 ...

Page 7: ...Stellaris Intelligent Display Module with 3 5 Display August 7 2009 7 List of Tables Table B 1 RDK IDM L35 Bill of Materials 25 ...

Page 8: ...8 August 7 2009 ...

Page 9: ...by using the Stellaris comprehensive graphics library and ARM development tools from our tools partners The IDM L35 RDK includes the touch panel module MDL IDM L35 a documentation CD power supply and cables The IDM L35 design uses a Stellaris LM3S1958 microcontroller to handle display functions touchscreen control networking and peripheral functions Only a few additional ICs are necessary to compl...

Page 10: ... tool chain and the Stellaris Graphics library to develop a touch panel application Software applications are loaded into IDM flash memory using a JTAG SWD debug interface or via the serial port using the included boot loader software See Chapter 3 Software Development for the programming procedure The Stellaris Graphics Library Software Reference Manual and the Stellaris Peripheral Driver Library...

Page 11: ... Includes full source code example applications and design files Develop using tools supporting the FastMATH from Keil IAR Code Sourcery and Code Red using a Stellaris evaluation kit or preferred ARM Cortex M3 debugger Supported by the Stellaris Graphics Library and Stellaris Peripheral Driver Library Board Overview Figure 1 2 shows an overview of the board Figure 1 2 IDM L35 Board Overview Diagra...

Page 12: ...Stellaris Intelligent Display Module with 3 5 Landscape Display Reference Design Kit Overview 12 August 7 2009 ...

Page 13: ...er printed circuit board All design files are provided on the RDK IDM L35 CD Block Diagram Figure 2 1 shows the IDM L35 block diagram Figure 2 1 Intelligent Display Module with 3 5 Display Block Diagram QVGA 3 5 LCD Panel LCD Driver Stellaris LM3S1958 Microcontroller Speaker microSD card microSD RS232 Serial Analog 5 V ADC 4 Analog touch signals 3 3V Regulator 3 3V 5V 5V DC Jack Data Ctrl Digital ...

Page 14: ... which matches ARM s fine pitch definition Figure 2 2 Some in circuit debuggers provide a matching connector Other debuggers can be used with the ADA1 adaptor board included in the RDK Figure 2 2 Debug Connection Pinout LCD Panel and Voltage Regulators Schematic page 2 Page 2 of the schematics contains the LCD panel connector 3 3 V DC regulator and the high voltage LED driver for the LCD panel bac...

Page 15: ...etection functions High Power LED Driver The LCD panel backlight has 6 LEDs in series and requires a high power LED driver U7 for operation providing 20 mA at 20 V The LCD_BL signal driven from a microcontroller GPIO is used to turn the backlight on and off A 1 kHZ PWM signal can be used instead for dim control 3 3 V DC Regulator The IDM L35 operates with 5 V DC which can be applied via DC jack J7...

Page 16: ...signals as required Refer to the MDL IDM L35 data sheet for electrical specifications on these signals Headers J4 and J5 provide 12 additional digital I O lines directly connected to the microcontroller Header J4 provides 8 digital I O lines connected to port G PG0 PG7 with PG0 and PG1 allocated for UART2 and header J5 provides 4 digital I O lines connected to PA6 PA7 PD0 and PD1 Note that these s...

Page 17: ...sing the widget set complex interactive graphical displays can be constructed quickly A set of drivers for the on board peripherals is also provided This includes a driver for the touch screen the audio transducer the analog inputs and the microSD card The IDM L35 is also supplied with a set of example applications that utilize the Stellaris Peripheral Driver Library and the Stellaris Graphics Lib...

Page 18: ... not present or where the main application image is not behaving correctly and cannot transfer control to the boot loader However in normal operation it is more convenient to program via the serial port To program example applications into the IDM L35 using the serial port for firmware update 1 Install the LM Flash Programmer utility on a Windows PC 2 Connect the 6 pin connector of the USB to TTL ...

Page 19: ...s rdk idm l35 8 Each example application has its own directory Navigate into the example directory that you wish to load and then into the gcc directory or the directory corresponding to the tool chain you are using which contains the binary bin files Files named with a bl_ prefix are Stellaris boot loader images while those without the prefix are main application images Select the binary file and...

Page 20: ...Software Development 20 August 7 2009 ...

Page 21: ...s the schematic diagrams for the Intelligent Display Module IDM L35 Microcontroller and JTAG on page 22 IDM L35 LCD Display and DC Regulators on page 23 IDM L35 UART microSD Card Slot Speaker Analog Inputs and Digital I O on page 24 A P P E N D I X A ...

Page 22: ...DC2 ADC3 U0RX U0TX PA2 PA3 PA4 PA5 PA6 PA7 PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 SOUND LCD_RSTn TOUCH_XP TOUCH_XN TOUCH_YN TOUCH_YP PD0 PD1 1 2 3 4 5 6 7 8 9 10 JTAG SWD J6 HDR 2X5 MH 3 3V C10 0 1uF R12 10K R13 10K R14 10K R15 10K 3 3V LCD_D 15 0 LCD_BL LCD_WRn LCD_RDn LCD_DC LCD_D0 LCD_D5 PA0 U0RX 26 PA1 U0TX 27 PA2 SSI0CLK 28 PA3 SSI0FSS 29 PA4 SSI0RX 30 PA5 SSI0TX 31 PC0 TCK SWCLK 80 PC1 TMS SWDIO 79...

Page 23: ...3V LEDK C7 0 01uF C6 0 01uF C9 0 01uF C8 0 01uF TP1 R16 10K R17 10K C14 4 7uF C12 0 1uF C13 0 1uF VLED 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 M1 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 M2 P1 FPC_Socket_60pin LCD_RSTn LCD_D 15 0 TOUCH_XP TOUCH_XN TOUCH_YN TOUCH_YP LCD_D 15 0 C36 4 7uF 5V SHDN 4 VIN 5 SW 1 GN...

Page 24: ...7uF C3 0 47uF R8 10K 3 3V 1 2 3 UART J3 HDR 1X3 VCC 15 C2 5 C2 6 C1 2 C1 4 INVALID 10 V 3 V 7 T1IN 11 T1OUT 13 GND 14 R1OUT 9 R1IN 8 EN 1 FORCEON 12 FORCEOFF 16 U2 MAX3221 TP2 UTX URX ADC0 ADC1 ADC2 ADC3 PA2 PA3 PA4 PA5 PA6 PA7 PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 PD0 PD1 R24 33 2 Q1 MMBT3904 R26 2 80k D4 MMSD4148T1G 5V 3 2 1 4 _ SPK1 Buzzer SOUND microSD Card Slot R18 10K R19 10K R20 10K 3 3V C11 0 1u...

Page 25: ...10 50V Murata GRM31CR71H105KA61L 1 8 D1 LED GREEN SGL 20mA 0805 CML Innovative Technologies 7012X5 1 9 D2 DIODE SCHOTTKY 200mA 30V Fairchild Semiconductor BAT54 1 10 D3 ZENER DIODE 24V 1W SMA Diodes Inc SMAZ24 13 F 1 11 D4 DIODE Switching ON Semiconductor MMSD4148T1G 1 12 J1 Terminal Block 6 pin 3 5mm T H On Shore Technology ED555 6DS 1 13 J2 Terminal Block 4 pin 3 5mm T H On Shore Technology ED55...

Page 26: ...as Instruments LM3S1958 IQC50 1 31 U2 RS 232 Transceiver Texas Instruments MAX3221ECDB 1 32 U3 IC 350mA LDO regulator Sharp Microelectronics PQ1N333MASPQ 1 33 U4 U5 U6 Quad monolithic common anode TVS ON SEMICONDUCTOR MMQA5V6T1G 3 34 U7 Serial LED Driver Switcher 1 5MHz 30V SMT Fairchild FAN5333BSX 1 35 Y1 XTAL 8 000MHz NDK NX8045GB 8 000000MHZ 1 Additional Parts for Module Item Designator Descrip...

Page 27: ...7 2009 27 40 Machine screw 4 40 x 0 25 lead free machine screw Richco Plastic NSP 4 4 01 4 Alternate supplier for screws above Building Fasteners NY PMS 440 0025 PH Table B 1 RDK IDM L35 Bill of Materials Continued Item Designator Description MFG Order Number Qty ...

Page 28: ...28 August 7 2009 ...

Page 29: ...t Details This appendix contains details on component locations including Component placement plot for top Figure C 1 Component placement plot for bottom Figure C 2 Figure C 1 Component placement plot for top A P P E N D I X C ...

Page 30: ...30 August 7 2009 Figure C 2 Component placement plot for bottom ...

Page 31: ...ess practice TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary...

Reviews: