Board indexPortal
Last visit was: It is currently 11. Dec 2019 16:01


All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
FollowersFollowers: 0
BookmarksBookmarks: 0
Views: 376

AuthorMessage
 Post subject: Verhalten bei Watchdog / Busspannungswiederkehr
PostPosted: 25. May 2013 08:18 
User avatar

Joined: 05.2013
Posts: 268
Location: Salzburg
Gender: Male
Wenn der Watchdog den 8in zurücksetzt dann hat er die Zustände seiner Objekte vergessen.

Die ursprüngliche Idee von Erik, der das Problem aufbrachte, war dass der 8in bei Start am Bus nach dem Zustand seiner Com Objekte fragt. Die Diskussion ging dann etwas weiter ob er sich den Zustand der Com Objekte im EEPROM merken soll.

Ausschnitt aus einer IRC Diskussion auf #selfbus:

Quote:
<erik_dc> we need to make the difference if the reset was done by the watchdog or not
<StefanT> in fact the status of the communication objects, but that's a nuance
<erik_dc> if not, the status will probably not be correct
<StefanT> not really, bus power lost is the same, in my opinion ... hmm ... or not?
<erik_dc> nope, I programed my lights to stay off when power comes back in my home, but downstairs in the restaurant I have the lights programmed to come back on after power failure
<StefanT> the LPC has brown out detection. We would need to remember that it was power off.
<StefanT> ok
<erik_dc> well, maybe, if the lights are programmed to come back after power failure, maybe they DO send a status feedback?
<StefanT> hmm, yes, that's a possibility. But I am not sure if the out8 does this at the moment.
<erik_dc> simple test, probably not always the same in which case we take the freebus as default
<erik_dc> just a thought
<StefanT> your thoughts are very welcome.
<erik_dc> but I'm far from a programmer or someone with knowhow. Just logics
<StefanT> If you agree I will post a copy of our discussion now in our forum, so that others can join
<erik_dc> oh please do
<erik_dc> even without crashes, should be a good thing to have implemented...
<StefanT> yes, would be nice
<erik_dc> for example I work with the logic building block and it suffers from this problem after reset


Top
Offline Profile  
 
 Post subject: Re: Verhalten bei Watchdog / Busspannungswiederkehr
PostPosted: 25. May 2013 13:05 
User avatar

Joined: 05.2013
Posts: 268
Location: Salzburg
Gender: Male
oldcoolman wrote:
Bei Watchdog Reset ist im LPC das wdbuf Flag gesetzt.


Damit können wir erkennen ob es ein Spannungsabfall oder der Watchdog war.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group | Theme created StylerBB.net
phpBB3 free Forum by UserBoard.org | All Rights Reserved.
» Contact & Abuse Support-Forum Gooof Webdesign free forum Dein Forumo Forum web tracker