embeded/raspberry pi2016. 3. 10. 10:42

마침 회사 근처에서 3만원(직거래)에 라즈베리 2b 파는 분이 있으셔서 후다닥 연락

근데

ㅋㅋ

ㅋㅋㅋ


아놔 집에 핸드폰 두고옴 ㅠㅠㅠㅠ




아무튼 우여 곡절 끝에 질렀으나..

SD 메모리 주신게 8GB 싼디스크.. 드럽게 느리네..


혹시나 해서 내 16GB 싼디스크로 했더니 속도 잘나와.. -_-


아무튼 케이스 없이 본체만 딸랑 ㅠㅠ

판매자 : 담배곽에 구멍 뚫어서 쓰시면되요 허허허

구차니 : 담배를 안피는데 담배곽 좀 굽신굽신



근데 라즈베리 3b가 나오는 시점에 웬 2b냐 하겠지만

난 돈이 없으니까!! ㅠㅠ

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 IR 수신부 업그레이드!  (0) 2016.03.11
raspbian jessie 의 raspi-config  (0) 2016.03.10
라즈베리 3B?  (0) 2016.03.06
레트로 파이(retropie)  (0) 2016.01.05
openELEC 6.0.0 릴리즈  (0) 2016.01.03
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 구차니
embeded/raspberry pi2016. 3. 6. 23:01

머 지를게 있나(다이오드) 둘러보다가 ㄷㄷㄷ

3B 라니! ㄷㄷ


64bit quad core cortex-A53 @ 1.2Ghz


클럭도 깡패고 ㄷㄷㄷ 장난 아닌데

가격도 장난이 아니네 ㅠㅠ


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


A 1.2GHz 64-bit quad-core ARMv8 CPU

802.11n Wireless LAN

Bluetooth 4.1

Bluetooth Low Energy (BLE)

[링크 : https://www.raspberrypi.org/products/raspberry-pi-3-model-b/]



RASPBERRY PI 3 ON SALE NOW AT $35

[링크 : https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale/]




+

100도!! ㄷㄷㄷ

[링크 : http://news.naver.com/main/read.nhn?...aid=0002092541]

    [링크 : http://m.clien.net/cs3/board?bo_table=news&bo_style=view&wr_id=2131270...]

'embeded > raspberry pi' 카테고리의 다른 글

raspbian jessie 의 raspi-config  (0) 2016.03.10
지름신 강림! - 라즈베리 2b(본체만)  (0) 2016.03.10
레트로 파이(retropie)  (0) 2016.01.05
openELEC 6.0.0 릴리즈  (0) 2016.01.03
라즈베리 2b lirc + openELEC 설정  (0) 2015.12.12
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/Cortex-M3 Ti2016. 2. 18. 14:57

master 인터럽트를 disable 하면 어떻게 작동할까?

우연히 그 타이밍에 발생할 인터럽트가 있었다면.. pending 될까? 아니면 그냥 잊혀지는걸까?



SW-DRL-UG-6288.pdf


13.2.2.3 IntMasterDisable

Disables the processor interrupt.

Prototype:

tBoolean

IntMasterDisable(void)

Description:

Prevents the processor from receiving interrupts. This does not affect the set of interrupts

enabled in the interrupt controller; it just gates the single interrupt from the controller to the

processor.

Note:

Previously, this function had no return value. As such, it was possible to include interrupt.h

and call this function without having included hw_types.h. Now that the return is a

tBoolean, a compiler error will occur in this case. The solution is to include hw_types.h

before including interrupt.h.

Returns:

Returns true if interrupts were already disabled when the function was called or false if they

were initially enabled.


13.2.2.4 IntMasterEnable

Enables the processor interrupt.

Prototype:

tBoolean

IntMasterEnable(void)

Description:

Allows the processor to respond to interrupts. This does not affect the set of interrupts enabled

in the interrupt controller; it just gates the single interrupt from the controller to the processor.

Note:

Previously, this function had no return value. As such, it was possible to include interrupt.h

and call this function without having included hw_types.h. Now that the return is a

tBoolean, a compiler error will occur in this case. The solution is to include hw_types.h

before including interrupt.h.

Returns:

Returns true if interrupts were disabled when the function was called or false if they were

initially enabled.


13.2.2.5 IntPendClear

Unpends an interrupt.

Prototype:

void

IntPendClear(unsigned long ulInterrupt)

Parameters:

ulInterrupt specifies the interrupt to be unpended.

Description:

The specified interrupt is unpended in the interrupt controller. This will cause any previously

generated interrupts that have not been handled yet (due to higher priority interrupts or the

interrupt no having been enabled yet) to be discarded.

Returns:

None.


13.2.2.6 IntPendSet

Pends an interrupt.

Prototype:

void

IntPendSet(unsigned long ulInterrupt)

Parameters:

ulInterrupt specifies the interrupt to be pended.

Description:

The specified interrupt is pended in the interrupt controller. This will cause the interrupt con

troller to execute the corresponding interrupt handler at the next available time, based on the

current interrupt state priorities. For example, if called by a higher priority interrupt handler,

the specified interrupt handler will not be called until after the current interrupt handler has

completed execution. The interrupt must have been enabled for it to be called.

Returns:

None.



interrupt.c


tBoolean

IntMasterEnable(void)

{

    //

    // Enable processor interrupts.

    //

    return(CPUcpsie());

}


tBoolean

IntMasterDisable(void)

{

    //

    // Disable processor interrupts.

    //

    return(CPUcpsid());

}


void

IntEnable(unsigned long ulInterrupt)

{

    //

    // Check the arguments.

    //

    ASSERT(ulInterrupt < NUM_INTERRUPTS);


    //

    // Determine the interrupt to enable.

    //

    if(ulInterrupt == FAULT_MPU)

    {

        //

        // Enable the MemManage interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) |= NVIC_SYS_HND_CTRL_MEM;

    }

    else if(ulInterrupt == FAULT_BUS)

    {

        //

        // Enable the bus fault interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) |= NVIC_SYS_HND_CTRL_BUS;

    }

    else if(ulInterrupt == FAULT_USAGE)

    {

        //

        // Enable the usage fault interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) |= NVIC_SYS_HND_CTRL_USAGE;

    }

    else if(ulInterrupt == FAULT_SYSTICK)

    {

        //

        // Enable the System Tick interrupt.

        //

        HWREG(NVIC_ST_CTRL) |= NVIC_ST_CTRL_INTEN;

    }

    else if((ulInterrupt >= 16) && (ulInterrupt <= 47))

    {

        //

        // Enable the general interrupt.

        //

        HWREG(NVIC_EN0) = 1 << (ulInterrupt - 16);

    }

    else if(ulInterrupt >= 48)

    {

        //

        // Enable the general interrupt.

        //

        HWREG(NVIC_EN1) = 1 << (ulInterrupt - 48);

    }

}


void

IntDisable(unsigned long ulInterrupt)

{

    //

    // Check the arguments.

    //

    ASSERT(ulInterrupt < NUM_INTERRUPTS);


    //

    // Determine the interrupt to disable.

    //

    if(ulInterrupt == FAULT_MPU)

    {

        //

        // Disable the MemManage interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) &= ~(NVIC_SYS_HND_CTRL_MEM);

    }

    else if(ulInterrupt == FAULT_BUS)

    {

        //

        // Disable the bus fault interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) &= ~(NVIC_SYS_HND_CTRL_BUS);

    }

    else if(ulInterrupt == FAULT_USAGE)

    {

        //

        // Disable the usage fault interrupt.

        //

        HWREG(NVIC_SYS_HND_CTRL) &= ~(NVIC_SYS_HND_CTRL_USAGE);

    }

    else if(ulInterrupt == FAULT_SYSTICK)

    {

        //

        // Disable the System Tick interrupt.

        //

        HWREG(NVIC_ST_CTRL) &= ~(NVIC_ST_CTRL_INTEN);

    }

    else if((ulInterrupt >= 16) && (ulInterrupt <= 47))

    {

        //

        // Disable the general interrupt.

        //

        HWREG(NVIC_DIS0) = 1 << (ulInterrupt - 16);

    }

    else if(ulInterrupt >= 48)

    {

        //

        // Disable the general interrupt.

        //

        HWREG(NVIC_DIS1) = 1 << (ulInterrupt - 48);

    }

}


cpsid / cpsie 어셈블리 인스트럭션을 통해서 마스터 인터럽트를 제어한다.



SetEnable() 시에는 EN0를


SetDisable() 시에는 DIS0를 사용한다.


용도를 찾지 못한.. 이 펜딩.. 머지?



[링크 : http://www.ti.com/lit/ds/spms037g/spms037g.pdf]



음.. disabled interrupt를 펜딩으로 상태를 설정한다?

즉, enable/disable/pending 세가지 상태 중 하나만 가능한건가?


Writing 1 to the ISPR bit corresponding to:

an interrupt that is pending has no effect

a disabled interrupt sets the state of that interrupt to pending.

[링크 :http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Cihjjifh.html]

'embeded > Cortex-M3 Ti' 카테고리의 다른 글

ekc-lm3s811 를 ICDI로 사용하기  (0) 2016.08.27
cortex-m3 hibernate module...  (0) 2016.04.14
uart tx interrupt  (0) 2015.12.18
coflash 구조 및 에러 메시지..  (0) 2015.12.11
ADCHardwareOversampleConfigure()  (0) 2015.11.17
Posted by 구차니
embeded/raspberry pi2016. 1. 5. 09:43

에뮬레이터 배포판(?)


[링크 : http://blog.petrockblock.com/retropie/]

[링크 : http://blog.petrockblock.com/retropie/retropie-downloads/]

'embeded > raspberry pi' 카테고리의 다른 글

지름신 강림! - 라즈베리 2b(본체만)  (0) 2016.03.10
라즈베리 3B?  (0) 2016.03.06
openELEC 6.0.0 릴리즈  (0) 2016.01.03
라즈베리 2b lirc + openELEC 설정  (0) 2015.12.12
라즈베리 파이 zero...???  (0) 2015.11.27
Posted by 구차니
embeded/raspberry pi2016. 1. 3. 20:28

그래서.. TED 라던가..

각종 플러그 인들이 요 근래부터 설치가 안된걸려나?


Published: Sunday, 01 November 2015 23:21


The OpenELEC team is proud to announce OpenELEC 6.0 (6.0.0)


The most visible change is Kodi 15.2 (Isengard). Beginning with Kodi 15.0 most audio encoder, audio decoder, PVR and visualisation addons are no longer pre-bundled into OpenELEC but can be downloaded from the Kodi addon repo if required. PVR backends such as VDR and TVHeadend will install needed dependencies automatically. For further information on Kodi 15.1 please read http://kodi.tv/kodi-15-2-isengard-final-release/.


[링크 : http://openelec.tv/news/22-releases/172-release-openelec-6-0-released]



언어 추가 설치 부터 되는게 없네 -_-

수동으로 zip 파일 받아서 addon 설치 하듯 해야 한다 -_-

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 3B?  (0) 2016.03.06
레트로 파이(retropie)  (0) 2016.01.05
라즈베리 2b lirc + openELEC 설정  (0) 2015.12.12
라즈베리 파이 zero...???  (0) 2015.11.27
라즈베리 파이 Zero @ 5$ ?!?!?  (2) 2015.11.26
Posted by 구차니