Shop OBEX P1 Docs P2 Docs Learn Events
Keeps stopping — Parallax Forums

Keeps stopping

T.J.LinT.J.Lin Posts: 2
edited 2010-06-04 21:21 in Propeller 1
I'm learning the propeller chip and have the PE kit. I run a simple program that flashes LEDs. After a few minutes of running, the propeller chip appears to stop. I've monitored for a brown-out condition, but that is not the case. Voltage on the power input pins is a solid 3.3V.

Is there something that will change how long the prop runs? Is there a default time if nothing is specified? Or, did I get a flaky chip?

Comments

  • MagIO2MagIO2 Posts: 2,243
    edited 2010-06-04 15:02
    Post the code.

    I'd bet that you have a stack overflow or something alike. When you overwrite the wrong memory location the propeller will do a reset or can do anything.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-04 16:32
    How are you programming the flash rate? What happens if you wait about a minute? Does it start flashing again?

    Show us your code.

    -Phil
  • T.J.LinT.J.Lin Posts: 2
    edited 2010-06-04 21:07
    I figured it out. It was poor programming on my part. I'm still used to programming the BS-2.

    Thanks guys.
  • hover1hover1 Posts: 1,929
    edited 2010-06-04 21:21
    Could you share the fix so that it might help another person just starting in Spin?

    Jim
Sign In or Register to comment.