Home

BlueScreen SUN User Manual v1.00

image

Contents

1. M Programming Algorithm Description Device Type Device Size Address Range LPC2000 IAP 512KB Flash On chip Flash a3 DEODOODCICOH OO0FCFFFH 5 6 2 Serial port Command line interface can be connected using COMO as CONS_SER is defined to 0 in app_config h Anyway the board provides COMO in 2 types RS232 and TTL There is a jumper P9 to be set see pictures below Select Port UART i hb am o To communicate the board with command line interface HyperTerminal can be used Set the COM port as follow www ThaiEasyElec com Enable Your Design all 22 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System COM4 Properties BERGER Port Settings Bits per second Ems v Restore Defaults The serial port O also served for ISP In system programming which user can use software like Flash Magic to program the MCU To do this place a jumper on J9 see pictures below and then press reset Now the MCU should starts with ISP boot loader E a Disable Enable Please also remove the jumper when programming finished and then reset the board again www ThaiEasyElec com Enable Your Design all 23 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Appendix 1 TS MODE refers to lcd ctrl h
2. TS MODE is display mode used in functions start with TSLCD Now there are 3 modes available TS MODE NORMAL TS MODE INVERSE and TS MODE FULL TS MODE NORMAL To displaying a circle or some images having white background user may want this white background to be transparent Using this mode all pixel having value OXFFFF will considered as background and it will be display as read back color The example of this mode displaying 1s the volume bar There you can see blue background instead of white TS MODE INVERSE As it s name inverse The circle or rectangular drawn will have inverse color to the old color Color parameter sent to the function will be ignored TS MODE FULL In case of showing a text message again and again in the same area You need the use this mode as the blank space will be filled with background color Anyway displaying an image TSLCDShowPic2 with this mode all color from original image code will be display including white color Note that a rectangular doesn t have blank space in this case I MODE NORMAL and TS MODE FULL have same effect 2 Pen status refers to app config h Pen status or in code pstatus means the current state of pen This is useful parameter sent to ScrObjDo There are 4 available statuses PST NOTFOUND means that the screen 1s not pressed PST DOWN occurs once the screen is pressed PST HOLD occurs continuously while the screen is pressed PST UP
3. The board can be powered via 2 connectors with 9 16VDC Both screw type and jack type positive voltage inside are shorted together on board and is protected with half bridge diode for incorrect polar power The board shows Press the screen to recalibrate within 1 second on a blue screen In this state 1f you want to recalibrate the screen press on it Anyway the board is calibrated from our factory so users don t need to do it again When the board starts up it loads calibrated parameters from last 128 bytes of EEPROM see function AppCalibrateScreen2 in app bs sun demo c These parameters are used to calculate which point the screen 1s pressed They are variable on each board In case that user overwrites some of these data in EEPROM At the starting up the calibration state picture below will show automatically without waiting In order to recalibrate the screen there would be 3 points on the screen to be pressed For accuracy please touch it slowly and a stylus should be used When finishing the demo example will be shown www ThaiEasyElec com Enable Your Design ThaiEasyElec com Mi On line Electronics Shop for Embedded System 11 BlueSc reen SUN User Manual v1 00 5 3 Creating project with Keil Contents below are referenced to Graphic Library example there may be some differences 1n other examples The board is supplied with codes Users have to make project yourself This guide is an example for
4. bin files 1s used for storing image on SD card This is in case of large image that would be used as background Or in case that you are having arrays of images see Catalog demo example for more details Note that a full screen 1mage for 7 inch LCD would take 800x480x4 bytes That s 1 5MB and 1s absolutely not be able to store in 512K flash memory Then click Generate and specify the target file name To make a font see settings below bmp2h_conv v6 0 Load Generate Select LCD 3 C NOKIA 6100 132x132 DM176220TT5605 175x220 1B bit interface LCD R e x ELT240320TP 240x320 e J Select Format 2 colors 1 bit for font making B4 2 colors 1 bit for display C 256 colors 8 bit A 4k colors 12 bit C B4k colors 16 bit jen x Z true colors 24 bit l BE u E Select Method Generate h c file Generate bin file C Generate multiple bin files Fi IEXTEG z C Generate and send bin files Jadis E ThaiE asyElec Products amp To const unsigned char font_vrinda6064E h variable Accessories Projects Font font_vrinda 60 64 bmp Pixel Dept 32 bin code width 353 c heigth 384 Reverse R lt gt B Drive idi 859 heigth 38 4 Bytes line 8 File size KB Thaitasytiec com Ul Notice on the Height parameter in Select Format option This must be set to match your font images It c
5. Keil Firstly you have to create a project And select the device as LPC2478 Options for Target Target 1 Device Target Output Listing User C C Asm Linker Debug Utiities Database Genenc Vendor NXP founded by Philips Device LPC24378 Toolset ARM EJ LPC2387 j LPC2388 LPC2420 LPC2458 LPC2460 LPC2468 LPC2470 2 ee ARM TOMI S based high performance 32 bit RISC Microcontroller with Thumb extensions 512KB on chip Hash ROM with In System Programming ISP and In Application Programming IAP 98KB RAM CPU clock up to 72 MHz On chip crystal oscillator On chip 4MHz RC oscillator On chip PLL Enhanced Vectored Interupt Controller Ehemet 10 100 MAC with DMA Extemal Memory Controller for static and dynamic memories USB 2 0 Full Speed Device Controller and Host OTG Controller CAN 2 08 with two channels LCD Controller STN and TFT General purpose DMA controller Four UARTs one with full modem interface Three I2C serial interfaces Three SPI SSP serial interfaces 125 interface SD MMC memory card interface 10 bit ADC with 8 channels 10bit DAC Four 32 bit timers with capture compare Watchdog Timer PWM unit for three phase motor control Real Time Clock with optional 4 m k qeu Defaults Secondly set the XT AL frequency as 16 MHz This is very important one downloading the firmware via JTAG with wrong setting will cause the board not to be programmable anymor
6. T 5 Tu 3 ci SOF SVC Stack Size EQU 008 x Ha ABT Stack Size EQU xODDOODOO amp a i Aep icr fonts ABT Stack Size EQU 00020 W FIQ Stack Size EQU 0xo0000000 BLS app scr fom BS FIQ Stack Size EQU Dxonnocnoo T O65 IRG Stack Size EQU QxOo000100 a 2 app ier Jogin c Ooo IRG Stack Sise EGU xo0c0oD100 ors USR Srack Sire EG DBxOODDOOCODO 4j agp se un nam vil i c a um USR Stack fi ze EU x cD0oD400 aa PERE RRR RRR P X 3 console v gl a Pee Toe eee eee 2 g l a 3 feet thai plugin vl 00 c 3 ISR Stack Size EQU UHD Stack Size Mo Line 331 3j 4 ilc eeprom UH FIQ Stack Sire T CLOCR_SETUP EQU 1 gk Os Eg SCS val EQU pxoonDooDZ0 T ES 1 vi Snare ane Drs AREA STACK NOIWIT B CLKSRCSEL Val Eg bx00000001 Le f etra snae a7 M PLLCFG Val EDU DXODDOODDE s PLLCLE 16x2415 480 BL main c Oh Stack Mex SPACE USE Stack Size d CLEGG Val equ O6xQ0000006 CCLK Go 641 8 57 a E eb Hs ve 00e E39 initial sp SPACE ISR Stack Size 6 USBCLKCFG Val EQU ets 3 1 USBCLK 480 9 1 48 xi Y pom prex vl i ma if PCLKSELO Val egr DxD a 3 screen obj v1 02 UN Stack Top PCLKSELi Val EQU x00000 x serial feet wi OD mu n a 3 spi fpciiux v1 01 mai E a 3 te adT543 1 00 e DMM y ch Heap Configuration x i utis custom vi 00 mas o Heap Size in Bytes Ox0 0x Bal on UNE nii c h HE e mir 5 Gg images jal 1 zi Sg fonts Text Editor Confeuration Viraed 4 a B JE us r T E cus ea
7. ll 20 ThaiEasyElec com On line Electronics Shop for Embedded System BlueSc reen SUN User Manual v1 00 ARM Target Driver Setup ULINE USB JTAG Adapter JT4G Device Chain IDLODE Device Mame TOO O 4F1FOFOF ARM TDMI S Core Serial No U0SS9C6E LILIMEK Version v2 10 Device Family ARM t Automatic Detection Firmware v 2 02 t Manual Configuration Max JTAG Clack 2UDkHz 7 Debug Cache Options Download Options Misc Options Iw Cache Code Iw Verify Code Download m Uke Peace Se uo i Cache Memory Download to Flash Cancel Back to target s option select Utilities and configure as follow Options for Target Target 1 Device Target Output Listing User C C Asm Linker Debug Utilities Configure Flash Menu Command LILINK ARM Debugger Settings i Update Target before Debugging Init File El E dit t Use External Tool for Flash Programming Command Arguments Cancel Defaults www ThaiEasyElec com Enable Your Design all 21 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Select setting and add programming algorithm as follow Flash Download Setup m Download Function RAM for Algorithm LIAD i Prograrn H MEE C Erase Sectors v Verify Start Ox40000000 Size 00800 f DonotErase i Resetand Run
8. occurs once the screen is released www ThaiEasyElec com Enable Your Design 24 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 3 Embedded file system library EFSL Embedded file system library using in this application is free library downloadable from http sourceforge net projects efsl It s limited to SPI only LPC23xx s MCI is not supported It s very easy to port it to your existing hardware AVR NXP s ARM and some other platform have already had example In this application Ipc200_spi c is modified from original code It is the bridge between our SPI library and EFSL Other files 1s also modified some lines are commented to decrease warnings and errors www ThaiEasyElec com Enable Your Design pil 25 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 Bluescreen SUN with uCLinux Bluescreen SUN with uCLinux www ThaiEasyElec corr Se albi SEE version 1 1 u tailing vernim d 1 di BLUESCREEN SUN with uCLinux http www youtube com watch v NMIM8vTSMuo Booting uClinux from SD Card Bootloader copy kernel image from SD Card to SDRAM and Boot BlueScreen SUN coming up BlueScreen SUN i Development by using C ARM Solution 0 35 weer ThaiEas Elec corn BLUESCREEN SUN Point Of Sale Demo http www youtube com watch v DKAgqv lyLs www ThaiEasyElec com Enable Your Design 26 ThaiEasyElec com d On line Elec
9. w serial Ipc23xx v1 00 c m X time c spi Ipc23xx v1 01 c ui c E f tc ad7843 v1 00 c images utils custom v1 00 c fonts Hl efs H E images fonts T Bos Qe er Sr B S Qe or Sr amp B Qs or Sr www ThaiEasyElec com Enable Your Design 14 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Project Workspace X Project Workspace x a t Target 1 m Target 1 Source Group 1 H E Source Group 1 H efs m efs images H B images button3 c d e Hehe H E fonts font angsanal432 c X font vrinda60x64 c After these settings the project should be compiled without any errors some warnings may occur The project workspace should be seen as below compiling font vrindal8xl6 c compiling font vrinda30x32 c compiling font vrindae0x64 c linking Program Size Code 72200 RO data 148040 RW data 500 ZzI data 11148 bluescreen axf 0 Error s 4 Warning s ka Output Window Find in Files www ThaiEasyElec com ThaiEasyElec com Enable Your Design I 15 BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 5 4 Source files description Contents below are referenced to Graphic Library example there may be some differences 1n other examples For more understanding in the content user may also read Blue Scre
10. www ThaiEasyElec com Enable Your Design ThaiEasyElec com 13 BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Ky buriti Ede Edit View Project Debug Flgbh Penphersh Took JCS Window Help ddug mt d X AP ec Hi Am ow e mim X Target t Project Workeoace x Source Group 1 3 LECHON D Ga z Oo Dm He ape bt sun demo a t mpp canaclex uud m Ux c aT 28 al BGxooDoDDOO 4 app ur lonte ros w d opps forme X 06 Replace At Line 0331 E apa ter logig m rr x app sd ui sum vi fie x i I z E controle v Sc SS PRR ME ea aaa a a a a E a 3 feet thai plugin vi 00 2 aU riff cfe BE Lina 2 a TE mms 1 j CLOCK 5 Ur a 4 9 idc eepmm oan FUE NERIS EQ i 4 cree P EQU l 4 ie Ipc T Sux v1_00 Hk zc Mai ERU a 7 i E EET a CLKSRCSEL Val EQ i a CLKSRCSEL Val EQU x LE Med etr vl Lc RUM FLLCFG Val EQU e Ha PLLCFG Val EQU JODOODOE PLLCLK 16x2x15 480 BL rain S008 CCLECFG Val EQU Ba CCLECFG Val EQU 3 a j ob Ee vi DO 003 USBCEKCFG Val EQU xoDDoDDOs BI USBCLECFG Val EH DxO00O0OD0US r USBCLE 48O0 9 1 4B 1 i pem ipitie vl Gtr Sra omn hga a rene uus Aa nna a i 2 ee eee mut aS Pasar ees Ce ee ee TI E screen obj 1 02 06 PCLESELI Val Eq x00000000 PCLKSELI Val EQU 000000000 bi i n 3 9 serial fect ho vi Od TH a 3 spip v1 c ooo 050505050 oe T a 3 te adT443 d Othe Memo
11. BlueSc reen SUN User Manual v1 00 ThaiEasyElec combi On line Electronics Shop for Embedded System Copyright 2009 ThaiEasyElec All rights reserved Disclaimer This document is intended only to assist the reader in the use of the product ThaiEasyElec com shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product Un 4 U N E Enable Your Design i i ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Index Introduction Features Requirement Drawing Getting start 5 1 Peripherals 5 2 Power it on 5 3 Creating project with Keil 5 4 Source files description 5 5 Operation 5 6 Programming and Command line interface Appendix 1 Quick reference guide for port connections oM amp Vo 10 11 15 19 23 www ThaiEasyElec com Enable Your Design MI 3 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 1 Introduction Blue Screen SUN is a touch screen development board comes with NXP s powerful ARM7 LPC2478 the LCD controller integrated MCU Addition with 64MB SDRAM optional Ethernet module SD card socket 8kB EEPROM and connectors for resistive type 4 3 inch and 7 inch touch screen TFT LCD Blue Screen SUN is the new generation of famous 2 8 inch touc
12. Method amp y bmp2h_conv v6 0 Load Generate Select LCD Enable Your Design C NOKIA 6100 132x132 ThaiEasyElec com DM176220TT5605 175x220 On line Electronics Shop for Embedded System ELT240320TP 240320 gt 16 bit interface LCD Select Format 2 colors 1 bit for font making uu mE 2 colors 1 bit for display 256 colors 8 bit 4k colors 1 2 bit C 64k colors 1 b bit true colors 24 bit Select Method Generate h c file Generate bin file C Generate multiple bin files Generate and send bin files From E Work ATP2 pic Back_4_3 jpa To h variable Pixel Dept 32 i width 440 l Iheigth 96 sili Reverse R lt gt B Drive width 440 heigth 96 Bytes line File size KB Thoitasytiec com Il www ThaiEasyElec com Enable Your Design all 18 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System In Select Method option select what you need to store image in code memory use h or c file h is to be included while c is to be added to project the difference in uses 1s Whenever the image would be used in one source file h can used Unless use c and then declare them with extern prefix in app config h then you can use it anywhere in the project For example fonts are used many times in many files it must be added like a c file Generating to
13. e If this situation occurs one way to recover is to program it with Flash Magic www ThaiEasyElec com Enable Your Design all i ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Device larget Output Listing User OCh Asm Linker Debug Utilities NXP founded by Philips LPC2478 _ Code Generation Xtal MHz ARM Mode Operating system None l Use Cross Module Optimization Use MicroLIB i BHERHER Use Link Time Code Generation r Read Onhy Memory Areas gt Read Write Memory Areas defaut off chip Start Size Startup default off chip Start Size Nolnit ROM 1 E L RAMI B ROMZ i C RAMZ ROM3 1 E gd Cd f on chip on chip HER IROM1 ux axe0000 RAMI 040000000 o10000 mowz CE iRAM2 Ox7FE00000 O4000 Thirdly modify the LPC2400 s file along with the LLPC2400 modification note s file you got from our website Ei bluti gkire Ede Edit View Project Debug Fink Penphersk Took S005 Window Help sWg me TETT qaa Ts a Eml sere ALAA E ode N X Replace At Line 0086 Projeti Workspace zr TU PUER 5 5 Source Group 1 E Cases Bi THA Downloads BL LIE QE s s hs ng pe Lie ops aunn aMNNERESAREEHESEESESSESBSSEESBSSEESSEEERBEE ge UR Stac iire EDU GMOOUOOUUS m E ae i B6 UND Stack Size EQU oc000 Os sve Stack Size EQU 6x00000008 a
14. en board s manual which uses the same core library Header files only important files are shown l s hw Blue Screen sun h define hardware for example TC CS is at port 2 2 define TC CS DPRT FIOODIR define TC CS PRTS FIOOSET define TC CS PRTC FIOOCLR define TC CS PIN 10 DPRT direction port PRIS port set PRTC port clear PIN pin number in the port These may look awkward but it s very easy to change some pins app config h this file is used to configure many parameters various on each project Header files including are in here And it is included in most of source file So which declaration shared on more than one source file should be declared in here Function headers of app bs sun demo c are also declared here All other header files are subjected to declare functions only Source files only important files are shown 1 main c background functions are here including timer interrupt service routine TO IROHandler 1 0 initialization 10 init In case that user need to use more peripherals PINSEL may be set in 1o init Notice that AppInit and AppRun are called from main user application may be modified or recreate using these functions www ThaiEasyElec com Enable Your Design MI 16 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 2 app bs sun demo c most of application are here except the graphic user
15. face with mini B USB connector the board cannot be powered from USB connector Connector for ThaiEasyElec s DP83848 Ethernet module JTAG connector for programming and debugging Connectors for 9 16VDC power supply DC jack and screw type Buzzer www ThaiEasyElec com Enable Your Design iMi ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Software Demonstrating application Graphic Library demo Catalog demo Command line interface software module Show image from SD card SD card commands e g change directory list open read open write Screen object software module Design your screen with object oriented method the running background software will manage which object should be operated Low level drivers LCD driver Touch screen controller AD7843 driver Serial port SPI interface 2C interface www ThaiEasyElec com Enable Your Design MI 6 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 3 Requirement USB cable type A to mini B optional 9V 16VDC power supply ThaiEasyElec s USB to serial and cable optional for command line interface and programming Stylus optional SD card optional Supports programmer debugger optional ULink ULink2 and more DP83848 Ethernet module optional VS1011E Module USB mini B to Serial DP83848 Ethernet Modu
16. h screen development board Blue Screen with bigger size LCD and much more features Two source code bundles support non OS based and OS based platform Both platforms share the same touch screen middleware with Blue Screen Developers who have got familiar with Blue Screen can upgrade there products to bigger LCD easily www ThaiEasyElec com Enable Your Design Mi 4 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 2 Features Hardware NXP s ARM7 LPC2478 2of 16 bit Micron s MT48LCI6M16A2P 75 SDRAM providing 32 bit 64MB memory Connector for 480x272 pixels TFT LCD with touch screen Connectors for 800x480 pixels TFT LCD and 4 wire resistive touch screen panel SD card socket connected via SPI interface support up to 2GB capacity High capacity HC type not supported On board SkB EEPROM the last 128 bytes are reserved for screen calibrated parameters Serial Port O with selectable UART connector TTL 3 3v with 5v tolerant or female DB9 connector RS232 for command line interface and in system programming select by a jumper Serial Port 1 with full modem signals on male DB9 connector 7 GPIO ports including ADC ports port ThaiEasyElec s module connector consisting of SPI and UART signals from MCU can be used as 10 GPIO ports One USB host interface with USB type A connector and power switch IC LM3526M L One USB device inter
17. interface which is in app scr xxx c 3 screen obj c this is the code running in the background of screen object management From the AppScanPen in app blue screen c the screen position and the pen status are send to ScrObjDo This point is called global position because it refers the whole screen In ScrObjDo each object are determined whether the screen position is in its area considering from its origin and its size Then do of targeted object will be processed with local position got from minus of global position and the object s origin 4 app scr xxx c these files are related to each screen each object s parameter are defined here including origin horizontal and vertical size do and draw function and etc A part of code from app scr login c is shown below define SO KEYPAD 0 1 ObjKeypad2Init SO_KEYPAD 0 256 2 so_obj SO_KEYPAD draw keypad_draw 3 so_obj SO_KEYPAD do_ keypad_do 4 so_obj SO_KEYPAD leave user_turn_off_key 5 Line 1 1s to dedicate that for this screen MP3 player screen keypad is the object number 1 Line 2 keypad is initialized with ObjKeypad2Init which is in obj lib c 0 and 256 are position of the object in the screen With standard object library some parameters are fixed Anyway for customized object all parameter must be set Line 3 4 and 5 define functions that would be operated on corresponding event With screen obj vl 01 o
18. le Stylus mini N link ARM USB JTAG mini N link ARM USB JTAG is now obsoleted Please refer the ARM USB JTAG as link below http www thaieasyelec com index php lay show amp ac cat showcat amp l23 amp cid 1733 www ThaiEasyElec com ThaiEasyElec com Ml On line Electronics Shop for Embedded System BlueSc reen SUN User Manual v1 00 4 Drawing in mm Top side www ThaiEasyElec com ThaiEasyElec com iil On line Electronics Shop for Embedded System BlueSc reen SUN User Manual v1 00 be G E a bel 25 654 eee 733 Bottom side www ThaiEasyElec com Enable Your Design all 9 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 5 Getting start 5 1 Peripherals USB host connector USB device connector a i SO card socket LED EINT jumper for ISP Serial port TTL serial port 1 RS232 male Ethernet module socket Serial port O HS2 32 female inch LCD socket Connector jack ACS connector D Connector screw type Reset switch ThaiEasyElecs module p GFPlOs ADC pins included Top side www ThaiEasyElec com Enable Your Design all 10 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System Battery holder for HTC A 4 3 inch LED socket Pe eee perpeki msimen ri Bottom side 5 2 Power it on
19. ould only be in multiples of 8 www ThaiEasyElec com Enable Your Design ThaiEasyElec com Mi On line Electronics Shop for Embedded System 19 BlueSc reen SUN User Manual v1 00 5 6 Programming Debugging and Command line interface 5 6 1 JTAG Interface Blue Screen SUN board supports JT AG interface for debugging and programming Many programmers can be used corresponding to your IDE For Keil s software on the target s option select Debug and configure the flash programmer as follow Options for Target Target 1 Device Target Output Listing User t Use Simulator Limit Speed to Real Time Iv Load Application at Startup I Aun to maini Initialization File m um Restore Debug Session Settings if Breakpoints iw Toolbox Iv Watchpoints amp PA Iw Memory Display CPU OLL Parameter ISARM DLL cLPC2100 Dialog DLL Parameter IDARMP DLL pLPC2378 LU Asm Linker Debug Utilities Iv Load Application at Startup Iw Run to maint Initialization File ec Restore Debug Session Settings i Breakpoints Iw Toolbox Iv Watchpoints i Memory Display Dryer DLL Parameter ISARM DLL Dialog DLL Parameter TARMP DLL pLPC2378 Cancel Defaults Also select Settings and set MAX JTAG Clock not over than 200kHz if you are using mini N Link Faster speed can be set with ULink2 or compatible programmer www ThaiEasyElec com Enable Your Design F
20. r later all functions in so obj structure are initialized to null function So they don t need to be assigned in case that they are not used Note that so obj is structure type variable User may change its parameter when need So in case that user designs more than one screen in an application The array so obj can be redefined again and again for each screen For more detail about so obj please see in screen obj h www ThaiEasyElec com Enable Your Design all 17 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System 5 5 Image generating In the demo application most of images seen on the screen are generated from JPEG files or Bitmap files with the software called bmp2h conv The last version which is 6 0 supports 24 bit color format and can be downloaded at our website in product s page This part of manual shows step by step how to implement these pictures into your project Please also understand about format that the picture would be generated to With Blue Screen board 2 8 inch LCD the color format is 16 bit But with Blue Screen SUN board it s 24 bit just like on your PC Anyway in embedded system s world it must be store in 32 bit memory So one pixel picture would be store in 4 bytes of memory Firstly create your image using Paint or whatever you like Secondly run bmp2h_conv and load your image Set parameters as shown below except of Select
21. ry Acceler aj util custom vi O0 c DMI MAM BASE ED xEDl1FCO2OD he i en he m gg ei OMA HAMER OFS EDU jx Eg mage jal amp E font J Text Editor Configuration Wired Bm ug TELI B ica e Then add all other source files c in the project And also add group efs fonts and images then add all source files in those folders to its group For more detail about efs stand for embedded file system please see appendix Project Workspace x ject Workspace UE oe a Target 1 a Target 1 Source Group 1 3 6 Ee H E Source Group 1 H efs 3 LPC2400 s i E2 H images app_bs_sun_demo c debug c fonts app console c dir c f app scr font c disc c w E app_scr_form c w A efs c H app scr login c f extract c f app_sd_ui_sun_v1_01 c H fat c E console v1 01 c file c font_thai_plugin_v1_00 c fs c m f i2c eeprom c E m ioman c i2c Ipc23x v1 00 c D Ipc2000 spi c E 5 lcd ctrl vi 01 c H A Is c gm f main c x f mkfs c obj lib v2 00 c t partition c E pwm Ipc23xx v1 00 c plibc c screen obj v1 02 c sd c
22. tronics Shop for Embedded System BlueSc reen SUN User Manual v1 00 BLUESCREEN SUN with Ethernet Module BlueScreen SUN Graphic Library Demo EJ Annotations Editor Login Graphic 25 110 eg BlueScreen SUN Graphic Library Demo http www vyoutube com watch v B5bwlugbr9w LPC2478 with 7 inches touch screen LCD with graphic library Source code available now www ThaiEasyElec com Enable Your Design MI 27 ThaiEasyElec com BlueSc reen SUN User Manual v1 00 On line Electronics Shop for Embedded System MORE Application please visit http www ThaiKasyElec com http www ThaiEasyElec net BLOG SUPPORT http bluescreen sun etee012 blogspot com Prepared by ThaiEasyElec com Venus Supply Co Ltd 196 1 Soi Thedsaban Nimit Nau 8 Thedsaban Nimit Nau Road Ladyao Chatuchak Bangkok 10900 Tel 66 2954 2408 Fax 66 2953 8443 Email Sales thaieasyelec com Support thaieasyelec com www ThaiEasyElec com

Download Pdf Manuals

image

Related Search

Related Contents

Hyundai Inverter  User Guide Bx600 Breakout Board Series  Contents  Jasco RM24977 User's Manual  HAC - Z-Car.Com  scarica il manuale di istruzioni sen - K  VGN-NW380F/S - Clearance Club  Media Reactor Instructions    Betriebsanleitung  

Copyright © All rights reserved.
Failed to retrieve file