Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:57 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Webmite hardware watchdog

Author Message
Derek_H
Newbie

Joined: 26/07/2023
Location: United Kingdom
Posts: 10
Posted: 01:07pm 31 Aug 2023
Copy link to clipboard 
Print this post

WebMite MMBasic Version 5.07.08b4
OPTION SYSTEM SPI GP18,GP19,GP0
OPTION AUTORUN ON
OPTION COLOURCODE ON
OPTION DISPLAY 48, 132
OPTION LCDPANEL ST7789, PORTRAIT,GP16,GP26,GP17,GP20
OPTION WIFI ********, *************, Pico_MS
OPTION TCP SERVER PORT 80
OPTION TELNET CONSOLE ON

Can someone tell me if hardware Watchdog is implemented in Webmite 5.07.08b4  ?
I know that it is there for the Picomite, but when I try in this version of Webmite it returns a syntax error


WatchDog hw 8000
Error : Expression syntax


Derek
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9126
Posted: 01:22pm 31 Aug 2023
Copy link to clipboard 
Print this post

Introduced in b10 so obviously not
 
Derek_H
Newbie

Joined: 26/07/2023
Location: United Kingdom
Posts: 10
Posted: 01:30pm 31 Aug 2023
Copy link to clipboard 
Print this post

Great, thanks , I'll go get the latest version (b14)
Derek
 
Derek_H
Newbie

Joined: 26/07/2023
Location: United Kingdom
Posts: 10
Posted: 05:24pm 31 Aug 2023
Copy link to clipboard 
Print this post

So I loaded WebMite MMBasic Version 5.07.08b14 and the hardware watchdog seems to work.......mostly.

Occasionally the program stops running altogether, a power cycle does not restart it. When I telnet into the Webmite I find that all the options have been cleared, although all other files are intact.
Enter all the options again and run the program, everything works.

I haven't been able to tie down what exactly is happening, just wondering if anyone else has experienced the "disappearing options" problem.

> option list
WebMite MMBasic Version 5.07.08b14
OPTION COLOURCODE ON
OPTION DISPLAY 48, 132
OPTION WIFI ********, *************, Pico_MS
OPTION TCP SERVER PORT 80
OPTION TELNET CONSOLE ON


Derek
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9126
Posted: 06:20pm 31 Aug 2023
Copy link to clipboard 
Print this post

  Quote  When I telnet into the Webmite I find that all the options have been cleared,


That doesn't compute. If you can telnet then all the options haven't been cleared.

Use the HW watchdog with discretion with web applications. The maximum timeout is 8.3 seconds and if a web activity hasn't completed in that time you will get a timeout with unforeseeable consequences
 
Derek_H
Newbie

Joined: 26/07/2023
Location: United Kingdom
Posts: 10
Posted: 08:26pm 31 Aug 2023
Copy link to clipboard 
Print this post

Sorry didn't mean telnet it was MMCC via USB.
It just happened again.
Port: COM13 inserted

Connected to COM13 at  

>
>
> option list
WebMite MMBasic Version 5.07.08b14





I guess hardware watchdog is just not suitable for my application.

Derek
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 172
Posted: 07:50am 02 Sep 2023
Copy link to clipboard 
Print this post

This is similar to what I observed (as described here).

I am running now beta b12 (with the software WATCHDOG), but I tried other betas (<=12, also with the HW WATCHDOG) and the last release. The problem persists; under some circumstances, the WebMite loses all options and the programs in the flash slots are lost. Drive $A is still o.k.

Random observations:
- with b12, I have not observed a crash within a week or so.
- still, when I disconnect the WebMite from power w/o stopping the software, it often (50% of the cases?) looses all settings (as described above).

Best
Thomas
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024