Home
Freescale Semiconductor 3/26/13 9:12 AM © Freescale
Contents
1. Eg PEMicro USB Multilink 0 Click Finish to close the wizard Freescale Semiconductor Confidential and Proprietary Information Fr of Freescale Semiconductor Inc All other product or service names are me property or metr respective owners Freescale S Care J 2 freescale semiconductor 13 Freescale Semiconductor Flashing Bootloader gt Right click gt Properties gt Select Run Debug Settings new gt Select JM128 Bootloader an MCF51JM128 _Internal_ Flash PnE USB BDM 2 Open in New Window 5 i Ky A Includes Exclude from build gt C l ck E d it ub Preproce C MCFS1IM128_Interne Disassemble Project_Headers Index Fe Build Configurations Make targets Build Project Clean Project Copy Properties for JM128_Bootloader Paste Delete type filter text Run Debug Settings 3 26 13 9 12 AM Flashing Bootloader gt Select Tab Connection Move Resource Rename Builders 5 C C Build ee 2 A a Import ac ad vaide Launch ci ations for JM128_Bootloader LA Export Discovery Options Add Files Environment Settings Refresh Tool Chain Editor Close Project C C General Run As Unked Resources re Project References Convert To Edit Linked Resources Locations Team Compare With Restore From Local History This page allows you to manage launch configurations associated with th urrently selecte
2. Program Flash Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 comiconductor Features e 3 2 TFT QVGA display SPI and CPU interface Touch screen interface e 5 position navigation switch e Piezo buzzer Temperature sensor e micro SD card slot e Measurement port with current sensing circuitry Standalone mode Er Lco REV A amp D Resale TWR LCD 99 Launch Date Apr 26 2010 Py R eo f I Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks reesca e of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 S miconduetr The Micro SD Card slot is accessible to either the on board MCF51JM MCU or a compatible MCU Tower Module Y Tower Primary Side Expansion Ports Sides A and B External Bi i Power Regulation Interface EBI 15 5V Backlight Core Driver Voltage ntroller SPI1 IRQ GPIO LCD Disp ay Co microSD SPI1 KBI GPIO Card Socket Resistive Touch Panel The USB connector is used to provide wer to the TWR LCD m le when ini B USB power to the C odule
3. 3 26 13 9 12 AM 16
4. Se System C gt Now you can drag amp drop copy S19 Motorola S Records precompiled applications files to the bootloader D wae Freescale Semiconductor jential and Propri any Information Fi ale Semicor scal cale e logoa ize trademarks of Freesc cale and thie Fes fi J Freescal ndui ctor vin al other product or the le property of thei respective rs Freescale Semiconductor Inc 2010 s re eesca e ree le Semiconductor jential and Propri cary Info fa ele Fi of Freescale Semicor cale e logoa ara raceme scale Ser er f J m ndui ates vin al other product or the op ioe oftheir respective owners Freescale Semiconductor Inc 2010 z re eesca e SSS ee a Lab1 Demo Applications Programming Lab1 Demo Applications Programming gt Drag amp Drop S19 Demo file to bootloader gt Additionally the MSD Mass storage device will show SUCCESS TXT A Name Size Type Date Modified File and Folder Tasks E READY TXT OKB TextDocument 18 04 2008 08 20 Make a new folder fey MyApplication 519 Bootloader Drive QD Ps Py Folders E Publish this Folder to the Web s ES Share this folder Fie Edit View Favorites Tools Help JB A Name Size Type Date Modified 5 SUCCESS TXT OKB Text Document 18 04 2008 08 20 File and Folder Tasks L C2 Make a new folder Publish this folder to the Web f 0 bytes 3 My Computer gt Now you can
5. Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pca fr eesca I e of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Lab s Software Setup gt Unzip TWR LCD Code zip in any Folder gt Open CW for MCU v10 SE gt Import into Workspace Create new projects from an archive file or directory C C CodeWarrior Development Studio Select an import source File Edit Refactor Navigate Search Project Profiler Run Micro Processor Expert Window Flashing Bootloader ee eee G archive File sting Project o Workspace Be fe i File System Bee fe E Preferences File Name _ C C e MCU Executable Codewarrior CodeWarrior Project Importer ES cvs Run Debug Team Le Le Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks SS free scale Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Psa free scale of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semicon
6. File Edit View Favorites Tools Help Q ex X z amp J Search gt gt Folders E Address C CW10 workspaceled MCF51M128_Internal_Flash Folders OF SL Embedded GUI Desktop a Coli my Documents CProject_Settings o Ru Id_MCFS1M_SP IF B Se System C ts Hello World_ MCFS1IM_SPI_BL el 3860d1b9d10d5d040b E HelloWorld_MCFS1IM_SPI_BL elf 519 E cwo 2 HelloWorld_MCF51JM_SPI_BL elf xMAP E workspace E makefile O metadata objects mk E ed El sources mk FSL Embedded GUI Lab tb McF513M128_Internal_Flash Project_Headers Project_Settings Sources co Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks gt lt a fr eesi C a I e i of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor a a ee ee aa Lab2 HelloWorld Application gt Drag amp Drop 19 output file to bootloader Drive Name Size Type Date Modified File and Folder Tasks L E READY TXT OKB TextDocument 18 04 2008 08 20 Make a new folder Er MyApplication 519 Publish this Folder to the Web fd Share this folder Bootloader Drive Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eesca le 3 of Freescale Semiconductor Inc A
7. HelloWorld El in main h 1KB Font Table declaration A pictures c 8 KB D4D_DECLARE_FONT_TABLE_BEGIN ih pictures h F D4D_DECLARE_FONT_TABLE FONT_5x8_SMALL Font1_5x8 1 1 E screen_hello_world c HIGH Fonti_ 5x8 1 2 gt Open main c Double click EEE EEE oj E D4D_DECLARE_FONT_TABLE FONT_5x8 D4D_DECLARE_FONT_TABLE FONT_5x8_WIDE Fonti_5x8 2 1 screen_hello_world finished c D4D_DECLARE FONT TABLE FONT 5x8 BIG Font1_5x6 2 2 screen_hello_world start c D4D_DECLARE_FONT_TABLE FONT_8x14 Font2_8x14 1 1 D4D_DECLARE_FONT_TABLE FONT_8x14_ HIGH Font2_8x14 1 2 E vectors c D4D_DECLARE_FONT_TABLE FONT_8x14_BIG Font2_8x14 2 2 D4D_DECLARE_FONT_TABLE_END a ff E s pictures c End of Font Table declaration eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks 2 fr eescale oe e of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 pri makean Lab2 HelloWorld Application gt Open screen_hello_world c EB CodeWarrior Projects 53 gt a oe lz IE SA Irie m icd MCF513M128_Internal_Flash E analysis_cfv1_setup_HelloWorld_MCF 1KB ET Binaries A Includes FSL Embedded GUI Lab L screen hela more 3 Li
8. NULL D4D_DECLARE_BMP bmplconBulb icon_bulb24x24 NULL D4D_DECLARE_BMP bmplconPaint icon_paint24x24 NULL D4D_DECLARE_BMP bmplconTchScr icon_Touchscreen24x24 NULL Soa Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eesca le 3 of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor ee a eee NR oe ears eee atl Lab2 HelloWorld Application gt Icon with 4 bitmaps Declaration D4D_DECLARE_STD_ICON_BEGIN_AUTOSIZE icon_Example Icon 120 150 FONT_8x14 NULL D4D_DECLARE_ICON_BMP amp bmplconGraph D4D_DECLARE_ICON_BMP amp bmplconBulb D4D_DECLARE_ICON_BMP amp bmplconPaint D4D_DECLARE_ICON_BMP amp bmplconTchScr D4D_DECLARE_ICON_END gt Screen with 3 objects Declaration D4D_DECLARE_STD_SCREEN_BEGIN screen_HelloWorld ScreenHelloWorld_ D4D_DECLARE_SCREEN_OBJECT Ibl_ HelloWorld D4D_DECLARE_SCREEN_OBJECT btn_Example D4D_DECLARE_SCREEN_OBJECT icon_Example D4D_DECLARE_SCREEN_END Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks fr eescale a of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 Somieoncucter Lab2 HelloWorld Applicatio
9. are the property of their respective owners Freescale Semiconductor Inc 2010 Pri akar TWR LCD Demo Projects Freescale ECUI Freescale GUI JM128_BL_ECUI_SPI JM128_BL_EGUI_SPI JM128_BL_TWR_12C JM128_BL_TWR_12C MCF51JM128 JM128 BL_ECUI_SPI JM128_BL_EGUI_SPI JM128_noBL_EGUI_SPI JM128_noBL_ECUI_ SPI ge RERO No Bootloader JM128_noBL_ECUI_SPI L Processor Expert project E Non Processor Expert project PE Frozen Code FREE RTOS Non Processor Expert project BARE METAL Le i i lt fi le es Confidential and Proprietary Inform escale and the Freescale logo are trademarks reesca e Freescal reescale Semiconductor Inc All other product or service je property of their respective owners Freescale Semiconductor Inc 2010 semiconductor of Fi TWR LCD SW Blockdiagram BootLdr TouchScreen GDisplay SD_Card SSD1289 Flex SWSPI HWSPI BitIO Bus BitIO Le i 3 a iuctor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks e eesca e rvice nat e re nductor Inc All other product or ser mes are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM US E TWR LCD Demo Projects gt Freescale provides a set of projects to be tested in TWR LCD Q Two Graphic User Interfaces available Freescale Embedded GUI Embedded Component UI ECUI TWR LCD USB B
10. reset the board pressing JMRST and this will launch your new application idential and Proprietary Information Dee ale and the Fre ale logo jo are trademarks rei freescale iconductor Inc All other product or service name re the property of thei pective owners Freescale Semiconductor Inc 2010 semiconductor emiconductor Confidential and Proprietary Information Mise ale and the Fre ale logo jo are trademarks calo o l freescale ale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Lab1 Demo Applications Programming gt Flash and Explore the Applications JM128_BL_ECUI_SPI S19 JM128 BL EGUI SPI S19 If an application is already loaded then you need to reset the board press Lab2 HelloWorld Application the JMRST button while holding down the BTLD button 22 onfidential and Propri any Information ne Fra cale a cala loge 8 ira ede marks zz inductor C d the ie fF I iconductor Inc All other product or the le proper iyo of thei respective s Freescale Semiconductor Inc 2010 reescale semiconductor oe f le et onfidential and Propri etary Ino no amaer i Fe cale and the pess cale fe bao abe marks Li reesca e iconductor Inc All other product or i the le pr ona fy 0 of thei respective s Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconduc
11. trademarks reesca e of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Lab2 HelloWorld Application We have to declare the components in our screen write code or use copy amp Paste txt file E Codewarrior Projects 53 Ze SESA rie D File Name _ I Size E ES lcd MCF51IM128_Internal_Flash se analysis_cfv1_setup_HelloWorld_MCF 1KB El ET Binaries i Includes amp FSL Embedded GUI E S Lab Copy8Paste txt Le screen_hello_world c lb MCF513M128_Internal_Flash Declaration of callback function for Example Button Project_Headers static void OnClick_BtnExample D4D_OBJECT pThis Project_Settings screen_hello_world c 7 Declaration of example Label D4D_DECLARE_STD_LABEL_AUTOSIZE lb1_HelloWorld Hello World 70 10 FONT_8x14_BIG AAA EARN REAR ERA R ERE N EA EAE AEA ARENA AERA AREA AAA TEE Sources RRRR ARR ARR ER RER RER RER REA REER RENAN RER RER RE TREEARRER RE RREARRENAEENRENAREAAEENRENRS E E bootloader c E Ay bootloader h GS D4D_Configuration Declaration of example E D4D_DECLARE_TXT_BUTTON_AUTOSIZE btn_Example Change Icon 70 100 FONT_8x14_BIG OnClic main c _ Si R main h pictures c FARRAR RRR RNR REE RE REE RA RRA RER RARER RAR EERE RRR RER ERR R EERE AERA ERTS A pictures Bitmap declaration screen_hello_world c D4D_DECL
12. whe NS USB DP DN 5 Way Navigation operating in stand alone mode not anit Switch connected to the Tower System i External Connectors Interface Component i Freescale Device BB Power Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eesca le ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semi onductor Freescale Semiconductor gt Introduction gt TWR LCD System gt gt Freescale Embedded GUI D4D gt Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources Review LA cf Pse lt a emiconductor Confidential and Proprietary Infor eescale and the Freescale logo are trademarks z freescale iconductor Inc All ot or servic jemar her product re the property of their respective owners Freescale Semiconductor Inc 2010 Somieoncucter Block scheme of FGUI implementation User application layer of user application code User application User interface API D4D API LCD High level driver Application programmable interface interface layer between user application and FGUI D4D high level layer that manage all screens and objects redraws LCD Low level driver input keys touch screen events etc MCU LCD low level manage Freescale
13. ARE BMP bmplconGraph icon_graph24x24 NULL screen_hello_world finished c D4D_DECLARE_BMP bmpIconBulb icon_bulb24x24 NULL screen_hello_world start c D4D_DECLARE BMP bmplconPaint icon_paint24x24 NULL 1 vectors c D4D_DECLARE BMP bmplconTchScr icon Touchscreen24x24 NULL BHAA AA AAA RTARTA TNA N ENR T AR M PMR Rene nn Y 4 s Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eesca le ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM Lab2 HelloWorld Application gt Expand Source Tree E analysis_cfv1_setup_HelloWorld_MCF 1KB Ma Binaries Includes FSL Embedded GUI amp Lab amp Lib eae MCF511M128 Internal Flash PI_BL Sources main c CodeWarrior Development Studio a T Ih Project Profiler Run PEMicro Processor Expert Window Help Project_Headers E Project Settings U H l amp S 6 6 14 1 0 Q 8 s m ls 5 Sources 5 fe main c 3 s F El bootloader c 1KB E amp P Fic v include lt hidef h gt for EnableInterrupts macro P bootloader h 1 ko P a one gt D4D_Configuration include bootloader h p MCFS513M128_Internal_Flas E c main c KB bal D4D_EXTERN SCREEN screen
14. EBI 8b mode communication to the LCD Display This interface is only accessible from the Tower Elevator MCU eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks gt lt a fre escale a of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor EE ee TWR LCD Graphical LCD Module SW5 Configuration SW5 enables ADC connection from Primary Elevator Connector Resistive Touch Analog Isolation Settings Touch Panel ON Connects AN4 TWR ELEV to XPLS Touch Panel Signal sws oie 1 Isolation XPLS OFF Disconnects AN4 from Touch Panel sws DiP 2 Touch Panel ON Connects AN5 TWR ELEV to XMNS Touch Panel Signal Isolation XMNS Connects AN6 TWR ELEV to YMNS Touch Panel Signal Isolation YMNS Touch Panel ON Connects AN7 TWR ELEV to YPLS Touch Panel Signal Isolation YPLS OFF Disconnects AN7 from Touch Panel sd es Le se Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Ped fri eesca le g of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor 15 Freescale Semiconductor freescale semiconductor Freescale Semiconductor 2005
15. Freescale Semiconductor 3 26 13 9 12 AM Section 9 LCD Display Module Objectives gt This session will introduce you to the e Features of the new TWR LCD Module Freescale Graphic Library Solution for Embedded MCU s Documentation and Demo Software available e e ty te Ps oe oie iconductor Confidential and Proprietary Infor eescale and the Freescale logo are trademarks a freescale m reescale Semiconductor Confidential and Proprietary Infor eescale and the Freescale logo are trademarks d freescale m iconductor Inc All ot or servic of Freescale Semiconductor Inc All oti or servic d her product re the property of their respective owners Freescale Semiconductor Inc 2010 prek rear ther product re the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Introduction TWR LCD System Freescale Embedded GUI D4D Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources Review Introduction TWR LCD System Freescale Embedded GUI D4D Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources gt gt gt gt gt gt gt gt vY YV vV V V V V y Review eg ots os lt a conductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks sf free sca le reescale Semiconducto
16. HCS08 Coldfire communication with LCD and provides some basic function Draw line bitmap circle etc HW Freescale MCU board LCD LCD module Le eo j iconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks lt a f I ie br ps o Treescale ci d iconductor Inc All other pr es are the property of emiconducter lt lt lt ae re ee eee Freescale Embedded GUI Screen gt The basic item of FGUI structure is SCREEN gt The screen representing the real screen showed on LCD gt The screen definition contains list of all used objects on screen function bodies Oninit OnActivate OnDeactivate OnMain OnObjectMsg Le Ca emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademark z free scale duct or service names are the lemarks cale Semiconductor Inc All other prov property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM ee Pe ee Re ae ee What s the Freescale Embedded GUI gt High level object graphic driver for color LCD gt Structure of driver brings complete SW solution for applications with LCD screen gt Touch screen capability gt Organization done by screen with objects gt We can find the Alias references to D4D Driver for Display in function software e te te emiconductor Confidential a
17. OMRON XF2M 4015 1A t Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks freescale ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 jeien kce TWR LCD Graphical LCD Module SW1 Configuration Resistive Touch MCU Selection Disables MCF51JM connection to the LCD Touch Panel Use SW5 to enable ADC connection from Primary Elevator Connector OFF Enables MCF51JM connection to the LCD Touch Panel Ensure that all switches on SW5 DIP are OFF MicroSD Card Slot MCU Selection MicroSD is connected to the SP11 of Primary Elevator Connector EeTWR LCD REV A gs MicroSD is connected to the on board MCF51JM MCU MicroSD Backlight Selection Enables LCD Backlight OF Disables LCD Backlight F Piezo Buzzer Selection Piezo Buzzer is controlled by PWMO of Primary Elevator ELE uSD Connector and on board MCF51JM SW1 DIP8 OFF Piezo Buzzer is controlled by on board MCF51JM only P Te se Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks fr eesca le es of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM EP 2 TWR LCD Graphic
18. Tech_day DWF Final Material Softwar M128 BL ECUI D Seminars_Tech_day DWF Final Material Software TWR LCD C A 3m128_Bootloader D Seminars_Tech_day DWF Final Material Software TWR LCL LS JM128_Bootloader JM128_Bootloa L Template_MCF51CN_SPI D Seminars_Tech_day DWF Final Material SoftwareiTu ES led MCF513M128_Internal_Flash D Template_MCF51IM_SPI D Seminars_Tech_day DWF Final Material Software T I Copy projects into workspace Cd se Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pog fr eescale oe of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor EEE eee ee Flashing Bootloader gt Build Bootloader C C CodeWarrior Development Studio File Edit Refactor Navigate Search Project Profiler Run PEMicro Process wi B e m a B KF S ae Ve amp ESP frie Fie Neme gt See Output 3 Binaries Includes amp Lib amp MCF513M128_Internal_Flash Project_Headers Project_Settings Sources E console 23 ramer C Build JM128_Bootloader ST SOUL CCST SUPLTIL Tomy TP POUL COU SUPE we ON TP OEE CCS SCOPES RE Sources CODE SM1 0bj Sources CODE TP_SEL obj Sources CODE TUR_ jm er obj lt a oe Freescale Semiconductor Confi
19. al LCD Module TFT Display features TRULY TFT2N0369 E Features Contents TFT TRANSMISSIVE Viewing direction 9 00 Module area W x H 57 54 x 79 20 TFT 3 2 Viewing area WxH 52 60x 68 60 TP 240 RGB gt x320 Active area WxH 48 60 x64 80 i x View un x Number of Dots 240 RGB x 320 Fa 9 o clock Backlight Typ D Module Power consumption 268 Interface Type System parallel RGB interfa nput voltage 3 0 Vl component area il Ma eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e esi C a l e in of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor TWR LCD Graphical LCD Module SW1 Configuration Display Driver MCU Selection Enables SPI connection from SPIO of Primary JM ELE Elevator Connector SW1 DIP3 Enables SPI connection from on board MCF51JM OFF MCU Tower MCU SPI CS Selection ON Select SPIO CS1 as the chip select for LCD SPI interface Select SPIO CSO as the chip select for LCD SPI OFF interface Description Enables SPI communication mode to the LCD Display can be driven by SPIO on the Primary Elevator or by the on board MCF51JM selectable by JM ELE SW1 DIP3 Enables EBI 16b mode communication to the LCD Display This interface is only accessible from the Tower Elevator MCU Enables
20. b PEETECEPEEE EEE EEE CEPE EP EEE EEE EEE EEE EEE EEE EEE EEE MCF51M128_Internal_Flash amp Project_Headers Project_Settings amp Sources fe bootloader c fr bootloader h amp D4D_Configuration main c fi main h E pictures c include main h n pictures h include pictures h screen_hello_world finished c INCLUDE YOUR l screen_hello_world start c RRRRARAR RR RR RRR RE REED RAR RARE RARER ER RE AREA RARER REAR ERE RR REARS fe vectors c c Copyright 2008 Freescale Semiconductor GHTS RESERVED FILE NAME PURPOSE AUTHOR AA RAA A ARERR REAR ERE REA RARE REE EE EERE ERE REE EEE RE REET ROCCO RC RCE HERE RRRA RNA RAR ARR A RAR ER EE RAREARAR Le Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks lt 2 fr eescale Lu of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 samioondileter E Lab2 HelloWorld Application Write code under INCLUDE YOUR DECLARATION CODE HERE gt Label Declaration D4D_DECLARE_STD_LABEL_AUTOSIZE Ibl_HelloWorld Hello World 70 10 FONT_8x14_BIG gt Text Button Declaration D4D_DECLARE_TXT_BUTTON_AUTOSIZE btn_Example Change Icon 70 100 FONT_8x14 BIG OnClick_BtnExample gt BitMaps D4D_DECLARE_BMP bmplconGraph icon_graph24x24
21. cale 5 m tor m Confidential and Proprietary Information Freescale and the Freescale logo are trademarks ar reescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks s reescaie ictor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semi onductor Freescale Semiconductor 2005 Freescale Semiconductor 3 26 13 9 12 AM Lab1 Demo Application programming using Bootloader Lab1 Demo Applications Programming gt The TWR LCD features a bootloader to facilitate the loading of applications without the need for an external debugger gt Bootloader will enumerate the TWR LCD JM128 as a MSD Mass Storage Device gt Precompiled Applications A C lcd_demos File Edit View Favorites Tools Help Qx v r P gt Search gt Folders far gt To enter the bootloader hold the BTLD button while momentarily adress Cid demos pressing the JMRST button and finally releasing BTLD Folders M128 _BL_ECUT_SPI 519 2M128_BL_EGUI_SPI 519 i Desktop be File 519 File gt In bootloader mode you will hear a beep from the sounder and the 273KB B My Documents 231 KB screen will write a welcome message 3 My Computer
22. cale logo are trademarks Pog fr eescale ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor SEE ee TWR LCD Graphical LCD Module Block Diagram e Truly Semiconductor 3 2 TFT LCD with an analog resistive touch overlay The switch will allow user interaction with the TWR LCD providing a method to indicate Up Down Right Left and Select Tower Primary Side Expansion Ports Sides A and B Power Regulatiol 15 5V Backlight Driver LCD Display Cuntroller SPI1 IRQ GPIO ORTR LCD LEV A LCD Display SPI1 KBI GPIO Resistive Touch Panel mini B USB Recepticle USB DP DN 5 Way Navigation 5 0V Switch amp External Connectors Interface Component i Freescale Device El Power Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eescale of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM LCD Driving Methods gt SPI Parallel LCD Driven Can be driven from any MCU gt Traditional LCD Driver Requires a dedicated LCD MPU Graphics Controller LCD Bus Chip on glass LCD with integrated display RAM 8bit parallel
23. d resource 5 4 9M128_Bootloader Cd ee Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pog fr eescale a of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 Somieoncucter Flashing Bootloader Edit Configuration dit launch configuration properties gt gt l ick O K Download an application to a target then debug or run the application Name M125_Bootloader MCF513M128_Internal Flash PnE USB BOM C Man 0 Arguments PS Environment gt Debugger 47 Source Common g T Debugger Codewarrior Debugger for ColdFre F Stop on startup a Program entry point o User specified man properties for 1M128_Bootloader oi x Debugger Options itype Run Debug Settings K Cole Exceptions Reset Interrupts Download Connection pic Remote Other Executables Abol Resource al l Bulders This page allows you to manage launch configurations associated with the currently selected FB C C Build ane I Enable Logging C C General Launch configurations for IM128_Bootloader Linked Resources re peal connect 3M128_Bootloader MCF51JM128_Internal_Flash PnE USB BOM EHC Project References El FR Connection P amp E ColdFire V1 Mutink Cydone Pro X Refactoring History Resource Filters Connecti
24. dential and Proprietary Information Freescale and the Freescale logo are trademarks Pd fr eescale of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Flashing Bootloader gt BDM and COM port drivers Installation Found New Hardware Wizard eons tier ainda Hardware Wizard _ Windows will search for curent and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web ste with your permission Found New Hardware Wizard Fees This wizard helps you install software for Please wait while the wizard installs the software PEMicro USB Multilink 0 Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device if your hardware came with an installation CD pgp Pc USE mark D No not this time S or floppy disk insert it now What do you want the wizard to do Does Install the software automatically Recommended Install from a list or specific location Advanced poy G Back Cancel Click Next to continue Setting a system restore point and backing up old files in case your system needs to be restored in the future SS ent gt Cancel Found New Hardware Wizard Newt re Completing the Found New Hardware Wizard The wizard has finished installing the software for
25. ductor Inc 2010 semiconductor of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 12 Freescale Semiconductor Lab s Software Setup CI ox Import Projects Select a directory to search for existing Eclipse projects Select root directory Select archive file Browse Projects Select All cwmcue 3 Deselect All cwmcu 10 FSL Embedded GUI Refresh FSL Embedded GUI App Precompiled Applications Folder TWR LCD Demo Projects Make New Folder Cd ee Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pg fr eescale ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Flashing Bootloader gt Select JM128_Bootloader project New Preprocess Disassemble gt Right click gt Open Project Copy Paste X Delete Mavye Rename a Import e Export Add Files Edit Linked Resources Locations Cd oe Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pd fr eescale ii of Freescale Semiconductor Inc All other product or service names are the proper
26. e Type Interface USB HCSO8 HCS12 CFV1 Multilink USB Port FA 7 Port Interface USE HCSO8 HCS12 CFV1 Multilink USB Port Port USB1 USB ML 12 Rev C PE5013850 z Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks lt 2 of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 freescale semiconductor CE Flashing Bootloader gt Click Debug C C CodeWarrior Development Studio Cd se Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks P lt fr eescale Lu of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor SSS eae Flashing Bootloader gt New Device JM128 will be detected and New Drive created A File Edit View Favorites Tools Help QO O D P search gt Folders m address f r meis READY TXT Desktop Text Document amp My Documents OKB a 3 My Computer Se System C P Control Panel I Nokia Phone Browser Le My Network Places g Recycle Bin gt TWR LCD Display shows the Bootloader screen lt lt Freescale Semiconductor Confidential and Proprietary Information Freescale a
27. ed GUI D4D ie ae ae TWR LCD Lab Guide Demo Projects Third Party Software Solutions Freescale_Embedded_GUI_User Manual Demonstration Labs with Codewarrior for MCU V10 TWR LCD RevA SCH TWR LCD Schematic sae peel TWR_LCD_QSG TWR LCD Quick Star Guide eview SSD1289 Display Controller Datasheet TRULY TFT2N0369 E Truly Display Datasheet dential and Proprietary Information n Fress ale and the Fra cale logo E NTELE TA freescale reescale Semiconductor Confidential and Proprietary Information n Freese ale and the Fra ate logo jo are trademarks freescale ee ee of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconducter Conf condu ictor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 a a en Review Introduction TWR LCD Syst Ve Many LCD displays with controller integrated have been Freescale Embedded GUI D4D released to the market Dema Projects TWR LCD Graphical LCD Module enables fast design TOA PANY SONWALE SORON across different Freescale devices Demonstration Labs with Codewarrior for MCU V10 l Freescale Embedded GUI provide High level object graphic driver for color LCD s Freescale Embededd GUI and TWR LCD reduce Time to market for Low End Graphic Applications gt Additional Resources gt gt Review Free
28. emiconductor Confidential and Proprietary Inform reescale and the Freescale logo are trademarks condict nductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 Pept enya of Freescale nductor Inc All other product or service ctive owners Freescale Semiconductor Inc 2010 semiconductor Demo Labs Demo Labs gt TWR LCD projects for CodeWarrior for MCU v10 as gt Lab Demo Application programming using Bootloader gt Lab2 HelloWorld Application KDemo_MCF51CN_Flex L Demo MCFS1CN SPI LaHelloworld_MCFS1CN_Flex CHelloworld_MCFS1CN_SPI _ HelloWorld_MCF51JM_SPI O HelloWorld_MCFS51IM_SPI_BL 2M128_BL_ECUI D M128_Bootloader Ip to iconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks J free scale reescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks pod freescale iconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 nUe of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 ondici Lab1 Demo Application programming using Bootloader gt Connect USB cable to TWR LCD Lab1 Demo Application programming using Bootloader p gt 27 frees
29. eted as a graphic information Yellow le Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks freescale in cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Embedded GUI Picture object gt Picture object is used only to draw bitmap on screen si confia and Popea idorai Fiac nl a Pisa og de has freescale roduct or service name ctive owners hice semiconductor ci d iconductor Inc All other prodi es are the property of E S eee ee ee EG Freescale Embedded GUI example application Screen Shot F MENU OBJECT Calculator TouchScreen Item6 Le le Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks P lt freescale a cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM 2S See ST ET Freescale Embedded GUI Label object gt Label object is targeted as a text information GAUGE MENU gt Menu object is targeted as a control item Menu 4 13 HCalculator TouchScreen Item6 le Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks freescale in cale Semiconductor Inc All other product or service
30. ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Lab2 HelloWorld Application gt Connect USB cable to TWR LCD Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eesca le ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM Lab2 HelloWorld Application We have to add the callback function code for Button Touch Click event under INCLUDE YOUR BUTTON CALLBACK CODE HERE D4D_UNUSED pThis D4D_IconChangelndex amp icon_Example 1 static void OnClick_BtnExample D4D_OBJECT pThis D4D_UNUSED pThis D4D_IconChangelndex amp icon_Example 1 eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e esi C a l e ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 pri meari aa ms Lab2 HelloWorld Application gt Find the S19 application output file C CW10 workspace lcd MCF51JM128 Internal_ Flash HelloWorld_MCF51JM_SPI_BL elf S19 M C CW10 workspace Icd MCF513M128_Internal_Flash
31. itask environments gt emWin is shipped as C source code gt It may be adapted to any size physical and virtual display with any display controller and CPU Le reescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e esi C a l e E cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM a Ia aM ee Freescale Embedded GUI Converter Utility F Freescale Embedded GUI Converter Utility 1 0 Image Converter Utility output header file output source file Image Image attributes Conversion settings Output files settings 7 Apply for all images Gator F Files location jonochorme treshold 128 Color table data representation Output data representation Compression emiconductor Confidential and Proprietary In reescale and the Freescale logo are trademarks cale Semiconductor Inc All other product or ser ss are the property of their respective owners Freescale Semiconductor Inc 2010 TWR LCD Third Party Software Solutions emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks scale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semico
32. least to pull up the microSD card detection pin otherwise 1 is floating for the the driver in USA PTGPE_PTGPE3 1 endif if PL BOARD LCD amp amp PL IS BOOTLOADER amp amp PL_ APP MODE I2C LCD we are the TWI if we are not the bootloader if JM ELE SW1 3 is ON low then TUR CPU has control over the display if EusD SW1 4 is ON low then TWR CPU has control over the microSD if TP_SEL SW1 6 is OFF high then TWR CPU has control over the touch ye if CanUseTouchPanel for Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks PS fr eescale ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 E Main 69 Arguments F Environment 5 Debugger gt Trace and Profile CodeWarrior Debugger For ColdFire gt Select Connection IV Stop on startup at P amp E Coldfire V1 Program entry point pr ie User specified main Tee Multilink M Debugger Options ColdFire Exceptions Reset Interrupts Download Jrc Remote Other tables Symbolics fa gt Select Inte rfa ce Connection Protocol feor 7 USB Multilink J Enable Logging Physical connection na Click Refresh Connection port and Interfac
33. ll other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor 10 Freescale Semiconductor 3 26 13 9 12 AM CE Lab2 HelloWorld Application Lab2 HelloWorld Application gt Additionally the MSD Mass storage device will show SUCCESS TXT gt Touch the Button to change the icon image File Edit View Favorites Tools Help lt E D gt DO search gt gt Folders Fr Address Sa D j Go A Name Size Type Date Modified j a File and Folder Tasks SUCCESS TXT OKB Text Document 18 04 2008 08 20 GJ Make a new Folder Publish this Folder to the Web 72 Sharathic folder O bytes P My Computer gt Now you can reset the board pressing JMRST and this will launch your HelloWorld Application le Semiconductor eit and Propriatary Information Fraesoale and the Freesnale logo ara trademarks freescale ia ale Semicor semiconductor ndu ates vin al other product or the e property of ofthe respective owners Freescale Semiconductor Inc 2010 le Semiconductor ar andl Propriety formation Fredacale and the Fresacele joo are tratlamiarke freescale oe mas semiconductor of Free Freescal reescale Semicondu ctor vin al other product or the e property of ofthe respective owners Freescale Semiconductor Inc 2010 scale Ser of Fi C SEE E E E TWR LCD Documentation Introduction TWR LCD System TWR LCD User Manual F le Embedd
34. n gt Build Application C C Icd Sources screen_hello_world c CodeWarrior Development Studio File Edit Refactor Navigate Search Project Profiler Run PEMicro Processor Expert Window Help tie Me le e B O screen_hello_world c 53 i screen_hello_world c LRRRRRRRERAASTR RATA AERA AERA SSL t ic Copyright 2008 Freescale Semicon ALL RIGHTS RESERVED lcd MCF513M128_Internal_Flash E analysis_cfv1_setup_Helloworld_MCF 1KB fg Binaries EP Includes FSL Embedded GUI Lab FILE NAME HERKAKERAARAAA AAA RAA TARA AAT ATTA TEA DEEE B Copy amp Paste txt screen_hello_world c Lib amp MCF51IM128_Internal_Flash gt Project_Headers gt Project_Settings On Cormeen PURPOSE AUTHOR EEE CE T T S ESS SSSS SSS AREA AAA A AAA TS ST E 1 E console 23 a EF C Build HelloWorld_MCF51IM_SPI_BL GUI common_files d4d_math obj FSL Embedded GUI common_files d4d_object obj FSL Embedded GUI common_files d4da_scheme obj FSL Embedded GUI common_files d4da_screen obj 1 D Seminars_Tech_day DUF Software Working Porting CW10 TWR LCD Demo Projects CW MCU 10 HelloWorld MCF51JM SPI BL FSL Embedded GUI Lib FGUI 1lib Finished building target HellolWorld MCFS1JM SPI BL elf ET tree Le Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Pog fr eescale
35. nam semiconductor es are the property of their respective owners Freescale Semiconductor Inc 2010 EE Freescale Embedded GUI Slider object gt Slider object is targeted as a graphic information of numerical values and for setting this numerical values The D4D_GRAPH object is prepared to create a simple graph that provides a lot of features Le i me tor f l m semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks e reesca e scale Semiconductor Inc All other product or service nat i lic semiconductor mes are the property of their respective owners Freescale Embedded GUI example application Window Le le Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks Psa free scale cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor Introduction gt TWR LCD System gt Freescale Embedded GUI D4D gt Demo Projects gt Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 gt Additional Resources gt Review C2 P fi le fu Confidential and Proprietary mation Freescale and the Freescale logo are trademarks e reesca e ctor Informatic inductor Inc All other product or service names
36. nd Proprietary Infor eescale and the Freescale logo are trademarks z freescale iconductor Inc All ot or servic h lemar her product re the property of their respective owners Freescale Semiconductor Inc 2010 pri mataria OE Features of Freescale Embedded GUI gt Multiple platform support Tested on HCS08 MCF51 Flexis series 8 32 bit MCUs and MCF52xx gt Objects Button Check Box User handled Radio Button Gauge Icon Label Menu Picture Slider Graph Le lt a emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks gt lt a freescale juct or service nat ice mi scale Semiconductor Inc All other prod mes are the property of their respective owners semiconductor SaaS Eee ee Freescale Embedded GUI Button Object gt Button object is targeted for control of user functions gt Check Box object is targeted for control and set up of user application FlRun Gauge Le Ca emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademark z free scale duct or service names are the lemarks cale Semiconductor Inc All other prov property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor Freescale Embedded GUI Gauge Object gt Gauge object is targeted as a graphic information of numerical values Value 71 gt Icon object is targ
37. nd the Freescale logo are trademarks PS fr eescale 3 of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor 14 Freescale Semiconductor TWR LCD Configuration ey 2 freescale Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks semiconductor of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 C TWR LCD Graphical LCD Module ColdFire Mini Flex Bus Connection PS3 Ps aterface Mode AJENAS i Bowe spr lt opese ror E E 0 forire SPE eee leee aralle nterra S CITES 1 fist 8080 parallel interface JD 17 10 DIS aiou o Evit sooe Deu Dat D Cite Lo 0 fr 8080 parallel imtertice PSN ras 0 fps 6800 parallel interface DIS 1 fis bi 080 parallel imterace DIT O 0 Pa 8080 paralelinteace DIS il Da o D EE Reserved Reserved Reserved Reserved 18 bit RGB interface 4 wire SPI bus zsa 11110 1 1 M6 bit 6800 parallel interface 17 10 D 8 1 7 0 USB SN74LVC2G125DCTR Fi 2A B_ADIG 2Y 7 _JMELE lt i JM_DC Pgf2 JM MISO Pol ae PA 9 TRST B DSCLK j Pr I TCLR PSTCLK JM_CSn Pole TDODSO 20E ELE SCK TFT2N0451 E FPC CON 2 ELE RSTOUTR
38. nductor Inc 2010 e te freescale semiconductor acts Choose an Activity 2 freescale semiconductor gt C PEG is a complete graphics solution for embedded developers written entirely in ANSI C To gat a bok st PED in acion download one of the demos for Windows or Linux X11 gt C PEG provides optimized graphics ps primitives text and bitmap drawing and supports higher level graphic objects gt C PEG works in concert with many industry standard real time operating systems from the leading vendors gt C PEG is delivered with full source ne code complete documentation along sss list of example programs and hardware crc veveiapers roots interface support emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 Swell Peg freescale semiconductor Freescale Semiconductor 3 26 13 9 12 AM Introduction TWR LCD System Freescale Embedded GUI D4D Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources Review Freescale Embedded GUI TWR LCD Demo Labs Codewarrior for MCU V10 2 freescale te juctor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z free scale reescale S
39. of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor a SSF ee eee Userlinterface gt Encapsulation of User Interface Widgets UserInterface Display Memory Wite 7 Clear display in init Un a iD Initialize on Init a a Display Enabled DC Enabled SCE SSD1289 TouchScreen SEL TouchScreenSensor FlexBus A D BitIO Bitlo SPI P cf ot reescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr eescale in cale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Introduction TWR LCD System Freescale Embedded GUI D4D Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources gt gt gt gt gt gt gt gt Review ots lt a y m si Sa fl I m emiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks reescaie iconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Segger emWIN gt emWin is designed to provide an efficient processor and display controller independent graphical user interface gt It is compatible with single task and mult
40. on port and Interface Type Run Debug Settings Connection Protocol Got z Interface USB HCS0a HC512 CFVI Mutilink USB Port Porti Se USB ML 12 Rev C PE5013850 gt Click OK Restore Defaults Apply boa 3 oT f I Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks gt 4 reesca e of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor EEE Flashing Bootloader gt Cli ck R e su m e F 8 File Edit Refactor Navigate Search Project Profiler Run PEMicro Processor Expert Window Help l s m O amp lOR Fous TV x Poe 2062 Tu E E 3M128_Bootloader MCF513M128_Internal_Flash PnE USB BDM CodeWarrior Download El CA ColdFire 1M128_Bootloader elf Suspended Ely Thread ID 0x0 Suspended Signal Halt received Description User halted thread main D Seminars_Tech_day DWF Software Working Porting CW10 TWR LCD Demo Projects CW MCU 10 _startup D Seminars_Tech_day DWF Software Working Porting CW10 TWR LCD Demo Projects Cw MCU bi D Seminars_Tech_day DWF Software Working Porting CW10 TWR LCD Demo Projects CW MCU 10 JM128_Bootloade TWR_LCD_IM128 c Write your local variable definition here if PL_BOARD_LCD NOTE the JM126 on the TWR LCD needs at
41. ootloader MCF51JM128 Projects to work stand alone or with Bootloader SPI or Mini Flex Bus LCD Module interface Processor Expert and non Processor Expert versions Bare Metal or OS solution SD Card navigation switch and board accelerometer supported Ps fi le fu Confidential and Proprietary mation Freescale and the Freescale logo are trademarks e reesca e ctor Informati nductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor TWR LCD Demo Projects Freescale ECUI Freescale GUI CN128 ECUI FlexBus_Accel CN128 ECUI FlexBus_ SD CN128 EGUI FlexBus_Accel MCF51CN128 CN128 EGUI FlexBus_Accel _ Processor Expert project CN128_ECUI FlexBus_SD Non Processor Expert project PE Frozen Cod CN128_EGUI_FlexBus_Accel L Non Processor Expert project BARE METAL Le Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks pcd fr eesi C a I e ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor E TWR LCD Demo Projects Freescale ECUI Le n eo ifidential and Proprietary Information Freescale and the Freescale logo are trademarks mice na freescale juctor Coni nductor Inc All other product or service names are the property
42. r Confidential and Proprietary Information Freescale and the Freescale logo are trademarks a freescale iconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor escale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor SE a E ee Introduction Smart vs Dumb LCD Panels amp Bus requirements Driving graphics LCD panels normally requires a dedicated MPU e Dumb LON ir panels are very MUCH IKE DRAM 3 l No on board frame buffer or graphics engine Solutions such as the Coldfire MCF532x MCF5227x or i MX Cell s need to be refreshed periodically devices have been specifically designed for this purpose Refreshing uses a lot of bus bandwidth Cheaper but require LCD controller Recently a number of new LCD displays have been released to the market which have LCD controllers integrated onto the LCD gt Smart LCD TFT panels Like Static RAM glass LCD is refreshed from on board RAM A simple SPI or 8 16 bit parallel interface can be driven by any CPU bus bandwidth is only used when data must be changed microcontroller Requires significantly less CPU bus bandwidth More expensive but does not require LCD controller Le Le emiconductor Confidential and Proprietary Information Free and the Freescale logo are trademark z free scale ree
43. scale Semi dust C onfidential and Propri any Information ne Fra cale a as cale logoa ra tada jemarks f I Freescale Semi ict C onfidential and Propri stay information mF cale and the re cale logo a re trade marks f I reescale reescale of Freescale Semiconductor Inc All other product or the le proper iyo of thei respective s Freescale Semiconductor Inc 2010 re eescale d the al of Freescale Semiconductor Inc All other product or the le proper fy 0 of thei respective s Freescale Semiconductor Inc 2010 So COQUE Freescale Semiconductor 2005 11 Freescale Semiconductor 3 26 13 9 12 AM BACKUP SLIDES escale semiconductor eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e esi C a l e in of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor TWR LCD setup for Standalone gt TWR LCD Settings This configuration is using the TWR LCD JM128 CPU to drive the TWR LCD TRW LCD SW1 settings Board Set up cu OFF JM_ELE OFF EuSD ON SPI_SEL OFF TP_SEL ON BL_CNTRL OFF ELE_PWMO Crrwn Leo REV A amp TRW LCD SW5 all OFF Le to Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks pod fre esca le m Freescale Semiconductor
44. scale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z free scale servic of Frees service names are the ive owners Freescale Semiconductor Inc 2010 id escale and th lemarks cale Semiconductor Inc All other product or se ies are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor scale Semiconductor Inc All other product or se property of their respective o semiconductor Freescale Semiconductor 2005 1 Freescale Semiconductor Display Spectrum F A Med to Large sized Displays Small size Displays Monitors Terminals TVs etc Organic Light Emitting Monochrome LCD Monochrome LCD Diode Displays Vacuum Fluorescent Color LCD TFT LED Matrix Segment based Dot Matrix Graphical OLED Display VFD Graphical Passive Se Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e es C a l e ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor gt Introduction gt TWR LCD System Freescale Embedded GUI D4D Demo Projects Third Party Software Solutions Demonstration Labs with Codewarrior for MCU V10 Additional Resources Review eg Freescale Semiconductor Confidential and Proprietary Information Freescale and the Frees
45. tor 2005 Freescale Semiconductor Lab2 HelloWorld Application C C CodeWarrior Development Studio File Edit Refactor Navigate Search Project Profiler Run PEMicro wis le U m a a Preprocess Disassemble gt Select Icd Project eee Hote gt Right click gt Open Project RENAME s Import r Export Add Files Edit Linked Resources Locations Run As Debug As Team Compare With Restore from Local History Properties Show In Windows Explorer eo Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks z fr e es C a l e ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 Pri akar Ene A Lab2 HelloWorld Application Main Loop void mainivoid EL_RedirectUserVectors MCU Initi j f f MCU Initialization Clock WatchDog etc Timer _Init ff Periodic Timer interrupt initialization 25ms D4D_Init escreen HelloWorld Ee Init HelloWorld Screen ANDSCAPE EnableInterrupts enable interrupts for Library Poling Routine __RESET_WATCHDOG feeds the dog loop forever please make sure that you never leave main 7 i 3 eo f I Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are
46. ty of their respective owners Freescale Semiconductor Inc 2010 semiconductor E Flashing Bootloader gt Connect PC to USB Multilink gt Connect USB cable to TWR LCD Se oe Freescale Semiconductor Confidential and Proprietary Information Freescale and the Freescale logo are trademarks fr eesca le ii of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2010 semiconductor Freescale Semiconductor 2005 3 26 13 9 12 AM E Import Projects Select a directory to search For existing Eclipse projects a Select root directory b Seminars_Tech_day DWFiFinal Material Software TWR LCL Browse N Lab s Software Setup Select archive file BrOWSe Projects C C CodeWarrior Development Studio _MCF51CN_Flex D 5emin ch_d Final Material Softwar C Demo_MCFS1CN_SPI D Seminars_Tech_day DWF Final Material Software TWR L File Edt Refactor Navigate Search Project Profiler Run F Demo_MCF51 M_SPI D Seminars_Tech_day DWFiFinal Material Software TWR L__ Deselect All ra all n m lat O Heloworld_MCF51CN_Flex D Seminars_Tech_day DWF Final MaterialSoftware m w a D Helloworld_MCF51CN_SPI D Seminars_Tech_day DWF Final Material Software T Bares ode ects 3 O HelloWorld_MCF511M_SPI D Seminars_Tech_day DWF Final Material Software T 5 nn O HelloWorld_MCF51IM_SPI_BL D Seminars_
Download Pdf Manuals
Related Search
Related Contents
8001/8300/8500 Ethernet Cradle "取扱説明書" Samsung NV15 User Manual Sony CYBER-SHOT DSC-S950/S980 User's Manual Hitachi C10FCH Saw User Manual Manual de Usuario Internet NEC Express5800/R120d-2E SR Configuration Guide E7 Drive User Manual User's Guide to WinOSPM Copyright © All rights reserved.
Failed to retrieve file