[TI]/LuminaryMicro (13) 썸네일형 리스트형 Luminray Micro GPIO 관련자료 Luminray Micro GPIO 관련자료 Luminary Micro GPIO 특징 아주 특별한것은 없지만 5V호환 가능다는것, 드라이버 전류가 8mA로 적다는것 정도. Programmable control for GPIO interrupts: - Interrupt generation masking - Edge-triggered on rising, falling, or both - Level-sensitive on High or Low values 5-V-tolerant input/outputs Bit masking in both read and write operations through address lines Programmable control for GPIO pad configuration: .. Luminary Micro 클럭설정 관련 자료 Luminary Micro 클럭설정 관련 자료 ex) Lib함수 이용 클럭 설정 // Set the clocking to run directly from the crystal. SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ); RCGC2 (Run Mode Clock Gating Control Register 2 , offset 0x108) ex) GPIO 클럭 설정 SYSCTL_RCGC2_R = SYSCTL_RCGC2_GPIOF; //***************************************************************************** // The following.. Luminary Micro LM3S 개발환경 설정 - IAR 무료 버젼 컴파일러를 이용한 테스트 Luminary Micro LM3S 개발환경 설정 - IAR 무료 버젼 컴파일러를 이용한 테스트 Luminary Micro의 Cortex-M3 코어 (LM3S8962, LM3S311, LM3S301, LM3S801, LM3S2965 ...)의 개발환경 설정에 관련해 정리해 보았다. 프로젝트 전체 예제소스 먼저 Lumnary Micro(http://www.luminarymicro.com/)에서 관련 최신 예제파일 및 Lib파일을 다운 받는다. 대부분 파일 하나에 포함되어 있다. 등록하고 다운받아 설치한다. 각종 예제 및 프로젝트파일 Lib파일... 전체를 포함하고 있다. 여기서 diverlib, inc폴더의 파일을 이용해 다양한 테스트를 해 볼 수 있다. 컴파일러는 IAR사의 EW-ARM을 이용 하였고 h.. Luminary Micro 개발환경 설정 - 플래시프로그램 및 디버거 드라이버 설치 Luminary Micro 개발환경 설정 - 플래시프로그램 및 디버거 드라이버 설치 Luminary Micro Cortex-M3() 는 FTDI사에서 제공하는 USB2FIFO칩을 이용하여 간단한 USB JTAG 플래시프로그래밍 및 디버깅이 가능하다. 회로도도 공개하고 드라이버 및 툴도 무료로 제공하고 있다. 드라이버 및 소프트웨어는 아래 링크에서 최신버젼을 다운가능하다. http://www.luminarymicro.com/products/software.html 드라이버 다운로드 드라이버는 FTDI드라이버를 이용한것 같고 두개의 디바이스(USB JTAG, 가상 시리얼 포트)로 설치된다. 플래시 프로그래밍 툴 다운로드 다운로드 할 bin파일을 선택하고 Program하면 쉽게 다운로드 가능하다. IAR툴을 .. sflash.exe 테스트 sflash.exe 테스트 D:\>sflash -h Usage: sflash filename -p [program address] -r [execution address] -c [COM port number] -d -l [Boot Loader filename] -b [baud rate] -p [program address]: if address is not specified it is assumed to be 0x00000000 if there is no 0x prefix is added then the address is assumed to be in decimal -r [execution address]: if address is not specified then no run command will .. 이전 1 2 다음