Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:52 02 Aug 2025 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 : MM Plus restart?

Author Message
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 04:31am 09 Nov 2018
Copy link to clipboard 
Print this post

Hi all, I have 2 MM Plus mites running 5.04.09 running a counting program that reliably goes for 5 mins exactly and then restarts itself. Problem is, it's not supposed to! Can post the code, but truly, it's nothing but increment a counter and print.
Mites are freshly flashed, can see nothing to imply some sort of timeout. Can anyone help?
TIA, Dave
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:47am 09 Nov 2018
Copy link to clipboard 
Print this post

Try the latest beta.
There were a few problems with calling SUBs if that is what you are doing.
There were also problems with the USB console if that is what you are using.

Jim

VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 05:09am 09 Nov 2018
Copy link to clipboard 
Print this post

Yes, or go back to the last STABLE release: 5.04.08
Smoke makes things work. When the smoke gets out, it stops!
 
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 06:59am 09 Nov 2018
Copy link to clipboard 
Print this post




Hopefully this shows both code and result...
Thanks Jim and Grogster. Above is using 5.04.04. I cant find 5.04.08 in the archive, is it available somewhere else?
Will try the latest beta.
2 extra thoughts...
This test was on a brand new chip in an adapter socket, no change.
Can't see how this didn't emerge earlier, been playing with mm plus for years.
Only change my end has been a switch to Win 10. Oh hell...
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 07:24am 09 Nov 2018
Copy link to clipboard 
Print this post

NO problems running the same code here on 5.4.10 beta 13
but I don't use the USB port

Edited by TassyJim 2018-11-10
VK7JH
MMedit
 
erbp
Senior Member

Joined: 03/05/2016
Location: Australia
Posts: 195
Posted: 09:14am 09 Nov 2018
Copy link to clipboard 
Print this post

I have test run your code on my early style E64 module (without the 1455 USB interface). I did 2 runs - first used an external Microbridge (1455) module to interface the serial console pins to the PC USB cable, the second used the USB cable connected directly to the USB socket on the E64 module. Both cases used an external 5v PSU. Both tests ran over 7 minutes without any hint of a restart and I'm sure they would have just continued running if I hadn't stopped them!

My E64 is running firmware version 5.04.08 and my PC is running Window 10 ver 1803.

Cheers,
Phil.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 12:56pm 09 Nov 2018
Copy link to clipboard 
Print this post

The problem could be the 10uF capacitor connected to the VCap pin. A faulty VCap has been known to cause intermittent restarts. Powering the MM+ from a PC or USB charger can also cause the same problem. Try using a solid lab supply or three fresh batteries in series.
Geoff Graham - http://geoffg.net
 
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 05:29am 10 Nov 2018
Copy link to clipboard 
Print this post

Hmmm, not sure if this classifies as solved, but problem was cheap power supply with almost no current reserve at all. Spot on 5 minutes the mite (with nothing else connected!) will draw enough current to drop the supply voltage and crash itself. Any normal quality supply will handle this, just not mine.
But I would just love to know what's happening here. Anyone?
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025