Shop OBEX P1 Docs P2 Docs Learn Events
Is there a way to reboot (reset propeller chip) in pasm or in PropBasic? - Solv — Parallax Forums

Is there a way to reboot (reset propeller chip) in pasm or in PropBasic? - Solv

Christof Eb.Christof Eb. Posts: 1,245
edited 2010-04-07 15:02 in Propeller 1
Hi,
Is there a way to reboot (reset propeller chip) in pasm or in PropBasic?
Thanks for hints, Christof

Post Edited (Christof Eb.) : 4/7/2010 3:00:25 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-04-07 14:43
    Sure. You can use the CLKSET instruction to set the RESET bit of the CLK register to one (see page 28 of the Propeller Manual).
  • Christof Eb.Christof Eb. Posts: 1,245
    edited 2010-04-07 15:02
    Thank you, Mike this was very helpful!
    Christof

    So my reboot is in PropBasic:
    ....
    rebot VAR long= %10000000
    ....
    SUB Rebooter
    \ clkset rebot
    endsub
Sign In or Register to comment.