Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:28 03 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 : Micromite and Micromite Plus Beta 31

     Page 2 of 2    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:08am 22 Sep 2015
Copy link to clipboard 
Print this post

Stop the presses!

I am getting the same result as you now, CFLY:





From the third odd reset, it now won't autorun, it just resets.

This MIGHT be a bug - has anyone else seen this issue with respect to the autorun on?

EDIT: Only seems to happen if you reset the chip. If I remove the power completely, and then replace the power(USB), autorun starts OK. If you press RESET(on a MM+ module), then the code does not seem to want to autorun.

...but it does if you power up from off - for me, anyway.Edited by Grogster 2015-09-23
Smoke makes things work. When the smoke gets out, it stops!
 
CFLY

Regular Member

Joined: 20/05/2015
Location: France
Posts: 41
Posted: 12:10am 22 Sep 2015
Copy link to clipboard 
Print this post

I use :
- a supply 12v 2.5A
- 100µ
- LD1117V50 ( TO220)
- 47µ
- LD1117V33C ( TO220)
- 10µ
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:18am 22 Sep 2015
Copy link to clipboard 
Print this post

Is the 12v supply regulated or just raw DC?
Smoke makes things work. When the smoke gets out, it stops!
 
CFLY

Regular Member

Joined: 20/05/2015
Location: France
Posts: 41
Posted: 12:24am 22 Sep 2015
Copy link to clipboard 
Print this post

12v regulated.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:27am 22 Sep 2015
Copy link to clipboard 
Print this post

OK. Your extra regulators should be perfectly happy being fed with regulated 12v.
I was thinking that 100uF is a bit small on the reg caps, but if the 12v supply is regulated, it should be OK. We'll see what other members say.
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 02:15am 22 Sep 2015
Copy link to clipboard 
Print this post

Damn. I am confused.
Could someone (Grogster perhaps) please summarise the issue in simple English.
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 02:26am 22 Sep 2015
Copy link to clipboard 
Print this post

Yeah, I am trying to work it out myself.

From what I gather, CFLY is reporting that his MM+ won't autorun after that has been set, once he removes the console wires. Autorun works fine, if he leaves the console wires connected. I was suspecting parasitic power on the console, and once the console wires are removed, that parasitic power is gone, and so the MM+ was not starting up right due perhaps to another PSU issue.

I was able to simulate the problem, but only when you press the reset button after OPTION AUTORUN ON has been issued.

Try it:

- Fire up, issue OPTION AUTORUN ON(with some sort of test loop).
- Press RESET button.
- CTRL-F1 on TT, MM+ restarts at command prompt, it does not autorun the code.

This does not seem to happen, if you plug in the USB. From a hard-reset, it seems to work OK, it is just the soft-reset via the button, where autorun does not seem to work.
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 02:52am 22 Sep 2015
Copy link to clipboard 
Print this post

Still confused.

>> CTRL-F1 on TT, MM+ restarts at command prompt, it does not autorun the code.
Is TT operating over USB or a USB-serial converter?
Have the serial console wires been disconnected?
What does CTRL-F1 do?
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:27am 22 Sep 2015
Copy link to clipboard 
Print this post

1) Press RESET - this forces a restart of the MM+, and disconnects the USB console at the same time.

2) Issue CTRL+F1 - 'closing connection' prompt comes up.

3) Press RESET again.

4) 'connected' comes up on screen, but MM+ has not run the code, it drops you to the command prompt.

I would have expected that once you press reset in the middle of the CTRL-F1 process, that the MM+ would start showing whatever was programmed with autorun on.

It doesn't.

Is TT operating over USB or a USB-serial converter?
Native USB connection in my tests.

Have the serial console wires been disconnected?
Yes.

What does CTRL-F1 do?
This is the TT reconnect shortcut of robert.rozee's

This may actually not be a problem, it may just be the way I am using it.Edited by Grogster 2015-09-23
Smoke makes things work. When the smoke gets out, it stops!
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 03:29am 22 Sep 2015
Copy link to clipboard 
Print this post

I take it that CTRL+F1 is a TT macro?

Cheers
Chris

http://caroper.blogspot.com/
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:33am 22 Sep 2015
Copy link to clipboard 
Print this post

Yes.

robert.rozee's one.
Smoke makes things work. When the smoke gets out, it stops!
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 10:27am 26 Sep 2015
Copy link to clipboard 
Print this post

The command GUI CAPTION on page 33 of the Advanced Features manual has an error. The last paragraph doesn't apply to this command.


When touched the visual image of the button will appear to be depressed
and the control's value will be 1. When the touch is removed the value
will revert to zero. Caption can consist of two captions separated by a |
character (eg, "UP|DOWN"). In this case when the button is up the first
string will be used and when pressed the second will be used.
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 10:54am 26 Sep 2015
Copy link to clipboard 
Print this post

Possible bug with GUI REDRAW

When I run this command inside a program or on the command prompt I get the following error on my ssd1963 display.

CPU exception #13 (possible divide by zero) at address 0x9D04E834
Processor restarted


Does this happen with anybody else?
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 12:10pm 26 Sep 2015
Copy link to clipboard 
Print this post

Thanks for the manual correction and I will investigate the bug.

Geoff

Geoff Graham - http://geoffg.net
 
     Page 2 of 2    
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