REBOOT problem
idbruce
Posts: 6,197
Within the Propeller Manual, under the REBOOT method, it states:
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
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
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:
There is no dependency on stopping COGs first. I'm sure if this did not work we would have heard about it by now.
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
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