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 : VERSION command?
Author | Message | ||||
kiiid Guru Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Is there any way to find out which version of MM+ firmware is running from within the program? http://rittle.org -------------- |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
Yup, the read only variable MM.VER Geoff Graham - http://geoffg.net |
||||
kiiid Guru Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Ah... I have missed that one in the docs. Thanks! http://rittle.org -------------- |
||||
kiiid Guru Joined: 11/05/2013 Location: United KingdomPosts: 671 |
PRINT MM.VER says 5.01 on my board, not 5.1... Is that normal? http://rittle.org -------------- |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1133 |
Yes. From MM Manual p50 Regards Michael EDIT: BTW. Is there already a way to do a (soft-)reset? Something like CPU RESTART but with the startup banner. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
No, not that I can think of. But CPU RESTART does the same thing as cycling the power (except for the banner). Geoff Graham - http://geoffg.net |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1133 |
@Geoff, thanks for clarifying this! There is also no "unofficial code" for this purpose known? Eg something like a unexpected error which leads to a reset. Michael |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
No, that is trapped on startup and an error message is displayed instead of the banner. Why is the banner so important? Geoff Graham - http://geoffg.net |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
Only way i can think of is to connect a pin to MCLR and drive it low. It will cost you a pin, but it will certainly work. Oh,wait. What about WATCHDOG 1? Microblocks. Build with logic. |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1133 |
That's nothing I cannot live with. But I would prefer to see the banner after a reset. Makes the status more clearly - for me! I'm often using more than one MM (different MMBasic versions) at the same time. Michael |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1133 |
"connect a pin to MCLR and drive it low.": that's a HARDreset. I use that often. "WATCHDOG 1" gives you Thanks MB. Michael Edit I would prefer a "verbose mode" for the cpu restart command (CPU RESTART V). |
||||
Print this page |