로그인회원등록 내글장바구니주문조회현재접속자
 상품 검색








 게시판 검색





 
 
회원등록 비번분실


온라인 입금계좌
ㆍ기업은행
ㆍ219-043192-01-028
ㆍ이건영

      거래은행 바로가기
 
 SX, MPU Applications
SX, MPU 자료실
작성자 avrtools™        
작성일 2008/12/03
첨부#1 SX_KeyEditor3_1sm.exe (3,814KB) (Down:6)
첨부#2 RFIDDemo.zip (3KB) (Down:0)
Link#1 sxb.asp (Down:3)
ㆍ추천: 0  ㆍ조회: 1451   
  SXB 무료 Basic 컴파일러 SX18/20/28
 
 
데모 버전의 SXBasic이지만 SX18,SX20, 28 칩은 Free로 컴파일됩니다.
Program in BASIC and Run 50 Million Instructions per Second!

- Parallax's SX/B is a free BASIC language compiler
for the SX microcontroller (SX20, SX28, and SX48).

■ Sample SXbasic : 소스파일 RFID-Demo.SXB와 컴파일된 RFIDDemo.SRC는 첨부파일 #2에 있습니다.
 
SXBasic 컴파일러의 편집 창
 
 
컴일된 SRC 파일이 저장되는 곳: 
Program FileParallax IncSX-Key v3.1CompilersSXBOutput Files
 
 
 
물론 SXKey 동글이 있으면 COM 포트에 연결하여 SX28 칩에 바로 구울 수 있습니다.
굽기창은 칩 선택, Clock 선택, Reset 전압 선택, Option 선택이나 Hex 코드를 볼 수 있습니다.
 
 
The compiler speeds the programming of the SX microcontrollers by providing a simple,
yet robust high-level language familiar to Parallax customers.
The compiler is a tool for education, hobby or engineering and is designed to help the transition
from high-level programming (i.e., BASIC Stamp®) to low-level programming (SX assembly language).

Programming the SX chip requires an SX Tech Tool Kit and some understanding of the SX architecture. Specifically, knowledge of oscillator speeds, page switching, and managing an interrupt service routine will be necessary to get the most performance from an SX chip. This is a non-optimizing, inline compiler - each BASIC language statement is converted to a block of assembly code in-line at the program location. Additionally, the user needs to give consideration to SX/B's limitations (byte by byte serial, no floating point, etc.). The advanced programmer can modify code or use in-line assembly as required while students can effectively learn SX assembly language techniques.

SX/B is fully integrated into the Parallax SX-Key software, complete with a detailed on-line Help file and many examples. Experienced BASIC Stamp programmers will quickly understand the compiler's usefulness.

■ SX/B command listing
Definitions
- I/O pins are defined as variables (as a group, or single pin)
- Constants can be declared in four ways (decimal, hex, binary, ASCII)
- Variables may be bytes, arrays of bytes, and bits
- Program labels end with a colon but must not be reserved words
- Comments are noted with apostrophes

SX/B Directives
- SX device (18 or 28), frequency, and SX fuse settings are identified in the top of SX/B programs
- Watch/break command specifiy variables to monitor during debug
- Load directive inserts SX/B source code files at current location
- Includes supports in-line assembly language
- Address directive for setting starting location of instructions

Operators
- Negate (two's complement), NOT, addition, subtraction, multiplication, division, modulus,
min, max, OR, AND, XOR, SHL (shift left), SHR (shift right) are supported

SX/B Aliases for Registers and Variables
- All SX registers have SX/B alias control
(i.e., real-time clock counter, pull-up resistors, use of comparator, wake up enable, etc.)

SX/B Command Listing
• ASM ASM Instruction(s) ... ENDASM
• BRANCH BRANCH Offset, Label0 {, Label1, Label2, ...}
• DATA DATA Const0 {, Const1, Const2, ...}
• DEC DEC ByteVar
• END END
• FOR ... NEXT FOR ByteVar = StartVal TO EndVal {STEP {-}StepVal} ... NEXT
• GET GET Location, ByteVar {, ByteVar, ...}
• GOSUB GOSUB Label ... RETURN
• GOTO GOTO Label
• HIGH HIGH Pin
• IF ... THEN IF Condition [THEN | GOTO] Label
• INC INC ByteVar
• INPUT INPUT Pin
• INTERRUPT INTERRUPT Instruction(s) ... RETURNINT {Cycles}
• LET {LET} Expression
• LOOKDOWN LOOKDOWN Target, Value0, {Value1, Value2, ...} ByteVar
• LOOKUP LOOKUP Index, Value0, {Value1, Value2, ...} ByteVar
• LOW LOW Pin
• OUTPUT OUTPUT Pin
• PAUSE † PAUSE Value1 {[, | *] Value2}
• PAUSEUS † PAUSEUS Value1 {[, | *] Value2}
• PULSIN † PULSIN Pin, State, ByteVar {, Resolution}
• PULSOUT † PULSOUT Pin, Duration {, Resolution}
• PUT PUT Location, Value {, Value, ...}
• PWM † PWM Pin, Duty, Duration
• RANDOM RANDOM ByteVar1 {, ByteVar2}
• RCTIME † RCTIME Pin, StartState, ByteVar {, Resolution}
• READ READ Label {+ Offset}, ByteVar {, ByteVar, ...}
• RESETWDT RESETWDT
• REVERSE REVERSE Pin
• SERIN † SERIN Pin, BaudMode, ByteVar {, Timeout, Label}
• SEROUT † SEROUT Pin, BaudMode, Value
• SHIFTIN SHIFTIN DPin, CPin, ShiftMode, ByteVar {Count}
• SHIFTOUT SHIFTOUT DPin, CPin, ShiftMode, Value {Count}
• SLEEP SLEEP
• SOUND † SOUND Pin, Note, Duration
• TOGGLE TOGGLE Pin

† Note: While all SX/B commands will run at any FREQ setting, commands that are time-sensitive (particularly PAUSEUS) have been designed for FREQ settings between 4 MHz and 50 MHz. FREQ settings outside this range (e.g. low-power applications running at 32 kHz) are not recommended when using time-sensitive instructions.

Quick downloads:
■ SX-Key 3.1 IDE, SX/B Compiler, Help File downloads (7.3MB)
http://www.parallax.com/dl/sw/sx/SetupSXKeyEditor-v3.1r2.exe

■ SX-Key 3.1 IDE, SX/B Compiler, Help File downloads (3.8MB)
- same as above but requires internet connection during installation
should Windows need to update your installer program
http://www.parallax.com/dl/sw/sx/SX-KeyEditor3_1sm.exe

■ Download SX-Key Manual
http://www.parallax.com/dl/docs/prod/sx/SXKeyMan2_0.pdf

■ Download Exploring the SX Microcontroller with Assembly and BASIC Programming
http://www.parallax.com/dl/docs/books/ExploringTheSx.pdf

■ Purchase the SX Tech Tool Kit Plus http://www.parallax.com/detail.asp?product_id=45181

■ Visit Parallax SX/B Support Forums : http://forums.parallax.com/

이 프로그램은 무료 소프트웨어로, 신체와 재산 상의 어떤 위험과 손해를 보상하지 않습니다.
이 프로그램은 GNU 무료 소프트웨어 배포규정을 따릅니다.
Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA

 AVRTOOLS™
   
아래글 SX28 IR-Remote Signal Analyzer
    N         제목    글쓴이 작성일 조회 추천
48 SXB 무료 Basic 컴파일러 SX18/20/28 avrtools™ 2008/12/03 (수) 1451 0
47 SX28 IR-Remote Signal Analyzer avrtools™ 2016/01/22 (금) 322 0
46 삼성 안드로이드폰 GT-i5700 무선 오실로스코프 avrtools™ 2011/09/10 (토) 2724 10
45 SX28 Clock Timer 소스 avrtools™ 2008/12/03 (수) 1723 0
44 SX28 Scanning a 4x4 Keypad 소스 avrtools™ 2008/12/03 (수) 1854 0
43 SX28 Thermometer 소스 avrtools™ 2008/12/03 (수) 1547 0
42 SX28 Serial LCD 소스 avrtools™ 2008/12/03 (수) 1538 0
41 SX28 Digital Dice 소스 avrtools™ 2008/12/03 (수) 1387 0
40 IDE51-C 8051 C컴파일러 (사용제한 없음) avrtools™ 2008/12/03 (수) 2198 0
39 uc51 검파일러 8K 무료버전 avrtools™ 2008/12/03 (수) 1593 0
38 SXC Demo avrtools™ 2008/12/02 (화) 1293 0
37 SxSim (UBICOM의 SASM 어셈블러를 지원) avrtools™ 2008/12/02 (화) 1476 0
36 SXkey52.exe SX48, SX52 전용 소프트 avrtools™ 2008/12/02 (화) 1347 0
35 SX 칩 프로그래머/인서킷 에뮬레이터 SXKey v3.0 avrtools™ 2008/12/02 (화) 1326 0
34 Serial port keyboard stuffer avrtools™ 2008/11/09 (일) 2028 0
33 IBM AT Keyboard의 Hexa 값 leeky 2007/11/12 (월) 2038 0
32 PC 소프트웨어 오실로스코프 avrtools™ 2008/10/07 (화) 2423 0
31 저항 읽는 방법과 저항 소프트웨어 avrtools™ 2008/09/26 (금) 2267 0
30 BMP to LCD avrtools™ 2008/09/22 (월) 1988 0
29 SX18/20/28용 무료 베이직 SXB V3.1 leeky 2006/03/03 (금) 3274 22
28 절연 RS232C 회로 avrtools™ 2008/08/29 (금) 2490 0
27 문자표시 LCD 모듈의 사용방법 leeky 2006/04/06 (목) 4254 0
26 Bin2Hex.exe leeky 2007/11/12 (월) 2539 0
25 LPT Port Tester leeky 2007/11/12 (월) 2446 0
24 PC 프린터 포트의 사용법 leeky 2007/11/12 (월) 2646 0
23 병렬포트(LPT1) 시험 소프트웨어 leeky 2007/11/12 (월) 2368 0
22 SX 칩 4비트 LCD 소스 leeky 2006/02/20 (월) 2746 30
21 SxSim (UBICOM의 SASM 어셈블러를 지원) leeky 2006/02/13 (월) 2194 27
20 SXkey52.exe leeky 2006/02/13 (월) 1978 28
19 SX 프로그래머/에뮬레이터 SXKey v3.0 leeky 2006/02/13 (월) 2147 24
18 SXC Demo Version leeky 2006/03/16 (목) 2057 27
17 SX52 웹서버 + 겜보이 카메라 leeky 2006/03/16 (목) 2286 5
16 CMUcam2 (Cam + 5 Servo) leeky 2006/03/16 (목) 2645 3
15 CMUcam Vision Sensor KIT with SX28 leeky 2006/03/16 (목) 3032 4
14 SX52 이더넷 평가기판의 소스 (iSX 소프트) leeky 2006/03/16 (목) 2883 1
13 SX52-이더넷 평가기판 (하드웨어) leeky 2006/03/16 (목) 2306 1
12 SX52 MMC(메모리카드) WAV화일 녹음과 재생 leeky 2006/03/16 (목) 2859 5
11 SX28 USB 분석장치 (SX-Atpapch) leeky 2006/03/16 (목) 2644 5
10 SX color TV 게임기 leeky 2006/03/16 (목) 2845 4
9 SX28 Serial to TV leeky 2006/03/16 (목) 2371 3
8 SX18 영상(NTSC) 동기검출 leeky 2006/03/16 (목) 2112 2
7 SX28 디지털 스코프 leeky 2006/03/16 (목) 2491 3
6 SX28 500KHz DDS 신호발생기 leeky 2006/03/16 (목) 2576 0
5 SX Morse Code Keyer avrtools 2006/03/16 (목) 1865 2
4 SX28 Video OSD Module leeky 2006/03/16 (목) 2767 0
3 1.2MHz/2.4GHz Exciter leeky 2006/02/25 (토) 2157 0
2 16F84 G3RUH 9600BPS Modem leeky 2006/02/25 (토) 2244 2
1 16F84 Morse Decoder leeky 2006/02/25 (토) 3071 1
1

바구니 : 0
 보관함 : 0
오늘뷰 : 0
HOME   |   회사소개   |   제휴안내   |   회사위치   |   서비스이용 약관   |   개인정보 보호정책   |   사이트맵
17015 경기도 용인시 기흥구 동백중앙로16번길 16-25, 508호. 전화 : 031-282-3310
사업자 등록번호 : 697-47-00075 / 대표 : 이건영 / 업태 : 제조업 / 종목 : LED조명, LED전원, 제어장치.
개인정보 관리책임자 : 홈페이지 관리자 . Copyright ⓒ2016 아크레즈 (ACLEDS INC.)
HOME TOP PREVNEXT 0 0 0