e-seminar 2012 2 22 · pdf file · 2012-02-22e-seminar 2012 2 22 목차 ... -serial...

32
E-Seminar 2012년 2월 22일

Upload: buiquynh

Post on 25-Mar-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

E-Seminar2012년 2월 22일

Page 2: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

목차

� adStar 소개� Spec� Target Market� Development Tool

� adStar 개발환경

� adStar SDK 구성 및 활용� Bootloader� Graphic� Sound� Font� etc

Page 3: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

What is adStar ?

8/16MB SDRAM512KB Flash

Memory

RGB 888 or 565800*600 Resolution

LCD Controller

32-bit EISC Core108MHz

Core

Page 4: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Spec.

High Performance Processor Core- 32bit EISC Core MCU- Up to 108MIPS throughput with 108MHz Clock

Embedded Memory- 8/16MBytes SDRAM- 512KBytes Flash (Option)- 32KBytes SRAM (30KBytes Data/2KBytes Instruction)

External Memory Interface- Supports SLC and MLC (24-bit ECC) Type NAND Flash- 8 or 16-bit data, up to 18-bit addressing SRAM Controller

Page 5: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Spec.

LCD Controller- RGB 888 or 565 output - Supports up to 800x600 resolution display mode

Software Library- Graphic s/w - JPEG s/w decoding - MP3 s/w decoding

USB Full-Speed Device/Host Compatible - Supports Full-speed Data Rate 12Mbps

SD-Card Interface - Supports single/quad

Page 6: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Spec.

Copy Protection - 24-bit key-protected only-one programmable bits

Sound Mixer - 2ch. I2S - 2ch. Digital Modulator

10-bit ADC - 4-ch. ADC for Analog Input

Boot Mode - ROM booting mode - NAND Flash booting mode - Serial Flash booting mode

JTAG Interface- Boundary-scan capabilities - Extensive On-chip Debug Support - Programming of Fuses through theJTAG Interface

Page 7: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Spec.

Other Peripheral Functions - 5-ch. UART (1-ch. with IrDA support)- 4-ch. 16-bit Timer/PWM/Capture - 32-bit Watchdog timer - Interrupt controller - 1-ch. PWM - 2-ch. Master/Slave SPI - TWI(Two Wired Interface) - 75 or 69 Port I/O (muxed with other interfaces)- BOD(Brown Out Detector) - POR(Power On Reset) - PLL0(for system), PLL1(for LCD)

Package - 128ETQFP (14 x 14)

Page 8: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Family

P/N SDRAM Flash

adStar-D8M 8 MB -

adStar-D8MF512 8 MB 512KB

adStar-D16M 16 MB -

adStar-D16MF512 16 MB 512KB

Page 9: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Application

9

� LCD Display Applications� Smart Home Appliance

- Washing Machine, Refrigerator, Air Conditioner, Rice Cooker, etc.� POS System� Signature Pad� POP Monitor� Industrial Controller� Security Controller� Printing system� Etc.

Page 10: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar STK

• JTAG Debugger• Debugging UART CH0 • User UART CH3 ( RS-232 or TTL Level 선택 )• Digital Audio PWM 1Ch• PWM BUZZER• NAND FLASH MEMORY ( 1Gbit )• SDCARD Socket• TWI Serial Flash Memory ( 32Kbit )• Real-Time IC & Back-up Battery• ADC Input Channel 2ea• Extension ADC Input• 7” TFT-LCD ( 800 X 480 ) with Touch Panel• Extension TFT-LCD Connector• USB Host & Device• Wi-Fi Module ( adc-171 )• PCB through hole for component test

( 13X16, 7X3, 2.54mm )

Page 11: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar STK 구성

Page 12: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar-Trip Board (보급형)

� BootLoader Writing 되어 있음

� UART CH0 ( TTL Level ) for debugging� Reset switch� GPIO input ( switch 2ea )� GPIO output ( LED 2ea )� Extension connector ( 25x2, 2ea )� USB device connector� Board size ( 63.16mm x 67mm )

Page 13: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar Product Tool

EISC Handy갱라이터

Page 14: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3
Page 15: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar 개발환경

EISC Studio 3

E-CON

DownloadingDownloading

DebuggingDebugging

adStar Board

Page 16: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar 개발환경

eeeeditditditdit

compilecompilecompilecompile

downloaddownloaddownloaddownload

debuggingdebuggingdebuggingdebugging

EISC Studio 3EISC Studio 3EISC Studio 3EISC Studio 3

Page 17: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar 개발환경

eeeeditditditdit

compilecompilecompilecompile

downloaddownloaddownloaddownload

debuggingdebuggingdebuggingdebugging

EISC Studio 3EISC Studio 3EISC Studio 3EISC Studio 3

Page 18: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3
Page 19: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

adStaradStaradStaradStar SDKSDKSDKSDK Library Library Library Library

ExampleExampleExampleExample

driverdriverdriverdriver

documentdocumentdocumentdocument

Graphic Graphic Graphic Graphic

Sound Sound Sound Sound

Font Font Font Font

bootloaderbootloaderbootloaderbootloader

MP3Play MP3Play MP3Play MP3Play

… … … …

ImageViewImageViewImageViewImageView

… … … …

Page 20: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

BootloaderBootloaderBootloaderBootloader

1. Remote Communication Mode

2. Mass Storage Mode

3. Execute Mode

• adStar개발에필요한 3가지기능을제공하는 booting program.

Page 21: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

Graphic Graphic Graphic Graphic

• 기본 도형 draw 함수 제공.• 이미지 출력 함수 제공.

( BMP, JPG, PNG, TGA 이미지 파일 지원 )• 이미지 확대, 축소 및 부분 출력 함수 제공.• Single frame mode, Double frame mode 지원.

Page 22: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

GraphicGraphicGraphicGraphic

• drawrect , drawrectfill• drawround , drawroundfill• drawcircle , drawcirclefill• drawellipse, drawellipsefill

• drawline

• drawsetrgb

Page 23: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

GraphicGraphicGraphicGraphic

• loadjpg , loadjpgp• loadtga , loadtgap• loadpng , loadpngp• drawsurface, drawsurfaceRect

• loadbmp , loadbmpp

• drawsurfacescale• drawsurfacescalerect

Page 24: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

GraphicGraphicGraphicGraphic

• drawsurfaceRect

Start x : 130 Start y : 90

width : 65 height : 65

� drawsurfaceRect(surface, 0, 0, 130, 90, 65, 65)

Page 25: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

GraphicGraphicGraphicGraphic

• drawsurfacescale

Width : 128, height : 128

Scale up � drawsurfacescale(surface, 0, 0, 196, 196)

Scale down � drawsurfacescale(surface, 0, 0, 64, 64)

Page 26: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

SoundSoundSoundSound

• Wav 및 MP3 파일 지원.• Play, Stop, Pause, Resume 함수 제공.• Volume 조정 함수 제공.

Page 27: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

SoundSoundSoundSound

• sound_loadmp3 • sound_play, sound_stop• sound_pause , sound_resume• sound_vol

• sound_loadwav

Page 28: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

FontFontFontFont

• Font 출력 함수 제공.• Font 색설정가능.

• True type font (.ttf)를 변환하여 사용가능

Page 29: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

FontFontFontFont

• bmfont_setfont• bmfont_write• bmfont_setrgb• bmfont_makesurface

• bmfont_init

Page 30: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

etcetcetcetc

• SDK Reference Manual

http://www.adc.co.kr � Product � SoC � ADSTAR � Tools & Software

Page 31: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

adStar SDK

etcetcetcetc

• adStar STK Demo

http://www.adc.co.kr � Support � Technical Lib � Videos � adStar STK Demo

Page 32: E-Seminar 2012 2 22 · PDF file · 2012-02-22E-Seminar 2012 2 22 목차 ... -Serial Flash booting mode JTAG Interface ... Remote Communication Mode 2. Mass Storage Mode 3

THANKS

� Homepage : www.adc.co.kr� Café : café.naver.com/adchips