ÀÌ ¸Å´º¾óÀº 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" ¸¦ ¼±Åà ÇÕ´Ï´Ù. - Tool chain ¿¡¼ "ARM" À» ¼±ÅÃÇÏ°í Project templates´Â "Empty project" ¸¦ ¼±Åà ÇÕ´Ï´Ù. - À§ÀÇ È¸é¿¡¼ "OK" ´©¸£¸é »õ·Î »ý¼ºµÈ ÇÁ·ÎÁ§Æ®¸¦ ÀúÀåÇØ¾ß ÇÕ´Ï´Ù. - ºó ÇÁ·ÎÁ§Æ®°¡ »ý¼ºµÈ ȸé ÀÔ´Ï´Ù. - CMSIS, USB-FS-Device_Driver, STM32F10x_StdPeriph_Driver, User ¼øÀ¸·Î ±×·ìÀ» »ý¼º ÇÕ´Ï´Ù. - CMSIS ±×·ì »ý¼º ȸé - ¸ðµç ±×·ì »ý¼ºÀÌ ¿Ï·á µÇ¾úÀ¸¸é ±×·ì³»¿¡ ".c" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù. - ¿ì¼± User ±×·ì¿¡´Â "src" Æú´õÀÇ ¸ðµç ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù. 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" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù. ÇÏÁö¸¸ ¿ì¸®°¡ »ç¿ëÇÏ´Â Dragon °³¹ßº¸µå´Â High Density CPU ¸ðµâÀ» »ç¿ëÇϹǷΠ"startup_stm32f10x_cl.s, startup_stm32f10x_md.s" ´Â ÄÄÆÄÀÏ Ç׸ñ¿¡¼ Á¦¿Ü ÇÕ´Ï´Ù. "Exclude from build" ¸¦ ¼±ÅÃÇϸé ÄÄÆÄÀÏ¿¡¼ Á¦¿Ü°¡ µË´Ï´Ù. ³ª¸ÓÁö 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" ÆÄÀϵéÀ» Ãß°¡ ÇÕ´Ï´Ù. ¾Æ·¡´Â ¸ðµé ÆÄÀϵéÀÌ Ãß°¡µÈ ȸé ÀÔ´Ï´Ù. - ÄÄÆÄÀÏ ¿É¼ÇÀ» ÁöÁ¤ ÇÕ´Ï´Ù. - Device ¿¡´Â ±¸¸ÅÇϽŠ°³¹ßº¸µå¿¡ µû¶ó¼ "ST STM32F10xxC" or "ST STM32F103xxE" ¸¦ ¼±Åà ÇÕ´Ï´Ù. - ÀÎÅ©·çµå Àüü µð·¹Å丮 ÁöÁ¤ $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Àº ±âº»ÀûÀ¸·Î ".out" À̶ó´Â Æ÷¸ËÀ¸·Î¸¸ °á°ú¹°À» »ý¼ºÇØ ÁÝ´Ï´Ù. Ãß°¡·Î bin ÆÄÀϵµ ¸¸µé°í ½ÍÀ¸¸é ¾Æ·¡¿Í °°ÀÌ "Generate additional output" ¿É¼ÇÀ» »ç¿ëÇÏ¸é µË´Ï´Ù. Ãß°¡·Î "bin" ÆÄÀϵµ »ý¼ºµÈ ȸé ÀÔ´Ï´Ù. (1) H-JTAG À» ÀÌ¿ëÇÑ ¹æ¹ý(»õâ) Keil MDK, IAR Workbench ¿¡¼ H-JTAGÀ» ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý Keil MDK, IAR Workbench ¿¡¼ ARM-JTAGÀ» ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý Keil MDK, IAR Workbench ¿¡¼ ST-Link¸¦ ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý |
|||