Presentation is loading. Please wait.

Presentation is loading. Please wait.

RTLAB Kang. Moo jin 2008.01.03 Using Open Source Tools for AT91SAM7X Cross Development.

Similar presentations


Presentation on theme: "RTLAB Kang. Moo jin 2008.01.03 Using Open Source Tools for AT91SAM7X Cross Development."— Presentation transcript:

1 RTLAB Kang. Moo jin 2008.01.03 Using Open Source Tools for AT91SAM7X Cross Development

2 Contents Introduction 1 Cross Development System 2 Download & Install 3 Set Up Eclipse 4 2 Practice Project 5

3 Introduction  Reason Of Using open source development tool 고가의 상용 개발 툴 Open source 개발 툴의 유연성 3

4 Cross Development System  The eclipse IDE 4 The Eclipse IDE does everything for us: editing, compiling, linking, downloading and debugging!

5 Cross Development System  Compiler 5  Linker

6 Cross Development System  Create binary file 6

7 Cross Development System  JTAG interface Converting the USB serial signal to the JTAG clock/data format 7

8 Cross Development System  JTAG interface Boundary Scan 의 원리 8

9 Cross Development System  Target board Atmel AT91SAM7X256 8 analog inputs 8 high current digital outputs 4 standard servo controllers 8 position DIP switch USB and Ethernet interfaces CAN interface JTAG port 9

10 Cross Development System 10 Target board  architecture

11 Download & Install  Check for java support 시작 – 실행 – cmd – c:\>java –version Java Version 1.6.0_01 이상이 아닌 경우 update http://www.sun.com/ Java(TM) SE Runtime Environment 6 Update 3 설치 11

12 Download & Install  Downloading YAGARTO Site http://www.yagarto.de/ 필요한 파일 YAGARTO Tools YAGARTO GNU ARM toolchain Integrated Development Environment 12

13 Download & Install 13

14 Download & Install  Downloading the Segger J-Link GDB Server Site http://www.segger.com/download_jlink.html 14

15 Download & Install  Downloading the Atmel SAM-BA Boot Assistant Site http://www.atmel.com/dyn/products/product_card.asp?part_id=3524 15

16 Download & Install  Install all tools 설치 순서 1. YAGARTO Tool Chain 2. Eclipse IDE 3. YAGARTO Tools 4. The Segger J-Link GDB Server 5. The Atmel SAM-BA Flash Programming Utility 16

17 Download & Install  Downloading firmware for target board Site http://www.makingthings.com/ 17

18 Set Up Eclipse  Set Up J-Link GDB Server as an Eclipse External Tool (j-link) Click on : “Run – External Tools – External Tools…” 18

19 Set Up Eclipse  Set Up J-Link GDB Server as an Eclipse External Tool (j-link) 19

20 Set Up Eclipse  Set Up J-Link GDB Server as an Eclipse External Tool (j-link) Click on : Run – External Tools – Organize Favorites SAM-BA Utility 도 같은 방법으로 설정함. 20

21 Practice Project  Create an Eclipse Project Click on : File – New – C Project Project name : test1 location Firmware directory 로 설정 Project 에서 Ctestee, ctester, doc, solo, tiny 폴더 삭제 21

22 Practice Project  MakeFile not generation Click on : Project – Properties – c/c++ build 22 Makefile 이 저장 된 곳을 지정함.

23 Practice Project  Create New Make Target Click on : add make Target 23

24 Practice Project  Build Click on : Project – build all or make target -all 24

25 Practice Project  Generation binary file 25 생성 확인

26 Practice Project  Using SAM-ICE and SAM-BA to Program the FLASH memory Click on : Run – External Tools – SAM_BA 26 1..bin 파일 위치 지정 2. Send File 3.Booting 할 영역 지정

27 Practice Project  Make Controller board 확인 27 깜빡임 확인

28 RTLAB Thank you!!


Download ppt "RTLAB Kang. Moo jin 2008.01.03 Using Open Source Tools for AT91SAM7X Cross Development."

Similar presentations


Ads by Google