Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:01 12 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 : MMEdit V5

     Page 6 of 19    
Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 07:14pm 11 Apr 2022
Copy link to clipboard 
Print this post

  fred777 said  Hi,
is there any way to assign a function key to the "Load File and Run it" toolbar icon?
A pulldown menu entry would also work (I would use Autohotkey to assign a Function key)

Cheers,
Fred


Hi Fred,

Does Alt+A+Enter work?

Craig
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 08:52pm 11 Apr 2022
Copy link to clipboard 
Print this post

  fred777 said  Hi,
is there any way to assign a function key to the "Load File and Run it" toolbar icon?
A pulldown menu entry would also work (I would use Autohotkey to assign a Function key)

Cheers,
Fred

Menu item is already there...


I will look and see what suitable key combos are available.
I think F2 is free and that's the same as the inbuilt editors so make for a good candidate.

Jim
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 10:29pm 11 Apr 2022
Copy link to clipboard 
Print this post

I have uploaded the Windows installers and zips with a few updates.
F2 is now a shortcut for "run and go"
F6 is now a shortcut for "Run DOS" or whatever you have your default external program set to.

My website is getting moved tomorrow night (East Australia time) so the DNS will get lost for a while.
VK7JH
MMedit
 
fred777
Regular Member

Joined: 01/07/2021
Location: United Kingdom
Posts: 57
Posted: 09:34am 12 Apr 2022
Copy link to clipboard 
Print this post

  TassyJim said  F2 is now a shortcut for "run and go"


Thanks!!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 05:03am 19 Apr 2022
Copy link to clipboard 
Print this post

I have updated the MMEdit5 files on my website (except RPi)
I will get my RPi sorted out again soon..

There are a few small tweaks including one for Brian:



Find searches are now remembered between sessions.

I am having trouble getting baud rates higher than 115200 on Linux. I know it can be done but I still have more work to do.
They don't make it easy.

Jim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1095
Posted: 08:28am 19 Apr 2022
Copy link to clipboard 
Print this post

EXCELLENT!!!  

Thanks Jim. Much appreciated.

Brian
Edited 2022-04-19 18:42 by Chopperp
ChopperP
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4038
Posted: 11:18am 19 Apr 2022
Copy link to clipboard 
Print this post

  TassyJim said  I am having trouble getting baud rates higher than 115200 on Linux. I know it can be done but I still have more work to do.
They don't make it easy.

Jim

What's the problem?

Also, which computer & Linux (distro etc)?

John
Edited 2022-04-19 21:21 by JohnS
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 09:20pm 19 Apr 2022
Copy link to clipboard 
Print this post

  JohnS said  
What's the problem?

Also, which computer & Linux (distro etc)?

John

I am using Linux Mint 20.3 running in a VM on W11
The code I am using for setting the baudrate uses ioctl which usually works.

Baudrates 115200 and lower don't need the fudge to set them. That is something that should have been addressed in the Linux kernel 20+ years ago.

I am using a beta version of PureBasic and I need to check an earlier version as I think the problem is with the beta version.

Jim
VK7JH
MMedit
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4038
Posted: 10:12pm 19 Apr 2022
Copy link to clipboard 
Print this post

I was thinking of cfsetispeed & cfsetospeed

No good?

John
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 10:51pm 19 Apr 2022
Copy link to clipboard 
Print this post

The problem is NOT with PureBasic after all.
I can set a FTDI port to any speed OK but the CH340 used on my CMM2 doesn't want to play. Putty has no problem so there has to be a way.

It might be just in the VM so I will try a true installation next.

Jim
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 07:49am 20 Apr 2022
Copy link to clipboard 
Print this post

Progress
I have tcsetattr() working.
I can now set the CH340 baudrate to 460800 etc in Linux

I just need to do a bit more testing

Jim
VK7JH
MMedit
 
al18
Senior Member

Joined: 06/07/2019
Location: United States
Posts: 228
Posted: 11:46am 20 Apr 2022
Copy link to clipboard 
Print this post

According to the CMM2 latest user manual 5.07.01, default speed is 115200 bps. Can the 1st generation CMM2 go faster?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 09:31pm 20 Apr 2022
Copy link to clipboard 
Print this post

The CMM2 uses a separate chip for the USB. If your system has a microchip version, it should be able to run at 230400 reliably.
It 'might' go faster but I haven't tried.

I don't know what your system is using.

While faster comms sounds like a good idea, it depends on what you are doing. Sometimes the faster rate can be harder to keep up with.
For general terminal use, the baudrate makes little difference.

Jim
VK7JH
MMedit
 
Kabron

Regular Member

Joined: 30/11/2017
Location: Germany
Posts: 65
Posted: 06:14am 22 Apr 2022
Copy link to clipboard 
Print this post

Hi there,
with the fresh version 2022/04/19
I do not see MMB4W option in Action menu.

Sorry, solved
Edited 2022-04-22 16:17 by Kabron
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 06:17am 22 Apr 2022
Copy link to clipboard 
Print this post

  Kabron said  Hi there,
with the fresh version 2022/04/19
I do not see MMB4W option in Action menu.

You have to add it.
MMEdit has no idea where you put the exe.
VK7JH
MMedit
 
Kabron

Regular Member

Joined: 30/11/2017
Location: Germany
Posts: 65
Posted: 06:20am 22 Apr 2022
Copy link to clipboard 
Print this post

I have to launch mmb4w via cmd file, containing mmbasic.exe 0.
How in this case to pass file argument to mmb4w?

Solved:
mmbasicw.exe 0 %1
Edited 2022-04-22 16:28 by Kabron
 
Rickard5

Guru

Joined: 31/03/2022
Location: United States
Posts: 463
Posted: 11:23am 22 Apr 2022
Copy link to clipboard 
Print this post

is there any chance ever of a bare metal boot to basic Raspberry Pi version ?
PLEASE PLEASE
I may be Vulgar, but , while I'm poor, I'm Industrious, Honest,  and trustworthy! I Know my Place
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4038
Posted: 11:31am 22 Apr 2022
Copy link to clipboard 
Print this post

  Rickard5 said  is there any chance ever of a bare metal boot to basic Raspberry Pi version ?
PLEASE PLEASE

Please do us all a favour by reading and taking proper note of the existing posts about this - it's a HUGE task that NO-ONE has volunteered to do.

Maybe you?

John
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 12:15pm 22 Apr 2022
Copy link to clipboard 
Print this post

  Rickard5 said  is there any chance ever of a bare metal boot to basic Raspberry Pi version ?
PLEASE PLEASE


This has been discussed a lot in the past. The answer is a resounding NO, not unless you decide to do it anyway. :)

And please try to keep to the correct thread (or, if you really must, create a new one) for asking about this - it has nothing at all to do with MMEdit.
Edited 2022-04-22 22:19 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1095
Posted: 11:36am 27 Apr 2022
Copy link to clipboard 
Print this post

Hi Jim

Remembering the file searches in Find is great, but out of interest, how do you clear the list?

Brian
ChopperP
 
     Page 6 of 19    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025