|
Forum Index : Microcontroller and PC projects : Help running MMEdit on Linux
| Author | Message | ||||
| apalert Regular Member Joined: 06/07/2023 Location: AustraliaPosts: 45 |
Linux newbie here attempting to get MMEdit running on Ubuntu 24.04.3 ARM64 which is installed in Parallels on my Macbook Pro. Installation seems to go OK, running getrequired.sh does a whole lot of stuff seemingly without error. Then double click MMEdit icon does absolutely nothing. In Terminal ./MMEdit does nothing either except reports "bash: ./MMEdit: cannot execute binary file: Exec format error" . Is there a clue there? I'm stumped and sure would appreciate any ideas anyone has! |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6455 |
MMEdit is for Intel not ARM so sorry. You 'might' be able to get the RPi version running when I release it but I doubt it will run either. Jim VK7JH MMedit |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 750 |
Try to run a AMD64 Linux version with Parallels |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2725 |
I tried mmedit linux on rpi and Jim said not working yet. tried the win version using wine? I just luv mmedit and mmcc on win |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6455 |
I forgot I had included the RPi files in the latest release. It is extremely unlikely that the RPi executable files will run on a MAC. The RPi is the only ARM I will ever produce for. The Ubuntu version of MMEdit requires a CPU capable of running Intel/AMD code. VK7JH MMedit |
||||
| LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 562 |
Maybe you can run its windows version on Wine. I never tried because I'm using VSCode, however I can run MMB4W on my M1 with wine without any issues |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6455 |
That is worth trying. I would try the 'portable' version which is more likely to be compatible with Wine. There have been some issues with some versions of Wine. VK7JH MMedit |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2725 |
mmedit amd mmcc work fine on win. will they work on linux and is rpi os linux? luvin rpi400 with trixie. try rpi twister os with rpi 4/400.. it's not much fun compared to 32 bit version. sorry if off topic. "everyone dumping win for linux" . I don't think so but be prepared. my rpi 400 does what I want, download pirate proxy to the torrent app or youtube fine playback, vlc for films. groovy |
||||
| apalert Regular Member Joined: 06/07/2023 Location: AustraliaPosts: 45 |
Thanks everyone for suggestions. Ubuntu AMD64 version refused to install on Macbook M1 with ARM64 Parallels. However seems ok in Parallels on my older iMac with Intel processor and let me install linux version of MMEdit/MMCC. They seem to run fine except can't connect Picomite via UART. Really need to do that as it is a battery powered project. Using a CP2102 USB to UART converter, MMCC in Windows sees it as COM3 and talks to it just fine. MMCC in Ubuntu sees it as ttyUSB0 but won't connect :S |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6455 |
Can you test the serial port with another terminal program? VK7JH MMedit |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3016 |
I think in most Linux distros by default users don't have serial port permission. How to get permission is explained elsewhere on TBS, but so far haven't found it. Edit. Some info in this thread Edited 2025-12-29 16:40 by phil99 |
||||
| apalert Regular Member Joined: 06/07/2023 Location: AustraliaPosts: 45 |
Parallels seems to recognize that a CP2102 has been connected and that it is a USB to UART bridge but doesn't show anything more such as it's port ID. As far as testing, in a terminal I enter: ls /dev/tty* which finds the USB connection as: /dev/ttyUSB0 but when I try to access it with: screen /dev/ttyUSB0 I get hit with "permission denied" |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3016 |
Try the link in my previous post, that may have the answer. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8568 |
IIRC some Linux versions need the user to be in the modem permissions group to use serial ports. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4244 |
To see its ownership etc, use the longer form of ls ls -l /dev/ttyUSB* (use /dev/tty* if there are no USB ones) John |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 750 |
Try this or this with UART converter Edit: sorry I got wrong. In Linux your user needs to be member of the dialout group I don't know parallels but with Virtualbox I need to filter the USB ID to prevent that the host connects to it instead of the guest OS. Edited 2025-12-29 19:48 by dddns |
||||
| LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 562 |
There is another tool you can use to run X86 software on Arm, it is called FEX-Emu, a open source alternative to the Apple's Rosetta Stone https://youtu.be/3yDXyW1WERg?si=UDmGQt60nu4KAjGP |
||||
| apalert Regular Member Joined: 06/07/2023 Location: AustraliaPosts: 45 |
Thanks again for all the help folks AND we have had a WIN Seems the key was to give the logged in user serial port permission as phil99 alluded to, that being done by making them a member of the dialout group as dddns suggested. The command was: sudo adduser $USER dialout Once done was able to connect to and control picomite using MMCC via CP2102 USB to UART bridge. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |