Shop OBEX P1 Docs P2 Docs Learn Events
SX-Key v3.2.3 Problem — Parallax Forums

SX-Key v3.2.3 Problem

dmaruskadmaruska Posts: 13
edited 2008-11-11 14:09 in General Discussion
Hi.· I'm very new to the SX community.· I have just purchased the SX Tech Tool kit from Parallax.· I have down loaded the SX-Key IDE software from Parallax and installed it.· I started to work on Gunthers Tut001 program.· I have written it as shown in the book, but when I compile it, the List Q=37 shows unknown command, as does Reset, Mov, Loop, clrb, setb, jmp, and last is No "program" command used?· I have the USB version of the programmer, but the sx-key software lists NO usb port.· What have I done incorrectly?

Comments

  • ZootZoot Posts: 2,227
    edited 2008-11-11 13:36
    Can you post the actual code (complete program) you tried to compile?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • dmaruskadmaruska Posts: 13
    edited 2008-11-11 13:40
    I have just installed the V3.2.92H version of the SX IDE.· I was able to select Com 3 and choose a sample program and program it.· But my program in Günter’s Tut001 still does not compile.· Has the errors I listed previously.
  • ZootZoot Posts: 2,227
    edited 2008-11-11 13:48
    Post the code that wouldn't compile.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • BeanBean Posts: 8,129
    edited 2008-11-11 13:57
    It sounds like it is trying to compile an assembly program as an SX/B program.

    Make sure you are starting with "FILE->New (Assembly)" before you type in the program.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    "The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
    www.iElectronicDesigns.com

    ·
  • dmaruskadmaruska Posts: 13
    edited 2008-11-11 14:03
    Here it is.

    ' ============================================================================
    ' Programming the SX Microcontroller
    ' Tut001.src
    ' DAVID MARUSKA 11/07/08
    ' ============================================================================
    LIST Q = 37
    DEVICE·SX28L, TURBO, STACKX, OSCHS2
    IRC_CAL·IRC_FAST
    FREQ·50_000_000
    RESET·0
    ·mov·!rb,·#%11111110
    Loop
    ·clrb·rb.0
    ·setb·rb.0
    ·jmp·Loop
  • dmaruskadmaruska Posts: 13
    edited 2008-11-11 14:06
    Bean was correct. I was in the wrong sx ide area. It is a Assembly program. Many thanks to all who helped out...
  • BeanBean Posts: 8,129
    edited 2008-11-11 14:09
    You're welcome.

    And welcome to the forums...

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    "The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
    www.iElectronicDesigns.com

    ·
Sign In or Register to comment.