Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 10:39 29 Apr 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 : Micromite CPU RESTART

Author Message
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 02:49am 20 Jul 2015
Copy link to clipboard 
Print this post

Hi geoff
I know the instruction "cpu restart". Now I need, if possible a parameter for example 1 that when execute "cpu restart 1" does see the initial string "Micromite ....Geoff" etc.
Do You think...is it possible this features?
Thanks
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 03:42am 20 Jul 2015
Copy link to clipboard 
Print this post

Hm, I thought that CPU RESTART did not print the banner. I will add it to the list.
Geoff Graham - http://geoffg.net
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 04:13am 20 Jul 2015
Copy link to clipboard 
Print this post

I Geoff
As it now it's correct. I think that might be useful add a parameter. If present ...cpu restart 1... will show initial strings "Micromite ....etc"
Thanks
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2289
Posted: 04:38am 20 Jul 2015
Copy link to clipboard 
Print this post

on 4.7 beta 23 i see the following behaviour:

(apply power to micromite)
> Micromite MKII MMBasic Ver 4.7 Beta 23
Copyright 2011-2015 Geoff Graham

> watchdog 10
>

Watchdog timeout
Processor restarted

> cpu restart
>


so watchdog 10 produces a short 4-line message (blank line, 2 lines of message, blank line), while cpu restart produces no console output.

i have it in my mind that in beta 8 cpu restart used to produce a message, but am not 100% sure of this. if a parameter were to be added, the logical action would be to behave much as watchdog does, but with the first line of the message reading "CPU restart". it would be nice if there was also some parameter value (or other method) whereby from the console the normal power-on startup message could be elicited (way back this could be achieved with watchdog 1). how about:

cpu restart ----> restart with no console message
cpu restart 0 --> restart with 'CPU restart' message
cpu restart 1 --> restart with power-on message


cheers,
rob :-)Edited by robert.rozee 2015-07-21
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 08:15am 20 Jul 2015
Copy link to clipboard 
Print this post

It would also be interesting to have at the reset ... for example the type of PIC32 ...170/470 etc.
I need this feature for my software. That I will make public soon.
Thanks Geoff
 
Print this page


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

© JAQ Software 2024