압축파일을 풀어 두개의 프로그램을 아래 directroy에 복사한다.
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin(or C:\Program Files\Microsoft Visual Studio\VC98\Bin)

1. project생성
2. Win32 console application
3. An empty project
4. Source files추가 또는 생성

armcc(arm compilier) call 방법(Workspace의 source files폴더 setting)
General tap:
always use custom build

Custom build tap
Description:
ARM compiling $(InputPath)

Commands:
swizzle1 "$(ARMROOT)\ADSv1_2\bin\armcc" -c -g -o0 $(InputPath) -o $(IntDir)\$(InputName).o

Oupputs:
$(IntDir)\$(InputName).o

armasm(arm assembler) call 방법(Workspace의 asm(asm source가 있는)폴더 setting)
General tap:
always use custom build

Custom build tap
Description:
ARM assembling $(InputPath)
Commands:

swizzle1 "$(ARMROOT)\ADSv1_2\bin\armasm" -g $(InputPath) -o $(IntDir)\$(InputName).o
uniqadd $(IntDir)\$(InputName).o $(IntDir)\Link.via

Oupputs:
$(IntDir)\$(InputName).o

armlink(arm linker) call 방법(Worksapce의 root폴더 setting)
Post-build tap
Post-build description:
 ARM linker and making

Post-build commands:
swizzle1 "$(ARMROOT)\ADSv1_2\bin\armlink" -info totals -via $(IntDir)\link.via -o $(TargetName).axf

fromelf(arm maker) call 방법(Workspace의 root폴더 setting)
Post-build tap

Post-build commands:
swizzle1 "$(ARMROOT)\ADSv1_2\bin\fromelf" –m32 –output $(TargetName).m32 $(TargetName).axf

armar(library생성) call 방법(Workspace의 root폴더 setting)
Post-build tap

Post-build commands:
swizzle1 "$(ARMROOT)\RVCT\Programs\version#\release#\win_32-pentium\armar" -create $(TargetName).a -via $(IntDir)\link.via

위와 같이 해도 되지않을 경우가 있습니다. 바로 retarget.c파일 때문입니다. ADS내부의 함수를 사용하지 않는다면 바로 되겠지만 printf와같은 함수를 사용하게되면 retarget.o를 함께 링크시켜 주어야 합니다.

swizzle1 "C:\Program Files\ARM\ADSv1_2\Bin\armlink" -info totals -entry entry -ro-base 0x000000 -rw-base 0x200000 -first Cstartup.o(reset) retarget.o -via $(IntDir)\link.via -o $(TargetName).axf

'Embedded' 카테고리의 다른 글

Raspberry PI Under-voltage detect & 번개표시 제거방법  (0) 2019.07.23
Raspberry PI WIFI Drop  (0) 2019.07.23
AND

모든 핀을 사용하려면 4층이상이 필요하다. 특히 2440같은경우 환벽학 GRID를 형성하고 있어 핀을 뽑아내기가 어렵다 아래의 그림과같이 비아를 좌우로 나누어 길을 만들면 라우팅할 수 있다.

AND

회로도를 디자인할때 단축키를 사용하면 보다빠르게 디자인할수 있습니다.

 A  Attribute
 B  Bus, Connection작업중 진행방향변경
 C  Color/Font
 D  Redraw
 F  화면의 전체 Zoom all
 G  부품복사 및 추가
 I  화면상의 일정범위 확대
 L  Library창
 M  Move상태에서 선택된 항목 반전
 O  화면상의 일정범위 축소
 R  Move상태에서 선택된 항목 회전
 W  Line Type두께 변경
 4  45도 회전
 9  90도 회전
 F1  도움말
 F5  Refresh
 BACK SPACE  선택된 대상에 대한 명령 취소
 Ctr + H  Sub Circuit
 Ctr + J  Junction
 Ctr + L  Label
 Ctr + M  Module Port
 Ctr + N  Connector
 Ctr + O  File Open
 Ctr + P  Power
 Ctr + S  Save
 Ctr + W  Single Wire
 Ctr + Enter  Attribute Text List
 Ctr + F4  실행된 창닫기
 Ctr + F5  Design Check
 Shift + Ctr + Enter  Command Line Window
 Shift + Enter  Selection Filter
 Alt + X  전체 작업 창닫기
 Ctr + Z  UnDo
 Shift + Ctr + Z  ReDo
 F1  도움말
 ESC  선택된 대상에 대한 명령취소



AND