'embeded/AVR (ATmega,ATtiny)'에 해당되는 글 118건

  1. 2016.03.16 avr에 스피커 달기
  2. 2016.03.07 클론 avrisp avr studio 6 호환성(?)
  3. 2016.03.05 AVR ISP 부활의 조짐?!
  4. 2016.03.05 보유중인 avr 보드목록
  5. 2016.03.05 싸이피아 USBASP 손보기...?
  6. 2016.02.29 wiring
  7. 2015.11.11 Arduino Uno freeRTOS 강좌
  8. 2015.09.23 마우스 DIY 자료
  9. 2015.09.23 키보드 DIY 자료
  10. 2015.08.02 avr-gcc -mmcu 관련 작동 내용
embeded/AVR (ATmega,ATtiny)2016. 3. 16. 16:11


[링크 : http://blog.naver.com/rk756/100133481427] BASCOM으로 AVR 소리내기

[링크 : http://www.mcselec.com/] BASCOM - BASic COMpiler for AVR


[링크 : http://www.maicom.co.kr/xe/3000]


[링크 : http://www.ermicro.com/blog/?p=580] c버전/ 반짝반짝 작은별


http://extremeelectronics.co.in/avr-tutorials/sound-generation-by-avr-micro-tutorial-i/ 

http://tahmidmc.blogspot.kr/2013/02/sine-wave-generation-with-fast-pwm-mode_2525.html

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

avr pwm timer 계산기  (0) 2016.04.14
atmega sram external  (0) 2016.04.12
클론 avrisp avr studio 6 호환성(?)  (0) 2016.03.07
AVR ISP 부활의 조짐?!  (0) 2016.03.05
보유중인 avr 보드목록  (0) 2016.03.05
Posted by 구차니



Add target으로 STK500 추가

[링크 : http://blog.daum.net/ledpark/20]


xml 수정/추가 해서 atmega64 추가

[링크 : https://www.pololu.com/docs/0J36/3.b.1]


Timestamp: 2014-08-01 15:48:41.191

Severity: ERROR

ComponentId: 20100

StatusCode: 1

ModuleName: TCF (TCF command: Tool:connect failed.)


The signature of the attached tool is AVRISP_2, which is unexpected.

[링크 : http://www.us-technology.co.kr/bbs/bbs.asp?mode=3&page=1&curRef=1628...]


clone이라 그런건가... 안되네..

[링크 : http://www.us-technology.co.kr/bbs/bbs.asp?...no=1628...]

[링크 : http://www.avrfreaks.net/forum/avr-studio-6-does-not-recognize-my-programmer-stk500v2]


Studio 5 and 6 does not support all clones. Especially, serial devices except of the STK500 is not supported.

If you want to continue to use your clone you should consider using avrdude (http://www.nongnu.org/avrdude/) for uploading.

[링크 : http://www.avrfreaks.net/forum/signature-attached-tool-avrisp2]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

atmega sram external  (0) 2016.04.12
avr에 스피커 달기  (0) 2016.03.16
AVR ISP 부활의 조짐?!  (0) 2016.03.05
보유중인 avr 보드목록  (0) 2016.03.05
싸이피아 USBASP 손보기...?  (0) 2016.03.05
Posted by 구차니

헉! 혹시나 해서 다이오드 쇼트 시켜서 해보니 된다!!!

으헝헝 AVRISP 안사도 된다 ㅠㅠ


[링크 : http://www.us-technology.co.kr/product/doc/usbisp.pdf]


다이오드는 허용전류 1A이하의 것이면 상관없습니다.


EXT/USB는 전원을 어떤 것을 쓸지에 대한 선택이므로 AVR STUDIO와는 상관이 없습니다. 하시던대로 사용하시면 되겠습니다.


-------------- 답   글 --------------


-----------------------------------------------

박아론 님의 글 "paaron"

-----------------------------------------------

다이오드를 4148로 임의 교체하여 정상 동작은 확인하였습니다.

> 하지만 키트와의 연결이 안되는데

> 다이오드를 4148로 써야하는지 4004를 써야하는지 모르겠습니다.

> EXT모드를 쓸때는 AVR Studio4에서 어찌 연결하는지 알고싶습니다.

> -------------- 답   글 --------------

> -----------------------------------------------

> 운영자 님의 글 "답글입니다."

> -----------------------------------------------

> > 답글입니다.

> > 

> > 외부전원을 인가하고 스위치를 EXT로 설정해서 시도를 해 보시면 좋겠습니다.

> > 

> > 그렇게 해서 정상 동작을 하면, ISP에 있는 다이오드가 타 버린 것인데, 이런 상황은 스위치를 USB로 놓고 추가 구성한 회로에서 전류를 많이 가져가서 타버린 상황입니다.

> > 

> > 전류를 많이 소모를 하는 경우 (모터 구동 등)에는 반드시 외부전원을 사용하셔야 합니다.


[링크 : http://www.us-technology.co.kr/bbs/bbs.asp?mode=3&page=&no=1660...3] 



1N4148  (제품번호 : EPX33G6G)

Fast Switching Diode 

DO-35 GLASS  10mA 75V

[링크 : https://www.eleparts.co.kr/EPX33G6G]


1N4004-T  (제품번호 : EPX46BP8)

RECTIFIER 400V 1A DO-41

[링크 : https://www.eleparts.co.kr/EPX46BP8]



+

2016.03.07

1N4148 인거 같네


[링크 : http://pepsiman.tistory.com/70]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

avr에 스피커 달기  (0) 2016.03.16
클론 avrisp avr studio 6 호환성(?)  (0) 2016.03.07
보유중인 avr 보드목록  (0) 2016.03.05
싸이피아 USBASP 손보기...?  (0) 2016.03.05
wiring  (0) 2016.02.29
Posted by 구차니

UST-MPB-Atmega128 v1.0 "2개"

74HC573을 이용한 어드레스 래치를 제공함으로서 주변 장치를 늘려 사용하기에 편리하도록 제작됨

[링크 : http://www.us-technology.co.kr/product/product_main.asp?mode=101&smode=2]


UST-MPB-Atmega128 v3.0

32KByte 외부램 장착을 통한 메모리 확장

74HC573을 이용한 어드레스 래치를 제공함으로서 주변 장치를 늘려 사용하기에 편리하도록 제작됨

[링크 : http://www.us-technology.co.kr/product/product_main.asp?mode=101&smode=9]


GS-08A (Atmega8)

[링크 : http://www.gersangin.com/shop/goods/goods_view.php?&goodsno=1092&category=025]


MEGA128_XBee

[링크 : http://www.cpuplaza.co.kr/goods_detail.php?goodsIdx=446]



'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

클론 avrisp avr studio 6 호환성(?)  (0) 2016.03.07
AVR ISP 부활의 조짐?!  (0) 2016.03.05
싸이피아 USBASP 손보기...?  (0) 2016.03.05
wiring  (0) 2016.02.29
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
Posted by 구차니

usbasp는 avr studio 4.x 대에서 인식이 안되는데

2008년 펌웨어가 avr studio4 에서 지원을 한다지만 좀 불안하다고 한다.

그냥 버전을 올려서 avrdude를 쓰는것도 방법이지만.. 아무래도 귀찮으니

[링크 : http://www.avrfreaks.net/forum/usbasp-avr-studio-new] 


AVR910은 문서명이네..

[링크 : http://www.atmel.com/images/doc0943.pdf]


아무튼 PC6와 PB2 가 연결되어 있어야 셀프 프로그래밍이 가능하다는데


[링크 : http://www.fischl.de/usbasp/]


핀위치 확인하고

[링크 : http://www.atmel.com/images/atmel-2486-8-bit-avr-microcontroller-atmega8_l_datasheet.pdf]


제품을 보니 다행히도 비아로 뚫어 놓고 후면에 UP이라고 똭!




걍.. 업데이트 해보고 마음편하게 avrdude로 구으면서 해야하나.. ㅠㅠ

It is AVR910 Programmer. used with AVRProg in AVRstudio4. From i test, It does not stably, some time had problem with driver.


No. There is no mechanism for usbasp to work with Studio4. I know nothing about Studio5.

Usbasp is normally 'driven' by avrdude.exe which is a regular commandline program.

For a programmer to 'work' with Studio4 'Connect Programmer', it must appear as if it is a genuine Atmel programmer. e.g. give the correct ID and respond to the protocol.

I can only guess that a 'special_usbasp' would impersonate a AVRISP-2, parse the AVRISP-2 commands and then send the real usbasp commands. Then return any AVRISP-2 type errors. This whole procedure is fraught with problems. You might just as well buy an AVRISP-2 in the first place.

OTOH, if you use an 'external' Makefile with a Studio project, you can do anything you want.

David.

[링크 : http://www.avrfreaks.net/forum/usbasp-avr-studio-new] 


'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

AVR ISP 부활의 조짐?!  (0) 2016.03.05
보유중인 avr 보드목록  (0) 2016.03.05
wiring  (0) 2016.02.29
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
마우스 DIY 자료  (0) 2015.09.23
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2016. 2. 29. 14:27

wiring은 AVR용


[링크 : http://wiring.org.co/]

[링크 : http://wiring.org.co/reference/]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

보유중인 avr 보드목록  (0) 2016.03.05
싸이피아 USBASP 손보기...?  (0) 2016.03.05
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
마우스 DIY 자료  (0) 2015.09.23
키보드 DIY 자료  (0) 2015.09.23
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2015. 11. 11. 13:32

freeRTOS를 써볼일이 생길것 같아서 조사중..


[링크 : http://webnautes.tistory.com/595]

[링크 : http://webnautes.tistory.com/category/임베디드/freeRTOS%28arduino%29]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

싸이피아 USBASP 손보기...?  (0) 2016.03.05
wiring  (0) 2016.02.29
마우스 DIY 자료  (0) 2015.09.23
키보드 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2015. 9. 23. 11:36


AT90USB


[링크 : http://www.atmel.com/Images/doc7604.pdf]

[링크 : http://nexp.tistory.com/1119]



Virtual USB 라이브러리?


V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.



[링크 : https://www.obdev.at/products/vusb/index.html]

    [링크 : http://magicom9.tistory.com/52]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

wiring  (0) 2016.02.29
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
키보드 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2015. 9. 23. 11:33

ATmega 칩을 이용해서 USB라던가 여러가지 인터페이스로 키보드를 DIY하는 프로젝트

ATmega 공부겸.. USB 공부겸 나중에 소스나 봐야겠다..


[링크 : https://github.com/tmk/tmk_keyboard]

[링크 : http://cubiq.org/build-your-very-own-pc-keyboard]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

Arduino Uno freeRTOS 강좌  (0) 2015.11.11
마우스 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
USART UBRR error rate  (0) 2015.07.29
Posted by 구차니

avt studio 4만 다뤄봐서.. 5 부터는 어떻게 되는진 모르겠지만

윈도우에서는  -D를 통해서 cpu 종류와 클럭을 넣어주었는데

리눅스에서는 컴파일러의 도움을 받아 mcu 종류를 넣어주면 알아서 확장해서 사용한다.

그래서 win-avr과 같은 종류별로 헤더를 찾는 수고로움이 더는 장점은 있지만

빌드 과정에서 설정하게 되어 있어서 모르면 더 복잡할지도..


-mmcu=architecture

Note that when only using -mmcu=architecture but no -mmcu=MCU type, including the file <avr/io.h> cannot work since it cannot decide which device's definitions to select.


Architecture Macros

avr5

AVR_ARCH=5

AVR_MEGA [5]

AVR_ENHANCED [5]

AVR_HAVE_JMP_CALL [4]

AVR_HAVE_MOVW [1]

AVR_HAVE_LPMX [1]

AVR_HAVE_MUL [1]

AVR_2_BYTE_PC [2]

avr51

AVR_ARCH=51

AVR_MEGA [5]

AVR_ENHANCED [5]

AVR_HAVE_JMP_CALL [4]

AVR_HAVE_MOVW [1]

AVR_HAVE_LPMX [1]

AVR_HAVE_MUL [1]

AVR_HAVE_RAMPZ [4]

AVR_HAVE_ELPM [4]

AVR_HAVE_ELPMX [4]

AVR_2_BYTE_PC [2]


-mmcu=MCU type

The following MCU types are currently understood by avr-gcc. The table matches them against the corresponding avr-gcc architecture name, and shows the preprocessor symbol declared by the -mmcu option. 


Architecture MCU name    Macro

avr5/avr51 [3] atmega128   __AVR_ATmega128__

[링크 : http://www.nongnu.org/avr-libc/user-manual/using_tools.html]





#define AVR 1

#define __AVR 1

#define __AVR_ARCH__ 5

#define __AVR_ATmega128__ 1

#define __AVR_ENHANCED__ 1

#define __AVR_MEGA__ 1

#define __AVR__ 1

#define __CHAR_BIT__ 8

#define __DBL_DENORM_MIN__ 1.40129846e-45

#define __DBL_DIG__ 6

#define __DBL_EPSILON__ 1.19209290e-7

#define __DBL_HAS_INFINITY__ 1

#define __DBL_HAS_QUIET_NAN__ 1

#define __DBL_MANT_DIG__ 24

#define __DBL_MAX_10_EXP__ 38

#define __DBL_MAX_EXP__ 128

#define __DBL_MAX__ 3.40282347e+38

#define __DBL_MIN_10_EXP__ (-37)

#define __DBL_MIN_EXP__ (-125)

#define __DBL_MIN__ 1.17549435e-38

#define __DECIMAL_DIG__ 9

#define __FINITE_MATH_ONLY__ 0

#define __FLT_DENORM_MIN__ 1.40129846e-45F

#define __FLT_DIG__ 6

#define __FLT_EPSILON__ 1.19209290e-7F

#define __FLT_EVAL_METHOD__ 0

#define __FLT_HAS_INFINITY__ 1

#define __FLT_HAS_QUIET_NAN__ 1

#define __FLT_MANT_DIG__ 24

#define __FLT_MAX_10_EXP__ 38

#define __FLT_MAX_EXP__ 128

#define __FLT_MAX__ 3.40282347e+38F

#define __FLT_MIN_10_EXP__ (-37)

#define __FLT_MIN_EXP__ (-125)

#define __FLT_MIN__ 1.17549435e-38F

#define __FLT_RADIX__ 2

#define __GNUC_MINOR__ 1

#define __GNUC_PATCHLEVEL__ 0

#define __GNUC__ 4

#define __GXX_ABI_VERSION 1002

#define __INTMAX_MAX__ 9223372036854775807LL

#define __INTMAX_TYPE__ long long int

#define __INT_MAX__ 32767

#define __LDBL_DENORM_MIN__ 1.40129846e-45L

#define __LDBL_DIG__ 6

#define __LDBL_EPSILON__ 1.19209290e-7L

#define __LDBL_HAS_INFINITY__ 1

#define __LDBL_HAS_QUIET_NAN__ 1

#define __LDBL_MANT_DIG__ 24

#define __LDBL_MAX_10_EXP__ 38

#define __LDBL_MAX_EXP__ 128

#define __LDBL_MAX__ 3.40282347e+38L

#define __LDBL_MIN_10_EXP__ (-37)

#define __LDBL_MIN_EXP__ (-125)

#define __LDBL_MIN__ 1.17549435e-38L

#define __LONG_LONG_MAX__ 9223372036854775807LL

#define __LONG_MAX__ 2147483647L

#define __NO_INLINE__ 1

#define __PTRDIFF_TYPE__ int

#define __REGISTER_PREFIX__ 

#define __SCHAR_MAX__ 127

#define __SHRT_MAX__ 32767

#define __SIZE_TYPE__ unsigned int

#define __STDC_HOSTED__ 1

#define __STDC__ 1

#define __UINTMAX_TYPE__ long long unsigned int

#define __USER_LABEL_PREFIX__ 

#define __USING_SJLJ_EXCEPTIONS__ 1

#define __VERSION__ "4.1.0"

#define __WCHAR_MAX__ 32767

#define __WCHAR_TYPE__ int

#define __WINT_TYPE__ unsigned int 

[링크 : http://www.avrfreaks.net/forum/how-does-mmcumcutarget-work]


'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

마우스 DIY 자료  (0) 2015.09.23
키보드 DIY 자료  (0) 2015.09.23
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
USART UBRR error rate  (0) 2015.07.29
avr-libc 8bit AVR C++  (0) 2015.07.28
Posted by 구차니