Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:39 01 Jul 2025 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 and Micromite Plus Beta 23

     Page 2 of 5    
Author Message
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 12:20pm 23 Jul 2015
Copy link to clipboard 
Print this post

  bigmik said   Hi All,

Silly question...

If we now have a `universal HEX' why are there 2 HEX files in the distribution?

Also I found the gauge/meter demo's get corrupted due to changes in the FONT command.. So these will need to be modified.



Mick


Mick
Not silly at all. I'm now awake. Geoff actually said "the same code base" which will be the same source with conditional compiling to produce one version or the other. Then, I assume, he puts them both in the same ZIP.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2947
Posted: 03:22pm 23 Jul 2015
Copy link to clipboard 
Print this post

Thanks Bob,

I misunderstood Geoffs announcement the first time... I wondered when I downloaded b23 and then Kon mentioned universal HEX so I asked the dumb question..

It should be `universal Source' separate HEX,,

Thanks Mate

Edited by bigmik 2015-07-25
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 05:04pm 23 Jul 2015
Copy link to clipboard 
Print this post

  Chris Roper said   Minor issue with OPTION COLOURCODE ON and the MX170

When in Mark Mode it is difficult to distinguish selected text from normal text.

Colour text reverts to Black but Black text is left unmarked. The differance is so subtle that it is easy to miss what is selected.

Would it be possible to have the selected block change colour, if inverting is no longer possible?

Cheers
Chris

The micromite is definitely sending the "reverse" attribute.

Assuming you are using TeraTerm, you may have to change Setup/Window..



Select Text Attribute Reverse
Then set to colour to your preference.
Clicking on "reverse" will give you white text on black but you can set it to whatever you prefer.

Jim
VK7JH
MMedit
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 09:11pm 23 Jul 2015
Copy link to clipboard 
Print this post

Thanks Jim,

I had mine set to reverse with Black text on white as, I posted earlier in the thread, but I am beginning to think it is a teraterm bug rather than Micromite. I am getting inconsistent results, and each time I go back into Setup --> Window the attribute has reverted to normal :(

Then when I select text the initial line correctly inverts but reverts to black when I select a second line etc...

If it is working fine on yours could you possibly upload a copy of your TERATERM.INI file so that I can compare settings?

Cheers
Chris









http://caroper.blogspot.com/
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 09:36pm 23 Jul 2015
Copy link to clipboard 
Print this post

  Chris Roper said   and each time I go back into Setup --> Window the attribute has reverted to normal :(


Did you remember to 'save setup'?

This is my INI file (with the HOSTS list removed)
It is from a new installation and I have yet to make some tweaks to it.

Jim
2015-07-24_073643_TERATERM.zip

VK7JH
MMedit
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 09:54pm 23 Jul 2015
Copy link to clipboard 
Print this post

Thanks Jim,

That helped a lot, we differed on this section:
[code]
; for Reverse characters
EnableReverseAttrColor=on
VTReverseColor=255,255,255,0,0,0
; Solarized Dark
[/code]

I copied yours as above to mine, saved, restarted TeraTerm and so far it is working fine with a White Background and Black text and Reverse Highlighting.

There were a couple of other differences but not related to colour so I ignored them.

For others that may have an issue here is my ini file:
2015-07-24_081946_TERATERM.INI.zip

and a screen shot with text Selected:



Note I have Scrolling off, that is a personal preference to stop me reaching for the mouse to scroll through the editor :) old habits die hard, and I also use the Underscore Cursor.

Here is the setup screen:



I suspect the Issue was WIN7 64bit not allowing TeraTerm to update the ini file but not actually reporting an error.A manual edit with Notepad++ solved the problem. Alternatively just copy this INI file.

Cheers
ChrisEdited by Chris Roper 2015-07-25
http://caroper.blogspot.com/
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3281
Posted: 06:50am 24 Jul 2015
Copy link to clipboard 
Print this post

@matherp has discovered a bug in the SPI OPEN command in Beta 23.

After the SPI port has been opened the clock will run very slow, not the speed selected in the open command.

The workaround is to execute this command after the SPI OPEN:
poke word &HBF805830,1

On a standard Micromite this workaround will force the SPI clock to one quarter the CPU speed. On a MM+ the clock will be one eighth the CPU speed for CPU speeds 80MHz or above and one quarter for speeds less than this.

This bug has been added to the log of reported bugs which can be download from: http://geoffg.net/Downloads/Micromite/MMPlusIssues.txt. It should be fixed in the next beta.

Geoff
Geoff Graham - http://geoffg.net
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 06:33pm 27 Jul 2015
Copy link to clipboard 
Print this post

I have found after going from MMbasic ver4.6 to ver4.7 beta23, that DS18b20's on long cables(approx 10 meters) will return a valid temperature only once. The second time The DS18B20(pin) function is called 1000.0 is returned. I have tried the same DS18B20 on a 5V supply with the data going to pin 15(28 pin umite MK2), as well as a 3.3 volt supply with data going to pin 23(4.7K pullups used).
Going back to ver4.7 beta8 has the DS18B20 responding with a valid temp every time the DS18B20 function is called
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3281
Posted: 08:22pm 27 Jul 2015
Copy link to clipboard 
Print this post

That is strange. I presume that you are using the simple DS18B20(pin) function?

1000.0 is returned if the sensor has not responded within the timeout period (200mS). It could be marginal timing - I will have to put it on the list and when I get back employ some test equipment to see what is going on.

Geoff
Geoff Graham - http://geoffg.net
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2931
Posted: 08:38pm 27 Jul 2015
Copy link to clipboard 
Print this post

I will test this later today when back home; it was the very next thing on my to-do list!

Will post back results . . .

WW
 
DaveC166
Regular Member

Joined: 13/09/2012
Location: New Zealand
Posts: 44
Posted: 10:26am 28 Jul 2015
Copy link to clipboard 
Print this post

HI GeoffG,
yes i am just using the DS18B20(pin) function. I tried 2 DS18B20's on 10 meter shielded twin wire cables, both returned valid temperatures the first time my prog is run and failed either the second or third time (60 sec intervals). I tried lowering the pullup resistor to 3.0k ,same result. I havent tried a DS18B20 on a short cable
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 10:16pm 28 Jul 2015
Copy link to clipboard 
Print this post

Missing command RMDIR

> mkdir "fred"
> files
\
<DIR> FRED
<DIR> TEST
2 directories, 0 files
> rmdir "fred"
Error: Unknown command


I tried various spellings without any luck.

Jim
VK7JH
MMedit
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3281
Posted: 11:04am 29 Jul 2015
Copy link to clipboard 
Print this post

Yes, RMDIR is not implemented.

I debated with myself if it should be included. It would not be needed for normal data recording programs and if it was included it would also add clutter to the command set. BUT, it is something that people expect, particularly if they are using the MM+ as a general purpose computer.

So I am still debating...
Geoff Graham - http://geoffg.net
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2947
Posted: 11:25am 29 Jul 2015
Copy link to clipboard 
Print this post

Geoff,

You could always use MKDIR-

or

Just use MKDIR to toggle, if the directory exists already then delete it. (Prompt??)

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 01:21pm 29 Jul 2015
Copy link to clipboard 
Print this post

  Geoffg said   Yes, RMDIR is not implemented.

So I am still debating...


It depends on the convenience or otherwise of removing the SDcard.

If you extend XMODEM to work with files, the need to swap cards around is reduced and RMDIR would be useful.

Without the ability to get files on and off the card remotely with XMODEM, RMDIR has little appeal.


RMDIR is in the 'Micromite Advanced Features' manual.

Jim
VK7JH
MMedit
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:51pm 29 Jul 2015
Copy link to clipboard 
Print this post

Would it be possible to have OPTION LIST that shows all options?

Example:

> OPTION LIST
LCDPANEL ILI9341 RL 1 2 3
TOUCH 12
SDCARD DISABLED

>


Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 04:12pm 29 Jul 2015
Copy link to clipboard 
Print this post

GUI TEST DISPLAY locks up after drawing a distorted circle on the display on an ST7735.


Micromites and Maximites! - Beginning Maximite
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 10:18pm 15 Aug 2015
Copy link to clipboard 
Print this post

Page 18 of the Micromite user manual has a chart showing CPU speed control. The headings in the chart are labeled "Maximite 28 and 44 pin" and "Maximite plus". They should read Micromite.

Also I find referring to the micromite with the MM abbreviation confusing as this used to mean the original Maximite. I suspect it could cause some confusion to people new to the Maximite and Micromite as well. Would it be better to use uM or uMM for micromite and uM+ or uMM+ for the plus version?

Greg
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2931
Posted: 10:49pm 15 Aug 2015
Copy link to clipboard 
Print this post

Greg,

You raise a valid point. IMHO it makes perfect sense to use:
MM = MaxiMite
uM = Micromite
uM+ = MicroMite +

Only issue is for those of us (me included) that are use to using MM for MicroMite - there will be lots of 'slip-ups' where we mean uM

Well spotted on the headings too!

WW
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 12:04am 16 Aug 2015
Copy link to clipboard 
Print this post

how about:

MM = MaxiMite
mm = Micromite
mm+ = MicroMite +

Though I do like the uM better and that is how I label my chips.
My problem is then distinguishing the mx150 and the mx170 versions.
I suppose uMv1 and uMv2 would do it.

Cheers
Chris

http://caroper.blogspot.com/
 
     Page 2 of 5    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025