Shop OBEX P1 Docs P2 Docs Learn Events
REBOOT problem — Parallax Forums

REBOOT problem

idbruceidbruce Posts: 6,197
edited 2011-02-09 03:27 in Propeller 1
Within the Propeller Manual, under the REBOOT method, it states:
This is a software controlled reset, but acts like just like a hardware reset via the RESn pin.

Note* First off, that sentence needs to be edited "acts like just like"

Anyhow, I am attempting a reboot within the parent object and nothing happens, however there are multiple cogs running. I am now assuming that all cogs must be stopped, before calling the reboot method. If this is the case, then perhaps future editions of the Propeller Manual should clarify this.

Bruce

Comments

  • Heater.Heater. Posts: 21,230
    edited 2011-02-09 03:14
    You are doing something wrong:)

    On page 28 of the prop manual it describes the RESET bit of the CLK register. It says setting the RESET bit to 1 is:
    Same as a hardware reset – reboots the chip. The Spin command REBOOT writes a ‘1’ to the RESET bit.
    There is no dependency on stopping COGs first. I'm sure if this did not work we would have heard about it by now.
  • idbruceidbruce Posts: 6,197
    edited 2011-02-09 03:18
    Heater

    I currently have it in a conditional statement. I will remove it from the conditions, and call it directly just for a test. I will get back to you.

    Bruce
  • idbruceidbruce Posts: 6,197
    edited 2011-02-09 03:27
    Heater

    You are absolutely correct. For some reason, I must not be getting the expected return from my conditions, which I thought was a simple return, apparently not. :)

    Anyhow the grammer in the manual as stated above should be corrected.

    Bruce
Sign In or Register to comment.