Shop OBEX P1 Docs P2 Docs Learn Events
Strange behavior of SASM in debug. — Parallax Forums

Strange behavior of SASM in debug.

FredoFredo Posts: 10
edited 2005-09-01 01:47 in General Discussion
Gentlepeople,

I am attempting to stuff 6 tons of code into a 5 ton capacity SX28. I have done something which allows error free assemply and downloading however attempts to use debug are unsuccussful. At the conclusion of the debug load the windows all open as expected but the control window displays "running" and the only buttons of substance which are active are QUIT and RESET (reset accomplishes nothing).

Attempts to pare down the code (substantially) has no effect.

This is SASM in SXKey 3.10 in XP. Older code (not in SASM) works.

Has anyone experienced this behavior? HELP!!

Fred Ornellas

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-31 18:34
    Fredo,

    ·· Don't know if you know this or not, but I will mention it just in case.· The Debugger requires the code to contain a RESET directive, WATCHDOG turned off, 2 free words in the first page of code and 136 free words near the end of the last page of code.· This information is in the SX-Key Manual.· There is a bit more to it, but that's the lowdown.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • BeanBean Posts: 8,129
    edited 2005-08-31 18:34
    Do you have a resistor and/or resonator on OSC1 and OSC2 ?
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    Product web site: www.sxvm.com

    "One experiment is worth a thousand theories"
    ·
  • PJMontyPJMonty Posts: 983
    edited 2005-08-31 18:34
    Fred,

    Have you set a "break" in the code itself? Do a search for the word break, and it you find it on a line by itself, comment it out.
      Thanks, PeterM
  • KenMKenM Posts: 657
    edited 2005-08-31 19:14
    and.....if memory serves me correctly, the min freq must be 4 Mhz.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken
  • BeanBean Posts: 8,129
    edited 2005-09-01 01:25
    Ken,
    The min freq is about 300KHz.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    Product web site: www.sxvm.com

    "One experiment is worth a thousand theories"
    ·
  • KenMKenM Posts: 657
    edited 2005-09-01 01:47
    Thanks Bean,

    I knew 32KHz did not work.....when that occured I switched to 4 MHz·in one step.

    Thanks for the info.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken
Sign In or Register to comment.