|
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: 3368 |
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: 1769 |
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. ‚My name is Ozymandias, king of kings Look on my works, ye Mighty, and despair!‘ Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and ... |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3368 |
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: 1769 |
@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 ‚My name is Ozymandias, king of kings Look on my works, ye Mighty, and despair!‘ Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and ... |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3368 |
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: 1769 |
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 ‚My name is Ozymandias, king of kings Look on my works, ye Mighty, and despair!‘ Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and ... |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1769 |
"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). ‚My name is Ozymandias, king of kings Look on my works, ye Mighty, and despair!‘ Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and ... |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |