ÀÌ ¸Å´º¾óÀº JKÀüÀÚ(JK Electronics) ¿¡ ÀÇÇؼ­ ¹ø¿ª, ¼öÁ¤, ÀÛ¼º µÇ¾ú°í ¼ÒÀ¯±Ç ¶ÇÇÑ
JKÀüÀÚ(JK Electronics)
ÀÇ °ÍÀÔ´Ï´Ù. ¼ÒÀ¯±ÇÀÚÀÇ Çã°¡¸¦ ¹ÞÁö ¾Ê°í ¹«´ÜÀ¸·Î ¼öÁ¤, »èÁ¦Çϰųª ¹èÆ÷ ÇÒ ¼ö ¾ø½À´Ï´Ù.



 

STM32F10x IAR Workbench ÇÁ·Î±×·¡¹Ö °¡À̵å


 
* Update history

- 2012.9.20 : Ãʱâ Release


 
1. ÇÁ·Î±×·¥ °³¹ßÀ» À§ÇÑ Iar Embedded Workbench(EWARM) .x ÄÄÆÄÀÏ·¯ ¼³Á¤ ¹æ¹ý°ú ÄÄÆÄÀÏ



 

1. ÇÁ·Î±×·¥ °³¹ßÀ» À§ÇÑ EWARM 6.x ÄÄÆÄÀÏ·¯ ¼³Á¤ ¹æ¹ý°ú ÄÄÆÄÀÏ

IAR ÄÄÆÄÀÏ·¯¿¡¼­ »õ·Î ÇÁ·ÎÁ§Æ®¸¦ ¸¸µé¾î¼­ »ç¿ëÇÏ´Â °æ¿ìÀÇ ¿¹Á¦ ÀÔ´Ï´Ù.

- IARÀ» ½ÇÇàÇÏ°í "Create New Project" ¸¦ ¼±Åà ÇÕ´Ï´Ù.

IAR

- Tool chain ¿¡¼­ "ARM" À» ¼±ÅÃÇÏ°í Project templates´Â "Empty project" ¸¦ ¼±Åà ÇÕ´Ï´Ù.

IAR

- À§ÀÇ È­¸é¿¡¼­ "OK" ´©¸£¸é »õ·Î »ý¼ºµÈ ÇÁ·ÎÁ§Æ®¸¦ ÀúÀåÇØ¾ß ÇÕ´Ï´Ù.

IAR

- ºó ÇÁ·ÎÁ§Æ®°¡ »ý¼ºµÈ È­¸é ÀÔ´Ï´Ù.

IAR

- CMSIS, USB-FS-Device_Driver, STM32F10x_StdPeriph_Driver, User ¼øÀ¸·Î ±×·ìÀ» »ý¼º ÇÕ´Ï´Ù.

IAR

- CMSIS ±×·ì »ý¼º È­¸é

IAR

- ¸ðµç ±×·ì »ý¼ºÀÌ ¿Ï·á µÇ¾úÀ¸¸é ±×·ì³»¿¡ ".c" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù.

IAR

- ¿ì¼± User ±×·ì¿¡´Â "src" Æú´õÀÇ ¸ðµç ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù.

IAR

CMSIS ±×·ì¿¡ "lib/STM32_USB-FS-Device_Lib_V3.4.0/Libraries/CMSIS/Device/ST/STM32F10x/Source/Templates/system_stm32f10x.c" ÆÄÀÏ°ú
"lib/STM32_USB-FS-Device_Lib_V3.4.0/Libraries/CMSIS/Device/ST/STM32F10x/Source/Templates/iar/startup_stm32f10x_hd.s, startup_stm32f10x_cl.s, startup_stm32f10x_md.s" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù.

IAR

ÇÏÁö¸¸ ¿ì¸®°¡ »ç¿ëÇÏ´Â Dragon °³¹ßº¸µå´Â High Density CPU ¸ðµâÀ» »ç¿ëÇϹǷΠ"startup_stm32f10x_cl.s, startup_stm32f10x_md.s" ´Â ÄÄÆÄÀÏ Ç׸ñ¿¡¼­ Á¦¿Ü ÇÕ´Ï´Ù.

IAR

"Exclude from build" ¸¦ ¼±ÅÃÇϸé ÄÄÆÄÀÏ¿¡¼­ Á¦¿Ü°¡ µË´Ï´Ù.

IAR

³ª¸ÓÁö USB-FS-Device_Driver ±×·ì¿¡´Â "lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\STM32_USB-FS-Device_Driver\src" Æú´õ³»ÀÇ "*.c" ÆÄÀϵéÀ» Ãß°¡ÇÏ°í
STM32F10x_StdPeriph_Driver ±×·ì¿¡´Â "lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\STM32F10x_StdPeriph_Driver\src" Æú´õ³»ÀÇ "*.c" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù.

¾Æ·¡´Â ¸ðµé ÆÄÀϵéÀÌ Ãß°¡µÈ È­¸é ÀÔ´Ï´Ù.

IAR

- ÄÄÆÄÀÏ ¿É¼ÇÀ» ÁöÁ¤ ÇÕ´Ï´Ù.
- Device ¿¡´Â ±¸¸ÅÇϽŠ°³¹ßº¸µå¿¡ µû¶ó¼­ "ST STM32F10xxC" or "ST STM32F103xxE" ¸¦ ¼±Åà ÇÕ´Ï´Ù.

IAR

- ÀÎÅ©·çµå Àüü µð·¹Å丮 ÁöÁ¤
$PROJ_DIR$\..\..\..\lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\CMSIS\Device\ST\STM32F10x\Include
$PROJ_DIR$\..\..\..\lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\CMSIS\Include
$PROJ_DIR$\..\..\..\lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\STM32_USB-FS-Device_Driver\inc
$PROJ_DIR$\..\..\..\lib\STM32_USB-FS-Device_Lib_V3.4.0\Libraries\STM32F10x_StdPeriph_Driver\inc
$PROJ_DIR$\..\..\..\src

- Predefine ÁöÁ¤
USE_STDPERIPH_DRIVER
STM32F10X_HD

IAR

ÀÌÁ¦ ¸ðµç ¼³Á¤ÀÌ ¿Ï·á µÇ¾ú°í ÄÄÆÄÀÏÀ» ÇÕ´Ï´Ù.

IAR

IARÀº ±âº»ÀûÀ¸·Î ".out" À̶ó´Â Æ÷¸ËÀ¸·Î¸¸ °á°ú¹°À» »ý¼ºÇØ ÁÝ´Ï´Ù. Ãß°¡·Î bin ÆÄÀϵµ ¸¸µé°í ½ÍÀ¸¸é ¾Æ·¡¿Í °°ÀÌ "Generate additional output" ¿É¼ÇÀ» »ç¿ëÇÏ¸é µË´Ï´Ù.

IAR

IAR

Ãß°¡·Î "bin" ÆÄÀϵµ »ý¼ºµÈ È­¸é ÀÔ´Ï´Ù.

IAR

(1) H-JTAG À» ÀÌ¿ëÇÑ ¹æ¹ý(»õâ)

Keil MDK, IAR Workbench ¿¡¼­ H-JTAGÀ» ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý

(2) ARM-JTAG À» ÀÌ¿ëÇÑ ¹æ¹ý(IAR Workbench), KEIL MDK

Keil MDK, IAR Workbench ¿¡¼­ ARM-JTAGÀ» ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý

(3) ST-Link ¸¦ ÀÌ¿ëÇÑ ¹æ¹ý(»õâ)

Keil MDK, IAR Workbench ¿¡¼­ ST-Link¸¦ ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý

(4) RLink ¸¦ ÀÌ¿ëÇÑ ¹æ¹ý (»õâ)
RIDE7 ¿¡¼­ RLink¸¦ ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý

(5) J-Link EDU ¸¦ ÀÌ¿ëÇÑ ¹æ¹ý
IAR Workbench ¿¡¼­ J-Link EDU ¸¦ ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý(»õâ)