![]() |
Forum Index : Microcontroller and PC projects : Micromite Firmware V5.03
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
After a long beta period V5.03 of the Micromite firmware is here. It can be downloaded from http://geoffg.net/micromite.html (scroll to the bottom of the page). This is a major new release (the change log runs to three pages). For the standard 28 and 44-pin Micromite there are a number of minor changes including bug fixes and faster updating of LCD display panels. For the 64 and 100-pin Micromite Plus there are many bug fixes and new features including: - The ability to play WAV files and generate sine wave tones from 1Hz to 20KHz. - Implement transparent text and the BLIT command which allows moving objects to be displayed over a background image. - The ability to synchronise the update of an SSD1963 display to avoid flicker. For the people who have been following the beta versions the changes since beta 10 are: - Fixed a bug which caused VAL() to sometimes return a float when it should have returned an integer (thanks to Robert Rozee). - Micromite Plus increased the maximum allowable number of subroutines and functions in a program to 200. - Fixed a bug in EVAL() which caused it to fall over with long strings (thanks to Phil Dobber). - Fixed a bug in ON ERROR SKIP which caused the variable table to be cleared when an error was skipped (thanks to Robert Rozee). Details are in the Change Log and the user manuals which are included in the firmware download. The source for this version (plus Peter's eXtreme version) is available from http://mmbasic.com Thanks to everyone who tested the beta versions, a lot of bugs were found and the final version is that much better. Geoff Geoff Graham - http://geoffg.net |
||||
led-bloon![]() Senior Member ![]() Joined: 21/12/2014 Location: AustraliaPosts: 207 |
Thanks Geoff, Now that you have some spare time on your hands, how about fixing up your WEB site. A "Donate" button would finish it off perfectly! Best Regards don Miss you George |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
not quite so quick! looks like my last couple of emails got lost in the post - there are still a couple of bugs in the new val() function relating specifically to non-decimal bases: Print Val("&h123") Print Val("&h456") a$="789" Print Val("&h"+a$) > run 0 0 [5] Print Val("&h"+a$) Error: Internal fault (sorry) > addendum: looks you're missing an assignment to targ before carrying out the non-decimal conversions: p = getCstring(ep); targ = T_INT; // move this line from end of the function if(*p == '&') { (the else clause at the end of floating conversion is then not needed) sorry, rob :-) |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
Drat, it seems that every time I fix a bug I add another. I have fixed this and updated the files on my website to V5.03.02 Thanks, Geoff Geoff Graham - http://geoffg.net |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
not quite so quick, again! in editor.c, i believe the line: for(p = txtp; p <= mark; p++) if(*p == '\n') nbrlines--; is the cause of the most accursed editor bug.it should instead read: for(p = txtp; p < mark; p++) if(*p == '\n') nbrlines--; in order to not decrement nbrlines in response to a CR character sitting right after (but still outside of) the block of marked text.cheers, rob :-) |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
It would be good if that is the cause but it has been an elusive bug and I'm not sure that the solution will be easy. I am heading overseas again (Ottawa and Winnipeg) and I will have a crack at it when I get back. Geoff Geoff Graham - http://geoffg.net |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2950 |
Geoff, Lucky you, sounds a nice trip.. Which version of 5.3 should we be using in the mean time? Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
The current beta test has finished (see the first post in this thread) so you should use the version on my website (which currently is at 5.03.02). This is always the latest stable version so look there if you are unsure. I plan to increment the last two digits whenever I fix bugs and increment the middle two digits for new features. This makes more sense than the old system. Beta test versions are another story and may (usually do) contain bugs and I only post these on the Back Shed. Geoff Geoff Graham - http://geoffg.net |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2950 |
Thanks Geoff. Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
You will only be about 370 miles north of me when you're in Ottawa. You could easily drive down here if you want to. We have a spare room and you would be more than welcome! Give me a ring when you get to Ottawa if you feel like chatting. 845-226-9059. HAVE A GOOD TRIP! Paul in NY |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
Ah, I'm staying with friends for a week and will not have a car. Would have been good though. Geoff Geoff Graham - http://geoffg.net |
||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
That's too bad! I would have liked to meet you face to face. Give me a ring anyway and we'll chat for awhile. If it is costly for you to call from there I can call you back since I have unlimited phone service in the U.S. and Canada. Paul |
||||
PicFan Senior Member ![]() Joined: 18/03/2014 Location: AustriaPosts: 133 |
Thanks to all who worked on the micromites ! Greetings from Austria ! Wolfgang |
||||
Evbo Newbie ![]() Joined: 20/01/2017 Location: AustraliaPosts: 2 |
Hi I am a newby playing with explorer 64 upgraded to v 5.03 I too found V5.2 sleep mode consuming around 4 Milli amp and jumping to around 30 milli amp In v5.03 this has now dropped to about 300 micro amp. I also have a RTC module but have connected vdd, data and clock to a cd4066 latch. Reducing the current to zero from the rtc when in sleep mode. The only problem I have with sleep is that every time sleep is finished or is receiving an interrupt mmbasic restarts like a reset. Not sure what is going on here. Any ideas please. Reg evbo |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
You are visiting Ottawa and Winterpeg at this time of year? Take lots of warm clothes. Visit Vegipete's *Mite Library for cool programs. |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1114 |
@evbo Does SLEEP functionality work OK without the 4066 setup? Sounds like you might be getting some sort of drop or pulse on the 3.3 line to the mite when the 4066 brings the RTC back on line causing the reset. Can you monitor the power to the mite with a CRO? Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
piclover Senior Member ![]() Joined: 14/06/2015 Location: FrancePosts: 134 |
@Geoff I found a bug in v5.03.02: with v5.02 and all former versions, it was legal to pass a float to a function taking an integer as a parameter (an implicit float to integer conversion happened). Now, MMBASIC, without complaining about the parameter type, sets the parameter to 0 whenever a (non-zero) float is passed... Simplified repro code: OPTION EXPLICIT DIM FLOAT presslog(24) presslog(24)=1013 LogData(presslog(24)) SUB LogData(p AS INTEGER) PRINT p END SUB v5.03 breaks many of my programs because of this bug... The workaround is to explicitly convert the passed parameter to an integer, i.e. LogData(INT(presslog(24))), but still, I think this should be fixed to revert to the old behaviour (implicit conversion)... |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
There is a section in the latest Micromite Manual on P36 under the heading of Mixing Floating Point and Integers . It may help you. An easier way of converting your floats to integers if you have to change your programs may be to use the integer divide. Using your example of LogData(presslog(24)) just put a \1 on the end. LogData(presslog(24))\1 It's not as pretty but it sure saves adding more parentheses. |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
That is definitely not good. I did some work in that area for 5.3 and I am amazed that such a bog got through testing. I will fix it (it will take a few weeks before I can get to it). Geoff Geoff Graham - http://geoffg.net |
||||
Evbo Newbie ![]() Joined: 20/01/2017 Location: AustraliaPosts: 2 |
Taken 4066 off and just have a bare bones exp 64. Sleep still resets. Also reflashed chip. Put a different exp 64 and also tried a exp 100 both work fine with sleep Must be something else. Have ordered another exp 64 if that works ok then it has to be something on this exp64. Power looks fine on the scope. At least I have 2 good mmite-plus units. Will keep posted If I find something. Thanks |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |