Shop OBEX P1 Docs P2 Docs Learn Events
3 volt in-circuit programming problem — Parallax Forums

3 volt in-circuit programming problem

wasswass Posts: 151
edited 2009-11-17 16:16 in General Discussion
I've been following this forum for some time and learning a lot from all of you!

I have a problem with in-circuit programming using the SX-KEY (USB powered) in a 3 volt circuit. Programming always works, but unless I unplug the SX-KEY from the circuit the program never runs. Alternatively, I can go into the DEVICE settings, turn off Crystal Drive and program again and it all works fine with the SX_KEY still connected to the circuit.

I'm sure that I'm just not understanding some basic function of the IDE. I don't want to use the debug functions and for most of my circuits I typically use the following settings in SX/B:

DEVICE SX28, OSC1MHz, TURBO, STACKX, OPTIONX
FREQ 1_000_000

(Yes, I'm using a SX28 chip and I want to use the internal oscillator at 1MhZ.)

I'm running version 3.3.0 of the IDE and 2.00.30 of SX/B. I don't recall having this problem some time ago with earlier versions of both the IDE and SX/B. Did something change?

Thanks,
Katie

Comments

  • BeanBean Posts: 8,129
    edited 2009-11-17 12:24
    Katie,
    Are you doing PROGRAM or RUN.
    I think you must use PROGRAM if you are using the internal clock.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Does that byte of memory hold "A", 65, $41 or %01000001 ?
    Yes it does...


    ·
  • wasswass Posts: 151
    edited 2009-11-17 16:16
    Bean,

    Ah, of course, that's it! I'm clicking on RUN and having the SX-KEY generate the clock while I should be clicking on PROGRAM. In 5V circuits I never notice any difference (and got into a bad habit) but at 3V it's another story.

    Thank you for all your help here!

    -Katie
Sign In or Register to comment.