Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:24 19 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 eXtreme Firmware V5.03

     Page 2 of 4    
Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 843
Posted: 02:39am 03 Mar 2017
Copy link to clipboard 
Print this post

Peter,
Thanks for the info and the updated files.
The PEEK for options is OK I think now with the new address.

Regards
Gerry

Latest F4 Latest H7
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 04:54am 03 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.10 for the 100 and 144-pin parts

2017-03-03_145316_MMX5.3.10.zip

and for the 64-pin part

2017-03-03_151816_MMX645.3.10.zip

This release includes FLAC file playback.

It also includes a minor tweak to the VGA driver that stops a red pixel occasionally appearing one place to the left of its intended position

The manual is updated with the I2S pinouts and PLAY FLAC command

2017-03-03_154533_Micromite_eXtreme_Manual.pdf

Edited by matherp 2017-03-05
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 08:57am 04 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.11 for the 100 and 144-pin parts

2017-03-04_191644_MMX5.3.11.zip

This release includes S.A.M. text to speech.
It fixes a bug that caused WAV file playback to terminate a few seconds early.
It allows mono WAV files to be played

The manual is updated with the TTS command

2017-03-04_191906_Micromite_eXtreme_Manual.pdf

Edited by matherp 2017-03-05
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 09:25am 04 Mar 2017
Copy link to clipboard 
Print this post

TTS - ironically I am 'speechless'

Now I can finish my Talking Clock with ease

Not yet tried it but will install v11 on the current MMX144 build in front of me in a short while.

Now don't forget the other two new MMX 'fun features' in my email (v12 & v13 by tomorrow morning if you don't mind!)

WW
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 10:55pm 04 Mar 2017
Copy link to clipboard 
Print this post

Fixed a bug in TTS PHONETIC where invalid phonetic text was not trapped and the "Play" status was left incorrect.

No change in version number 5.3.11
Attached is the latest release 5.3.11 for the 100 and 144-pin parts

2017-03-05_092544_MMX5.3.11.zip

And for the 64-pin part with same additional functionality and bug fixes

2017-03-05_092202_MMX645.3.11.zip



Edited by matherp 2017-03-06
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 03:23am 06 Mar 2017
Copy link to clipboard 
Print this post

I've discovered there is a Microchip silicon errata that may relate to the way I use the reference clock to derive the frequencies needed for FLAC file playing over I2S.

This version implements their proposed work-round even though I haven't personally encountered a problem.

FatFs is updated to version R0.12c

176.8KHz FLAC file playback is supported when OPTION CPU 252 is enabled

Attached is the latest release 5.3.12 for the 100 and 144-pin parts

2017-03-06_183253_MMX5.3.12.zip

And for the 64-pin part

2017-03-06_183357_MMX645.2.12.zip

User manual updated to reflect the version change

2017-03-06_131724_Micromite_eXtreme_Manual.pdf


Edited by matherp 2017-03-07
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:44am 10 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.13 for the 100 and 144-pin parts

2017-03-13_115411_MMX5.3.13.zip

And for the 64-pin part

2017-03-13_154846_MMX645.3.13.zip

Changes are:

* Fixed a bug in PLAY WAV and PLAY TONE that could cause distortion when the volume was above 90%
* Fixed a bug in PLAY WAV that caused the volume to be lower than it should be.
* Improved handling of Ctrl-C when playing WAV or FLAC files as part of a program
* Stop playback of FLAC and WAV files when using "RUN" or EDIT"
* Rewrite of FatFs error handling to deal with WW "stress" tests e.g. removing SDcard while playing WAV or FLAC files
* Fixed a bug relating to using the console as COM4
* Re-engineered GPS parsing to fix bug when invalid data sent
* added GPS(GEOID), which returns the Geoidal separation (in meters)
* added PRINT #GPS,"$......*" outputs a NMEA string to a previously opened GPS receiver. The checksum is calculated by the firmware. The string must start with the $ character and end with the * character.

Geoff has kindly agree to host the manual as it is now too big to post

Micromite eXtreme manual





Edited by matherp 2017-03-14
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:34am 17 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.14 for the 100 and 144-pin parts

2017-03-19_085644_MMX5.3.14.zip

And for the 64-pin part

2017-03-19_085710_MMX645.3.14.zip

Changes are:

* Added support for ILI9481 480x320 displaysEdited by matherp 2017-03-20
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 04:14am 19 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.15 for the 100 and 144-pin parts

2017-03-19_141342_MMX5.3.15.zip

And for the 64-pin part

2017-03-19_141440_MMX645.3.15.zip

Changes are:

* Implemented OWSEARCH function

see this thread for details
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 04:13am 31 Mar 2017
Copy link to clipboard 
Print this post

Attached is the latest release 5.3.16 for the 100 and 144-pin parts

2017-03-31_140902_MMX5.3.16.zip

And for the 64-pin part

2017-03-31_140952_MMX645.3.16.zip

Changes are:

XMODEM function enhanced to transfer files directly to and from the SDcard.

XMODEM RECEIVE filename
XMODEM SEND filename

The filename must be enclosed in quotes if it contains spaces, otherwise it can be typed without quotes.

If the filename is omitted then XMODEM acts as currently documented in the Micomite manual.

This change was at the request of TassyJim and makes it much easier to, for example, transfer data logs to a host PC.

Edited by matherp 2017-04-01
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5882
Posted: 10:43am 31 Mar 2017
Copy link to clipboard 
Print this post

Thanks Peter.
There will be an update to MMEdit "soon" to allow the File Manager to work with the MMX range in the same way it works with the Maximites.
I have a few redesign issues to cater for the growing 'mite stable.
Jim
VK7JH
MMedit   MMBasic Help
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 761
Posted: 12:29pm 31 Mar 2017
Copy link to clipboard 
Print this post

Hey, Gents...

@matherp: Thanks for all your work on the new MMX firmware..! I just got working copies of the MMX 144/64 boards from WW.. (w/camera)... So, I finally get some playtime this weekend... Got a fresh 7" fitted up to the 144 and a SPI 2.3" on the 64... Both seem to work great... I will be doing an update to ".16" with a PICkit-3 and bolt on the RTC module.. (sweet)...

@tassyJim: I was typing to Peter couple weeks back about the scanline function... He had mentioned the fact the long VAR names take time to "parse" through the firmware and to keep names as short as possable... Well, that got me to thinking about something I remembered form the old days.. (Z-80/CPM).. I know you have your "crunch" function in the editor. I seem to remember a "post processor" type of CPM program you could submit your basic text file to that would take all your VAR, SUB, CONT ect. "long names" and then compress them to one or two letter versions of them to help make your program run faster... I never used it much and don't remember what it's name was, but when we got a hold of a "star trek" game that was written in basic, I remember processing it through this "crunch" program... It removed all the program comments and crunched the VAR names to the smallest letter combo's and wrote the output file. We took a look at the output file... Wow, very hard to follow as a "human" reader, but the program ran almost twice as fast..! We still went through reams of paper playing the game as it was the only output device..!

So, anyway, not sure if you guy's ever herd of such a thing, but, if your editor could do the same thing... Now, this is probably not an issue on the MMX class of MM's, but could be a good thing for the 170's.. I am not really suggesting this as a thing on your "to-do" list, just my 8-bit brain babbling on...

Thanks again Gent's..! (i love new toys)..!




 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5882
Posted: 02:01pm 31 Mar 2017
Copy link to clipboard 
Print this post

  Zonker said  
@tassyJim: I was typing to Peter couple weeks back about the scanline function... He had mentioned the fact the long VAR names take time to "parse" through the firmware and to keep names as short as possable...

It is a request that has been made before and while I haven't ruled it out altogether, I worry about butchering someones code too much. MMEdit would have to do a lot more than a simple global 'replace'. A wrong assumption by MMEdit could destroy someones pride and joy.

Jim
VK7JH
MMedit   MMBasic Help
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 1985
Posted: 12:19am 01 Apr 2017
Copy link to clipboard 
Print this post

... which is why we always back up, right? ... we do always back up... right???
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 12:33am 01 Apr 2017
Copy link to clipboard 
Print this post

There is a Basic version of crunch which I've tried in the past and works well. You would need to make sure the reserved word list is up-to-date to use it Edited by matherp 2017-04-02
 
Cherokeecruiser
Newbie

Joined: 25/02/2015
Location: Australia
Posts: 25
Posted: 10:02pm 06 Apr 2017
Copy link to clipboard 
Print this post

Hi All,

Thanks to matherp for the excellent work on the MMX firmware

Just wondering if it would be possible at some future revision to add the click pin option with mouse support if anyone thinks it is useful.
(yeah I know the actual mouse buttons are supposed to click when you use them - it would be nice to have the gui beep available.

I guess the click for mouse button could be implemented from a gui interrupt with the mouse, but a background beep is more challenging for me!

Jeff
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 11:26am 15 Apr 2017
Copy link to clipboard 
Print this post

Is there a way to display all 16 digits of double precision numbers? I need to create DATA statements using MMBASIC eXtreme similar to


DATA -19503.5967962382, -19120.6463095138, -5386.83402043336
DATA 2697.05908554283, -411062.593704381, 18048.4396148379
DATA -302378.152698336, -6944.44935382575, -1025352.02824372



or perhaps


DATA -1.95035967962382e4, -1.91206463095138e4, -5.38683402043336e3
DATA 2.69705908554283e3, -4.11062593704381e5, 1.80484396148379e4
DATA -3.02378152698336e5, -6.94444935382575e3, -1.02535202824372e5



Thanks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 11:56am 15 Apr 2017
Copy link to clipboard 
Print this post

The data statements work fine in terms of loading the internal variables. I can't find an algorithm to print them out accurately though.

You can prove this as follows:

DATA -1.95035967962382e4
read a
print str$(a*10000000000,20,0)
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 11:03pm 15 Apr 2017
Copy link to clipboard 
Print this post

Thanks Peter.

I was hoping the PRINT STR$ of a floating point number could be extended beyond 8 digits.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5882
Posted: 12:49pm 16 Apr 2017
Copy link to clipboard 
Print this post

Would this help
  Quote   DATA -1.95035967962382e4
READ a

PRINT uformat$(a,12)

FUNCTION uFormat$(x,p)
' given a number (x) and the required number of decimal places (p)
' returns formatted string. Negative and zero p is permitted
LOCAL f$
f$=
STR$(CINT(x*10^p))
IF LEN(f$)<=p THEN
f$=
STRING$(p+1-LEN(f$), "0")+f$
ENDIF
IF p>0 THEN
uFormat$=
LEFT$(f$,LEN(f$)-p)+"."+RIGHT$(f$,p)
ELSEIF p = 0 THEN
uFormat$=f$
ELSE
uFormat$=f$+
STRING$(ABS(p),"0")
ENDIF
END FUNCTION

I wrote it a long time ago but it seems to work with double precision.

Jim

VK7JH
MMedit   MMBasic Help
 
     Page 2 of 4    
Print this page
© JAQ Software 2024