Example: bachelor of science

Eclipse+OpenJTAG +OpenOCD でARM シリ ーズ開 …

1 Eclipse+OpenJTAG +OpenOCD ARM 2011/09/28 copyright@2011 ( ) OpenJTAG ARM 2 NO 1 2009/07/31 2 2010/07/17 3 P58 P63 2010/07/20 4 ARM EABI arm-none-eabi-gcc Zylin Embedded CDT 2010/11/22 5 Linux 2011/09/28 3 .. 5 ARM .. 6 .. 7 .. 8 OpenJTAG .. 8 .. 11 .. 12 openocd .. 16 yagarto .. 20 yagarto-tools .. 24 Cygwin.

近年,ARM プロセッサが急速に広まっています.さらに、ARM9,ARM11,ARM-M,Cortex といった新たなアーキテクチャが

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Eclipse+OpenJTAG +OpenOCD でARM シリ ーズ開 …

1 1 Eclipse+OpenJTAG +OpenOCD ARM 2011/09/28 copyright@2011 ( ) OpenJTAG ARM 2 NO 1 2009/07/31 2 2010/07/17 3 P58 P63 2010/07/20 4 ARM EABI arm-none-eabi-gcc Zylin Embedded CDT 2010/11/22 5 Linux 2011/09/28 3 .. 5 ARM .. 6 .. 7 .. 8 OpenJTAG .. 8 .. 11 .. 12 openocd .. 16 yagarto .. 20 yagarto-tools .. 24 Cygwin.

2 27 jre .. 30 Eclipse .. 30 .. 31 OpenOCD .. 31 .. 32 Eclipse .. 36 Eclipse .. 36 Eclipse (Zylin Embedded CDT) .. 38 .. 39 OpenOCD .. 40 Cygwin .. 44 Eclipse .. 47 ARM .. 48 ARM7 LPC2148 .. 48 LPC2148 URL .. 48 .. 48 LPC2148 LED .. 49 ARM7 LPC2388 .. 70 LPC2388 URL .. 70 .. 70 LPC2388 LED .. 72 ARM Cotex-M3 STM32F103 .. 86 STM32F103 URL .. 86 .. 86 LED .. 87 ARM9 MINI2440 .. 102 MINI2440 .. 102 .. 102 LED .. 103 u-boot .. 129 Linux OpenJTAG .. 136 .. 136 4 Linux OpenJTAG.

3 136 OpenOCD GDB Eclipse .. 137 OpenJTAG .. 140 5 ARM ARM9 ARM11 ARM-M Cortex ARM ARM9 ARM11 GNU / GNU 2 IDE Eclipse Java C/C++ IDE Open-On-Chip Debugger(OpenOCD) Open-On-Chip Debugger(OpenOCD) OpenOCD GDB Open JTAG JTAG OpenJTAG Eclipse OpenOCD ARM ARM GDB ARM7(ARM7 TDMI ARM720t)

4 ARM9 (ARM920t ARM922t ARM926ej-s ARM966e-s) XScale(PXA25x IXP42x) Cortex-M3(LM3 ST STM32) 6 ARM IDE Integrated Development Environment Eclipse Cross Complier tools chain OpenOCD Open On-Chip Debugger ARM JTAG 7 Windows URL OK D:\tmp ++ xe OpenJTAG (jtag ) Open-JTAG URL URL usb-driver(OpenJTAG USB ) D:\tmp\open-jtag-driver * (D:\OpenJTAG\ gcc_openjtag_eclipse_arm_example) 1.

5 Config OpenOCD 2. lpc2148 LPC2148 3. lpc2388 LPC2388 4. stm32 stm32FX103 5. mini2440 mini2440 8 OpenJTAG OpenJTAG USB 9 USB 10 OpenJTAG USB 11 (EABI ) (jtag ) ++ (gcc) ( ) (Java) (Eclipse) JRE 06 JRE 05 eclipse OK D:\tmp\openJTAGIDE D:\embeded 12 13 14 15 Next 16 openocd 17 18 Install Finish OpenOCD 19 20 yagarto 21 22 23

6 Install 24 yagarto-tools 25 26 Install 27 Cygwin 1 a) DL OK ( Cygwin ) b) Default Text File Type Unix ( UNIX ( LF) ) Cygwin Install For All Users 28 c) Category All Install 29 2 a) Cygwin /usr/username Windows HOME Cygwin HOME Cygwin SJIS.

7 Bash_profile .bashrc .inputrc .vimrc ( "ls -a" ) TeraPad LF b)SJIS i).bash_profile export TERM=vt100 export LANG= export LESSCHARSET=japanese-sjis ii).bashrc alias ls='ls --show-control-chars --color=auto' alias ct='cygterm &' function ie { echo /cygdrive/c/Program\ Files/Internet\ Explorer/IEXPLORE "$(cygpath -w $PWD)\\$1" /cygdrive/c/Program\ Files/Internet\ Explorer/IEXPLORE "$(cygpath -w $PWD)\\$1" & } ie XML XMLtable ) ie # InternetExplore iii).inputrc set convert-meta off set input-meta on set output-meta on iv).vimrc set encoding=japan set fileencodings=sjis 30 jre JRE JRE D:\Embeded\JRE Eclipse D.

8 \Embeded 31 cmd OpenOCD openocd v 32 1 GCC make make --version 33 2 ARM EABI arm-none-eabi-gcc arm-none-eabi-gcc --version 34 3 ARM arm-elf -gcc arm-elf -gcc --version 35 java -version 36 Eclipse Eclipse Workspace "D:\embeded\eclipse\workspace" 37 Workbench : D:\OpenJTAG\gcc_openjtag_eclipse_arm_exa mple D:\embeded\eclipse\workspace 38 Eclipse (Zylin Embedded CDT) Zylin Embedded CDT Zylin Eclipse Zylin Embedded CDT Zylin Embedded CDT URL Eclispe plugins Eclipse 39 Eclipse "Window" "Preferences" Preferences "C/C++ Build" "Settings" "Binary Parsers" "GNU Elf Parser" OK 40 OpenOCD Eclipse "Run" "External Tools.

9 " "External Tools " 41 External Tools Configrurations "Program" "New" 42 Main "Name" OpenOCD" "Location:" "D:\embeded\openocd\bin \ " "Working Directory:" " D:\embeded\eclipse\workspace " "Arguments:" -f "D:\embeded\elipse\worksapce\config\inte rface\ " -f "D:\embeded\elipse\worksapce\config\targ et\ " lpc2148,lpc2388,mini2440 Arguments 43 Build "Build before launch" "Apply" "Close" 44 Cygwin GDB Can't find a source file at "/cygdrive/c/project/ " Cygwin eclipse eclipse [ ] [ ] [C/C++] [Debug] [Common Source Lookup path] 45 Path Mapping OK Add Compilation path /cygdrive/c/ Local file system path c.

10 / 46 Add OK 47 Eclipse Eclipse F8 F5 F6 F7 Ctrl + F11 F11 48 ARM ARM Eclipse ARM ARM7 LPC2148 LPC2388 Contex-M3 STM32F103 ARM9(MINI2440) ARM7 LPC2148 LPC2148 URL URL LPC2148 Open-JTAG LPC2148 URL OpenJTAG USB JTAG OpenJTAG LPC2148 LPC2148 openocd -f "D:\embeded\eclipse\workspace\config\int erface\ " -f "D.


Related search queries