SAM Development environment

Installation

์•„๋ž˜ ๋ชฉ์ฐจ์— ์žˆ๋Š” ๋‚ด์šฉ์„ ์„ค์น˜ํ•˜์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ฐ ํ”„๋กœ๊ทธ๋žจ์˜ ์„ค์น˜ ๊ฒฝ๋กœ๋ฅผ ์ง์ ‘ ํ™•์ธํ•˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค. ์„ค์น˜ํ•˜๋Š” ์‹œ์ ์— ๋”ฐ๋ผ ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

BOSSAC.exe External Tools

  • Arduino due Programming Port
    • Command: <path to>\bossac.exe
    • Arguments: -i -d --usb-port=0 -e -w -v -b $(TargetDir)$(TargetName).bin -R --port=COMx
    • Initial directory: $(TargetDir)
    • Use Output window, Prompt for arguments
  • Arduino due Native USB Port
    • Command: <path to>\bossac.exe
    • Arguments: -i -d -e -w -v -b $(TargetDir)$(TargetName).bin -R --port=COMx
    • Initial directory: $(TargetDir)
    • Use Output window, Prompt for arguments
  • Arduino due erase
    • Command: <path to>\bossac.exe
    • Arguments: -a --port=COMx
    • Use Output window, Prompt for arguments

No device found on COMx๋กœ ์ธํ•ด ์—…๋กœ๋“œ๊ฐ€ ์•ˆ๋˜๋Š” ๊ฒฝ์šฐ COM ๋ฒˆํ˜ธ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ๋ฒˆํ˜ธ๋ฅผ ํ™•์ธํ–ˆ๋Š”๋ฐ ๋ฌธ์ œ๊ฐ€ ์žˆ๊ณ  Arduino Due ๋ณด๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ Arduino due erase๋ฅผ ์‹คํ–‰ํ•˜๊ฑฐ๋‚˜ ๋ฌผ๋ฆฌ์ ์œผ๋กœ ERASE ๋ฒ„ํŠผ์„ ์•ฝ 1์ดˆ ๋ˆ„๋ฅด๊ณ  RESET ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅธ ํ›„ ๋‹ค์‹œ ์‹œ๋„ํ•ฉ๋‹ˆ๋‹ค.

Atmel Software Framework(ASF) Project

Atmel Studio 7์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

File -> New -> Project -> GCC C ASF Board Project๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Board selection์—์„œ ์‚ฌ์šฉํ•  ๋ณด๋“œ๋ฅผ ๊ฒ€์ƒ‰ํ•ด์„œ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

ASF -> ASF Wizard ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ASF Wizard์—์„œ ํ•„์š”ํ•œ ๊ธฐ๋Šฅ์„ Add >>๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ์ถ”๊ฐ€ํ•œ ํ›„, Apply ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ASF์— ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.

Last updated on