Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 00:12 30 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 : MMEdit and Linux (Ubuntu 14.04)

     Page 1 of 2    
Author Message
Tim036
Newbie

Joined: 25/11/2014
Location: United Kingdom
Posts: 17
Posted: 11:37am 25 Nov 2014
Copy link to clipboard 
Print this post

Well I've downloaded it and unpacked it, but I've no idea what to do next.

Do I get it running from Bash ?

If so how ?

Any tips greatly appreciated ! (Complete Newbie on this)

Many thanks,

Tim
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 12:06pm 25 Nov 2014
Copy link to clipboard 
Print this post

Hi Tim,

Welcome to the BSF - good to see you here.

When you say 'Complete Newbie' - do you mean to Linux or to MMBasic (or both)?

Hopefully you've received the 28-pin MicroMite and are looking to do something with it? Can I personally suggest using TeraTerm (Windows platform) first. You will need a USB-to-Serial convertor to connect the MicroMite to TeraTerm (and a 10uF cap across pins 19 & 20). Follow the simple procedure in the User Manual to get a response in TeraTerm (I loaded a self-running Welcome message/program which you should see).
If you get to see the Welcome message then you need to press Ctrl-C to stop execution (this returns you to the command prompt).

Then download MMEdit for Windows and have a quick play with that in Windows - nice and straight forward.

If however you are totally anti-Windows then I'm afraid you'll have to wait for someone else to chime in - I'm no expert when it comes to Linux - sorry . . .

PhilEdited by WhiteWizzard 2014-11-26
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Tim036
Newbie

Joined: 25/11/2014
Location: United Kingdom
Posts: 17
Posted: 12:38pm 25 Nov 2014
Copy link to clipboard 
Print this post

Linux I'm ok with but I'm a newbie with MicroMite and MMEdit.

I'd prefer not to touch Windows.

So I hope one of the members is a Linux Guru.

I'm very excited about trying this out as I used to use Picaxe a lot. (a few years ago)

Many thanks for responding.

: )))

Tim
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 12:47pm 25 Nov 2014
Copy link to clipboard 
Print this post

Hopefully TassyJim will be able to give you some expert guidance with MMEdit within Linux


For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 12:52pm 25 Nov 2014
Copy link to clipboard 
Print this post

  Tim036 said   Well I've downloaded it and unpacked it, but I've no idea what to do next.

Do I get it running from Bash ?

If so how ?

Any tips greatly appreciated ! (Complete Newbie on this)

Many thanks,

Tim


I assume you are talking about MMEdit2 which is a beta version and missing a lot of the recent features that MMEdit has.

After you have extracted it, use your file manager to locate the executable file MMedit and click on it.
You can also create a desktop shortcut for the executable but how you do that depends on your choice of file manager.

You may find that there are dependencies missing, depending on your installation.

I know very little about the numerous versions of Linux so I cannot be specific.

My recommendation is to download the Windows version of MMEdit and run it under Wine.

If you have problems with the serial ports under Wine, install ser2net and use the TCPIP option in MMEdit to connect to localhost. I find that way easier.

Jim


VK7JH
MMedit   MMBasic Help
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 01:18pm 25 Nov 2014
Copy link to clipboard 
Print this post

I would try MiniCom if you have any problems
with TassyJims suggestion.
(I myself could not get MMEdit to work with Wine)
http://linux.die.net/man/1/minicom
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9063
Posted: 01:21pm 25 Nov 2014
Copy link to clipboard 
Print this post

  Tim036 said  I'm very excited about trying this out as I used to use Picaxe a lot. (a few years ago)


Indeed. My first love in the microcontrollers was also PICAXE. But then along came this Micromite blonde with blue eyes and extra features....

Good to see you here - welcome, and please do post any/all problems - members here are very helpful.
Smoke makes things work. When the smoke gets out, it stops!
 
Tim036
Newbie

Joined: 25/11/2014
Location: United Kingdom
Posts: 17
Posted: 02:31pm 25 Nov 2014
Copy link to clipboard 
Print this post

I've got Cutecom and Minicom both working fine.

I think I'll leave MMEdit alone until its fully cooked,

(I'll try it but be too disappointed if nothing happens)(Update. clicking on the icon does not result in any action)

Never tried Wine.

Many many thanks for the tips !

A very happy Tim after finding this very supportive Forum !

Brill !

: ))))

TimEdited by Tim036 2014-11-27
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 02:37pm 25 Nov 2014
Copy link to clipboard 
Print this post

I know it grates, and at the risk of starting a LINUX vs Windows war, why not create a VMWare Virtual Machine on your LINUX machine, and then install Windows XP into the VM. A licensed copy of XP is dirt cheap these days - GBP 10 from http://www.os-operating-system.com/en/Operating-Systems/ . This way you can when you absolutely need to dip into Windows whilst keeping your main workhorse LINUX environment safe and sound.

Just a thought.

Peter
The only Konstant is Change
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:20pm 25 Nov 2014
Copy link to clipboard 
Print this post

> why not create a VMWare Virtual Machine on your LINUX machine,
> and then install Windows XP into the VM.

(Just in Fun)
And then install Virtual Box on the XP and another Linux
on top of that ! ..... You'd really have something
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 03:26pm 25 Nov 2014
Copy link to clipboard 
Print this post

@hitsware

recursion rules KO
The only Konstant is Change
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 04:18pm 25 Nov 2014
Copy link to clipboard 
Print this post

Are you running 32 or 64 bit Linux?

I only have a PC suitable for 32 bit so that is the only option.
I don't know how well 64 bit Linux handles 32 bit programs.

Provided it was extracted to a location that permits running from, the only other thing to check is the permissions of MMedit2. In my case it is runable without any need to change anything.

The system I use is running Kubuntu 14.04 32 bit

Jim

VK7JH
MMedit   MMBasic Help
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3659
Posted: 10:51pm 25 Nov 2014
Copy link to clipboard 
Print this post

  G8JCF said   I know it grates, and at the risk of starting a LINUX vs Windows war, why not create a VMWare Virtual Machine on your LINUX machine, and then install Windows XP into the VM. A licensed copy of XP is dirt cheap these days - GBP 10 from http://www.os-operating-system.com/en/Operating-Systems/ . This way you can when you absolutely need to dip into Windows whilst keeping your main workhorse LINUX environment safe and sound.

Just a thought.

Peter


It doesn't just grate, it's a serious pain. It's better than having both legs cut off but still rather like having one cut off. You get (nearly) all the usual headaches of Windows and few gains. I'd rather keep my legs (aka sanity).

WINE is preferable, more akin to having just one toe cut off. Still not the best.

A normal Linux program is what's wanted.

I've run 32-bit ones on 64-bit Linux generally without problems.

John
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 09:18am 26 Nov 2014
Copy link to clipboard 
Print this post

Long John Silver springs to mind.

Sorry JohnS, couldn't resist it

Peter
The only Konstant is Change
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 10:16am 26 Nov 2014
Copy link to clipboard 
Print this post

  JohnS said  
WINE is preferable, more akin to having just one toe cut off. Still not the best.

A normal Linux program is what's wanted.

I've run 32-bit ones on 64-bit Linux generally without problems.

John


I agree, Wine should work without having to go the Virtual machine way. Apart from slow serial ports which is resolved by using ser2net and TCPIP, Wine has worked reliably for me.

I would really like to know why MMEdit2 is not even trying to run for Tim. It makes thinks difficult to debug when there is no error message at all.

Jim
VK7JH
MMedit   MMBasic Help
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3659
Posted: 10:24am 26 Nov 2014
Copy link to clipboard 
Print this post

Re-reading his few posts more carefully, I think he's quite likely not ever actually tried to run it.

To over-abbreviate: he asks how, doesn't get told, says he'll leave it alone.

(I think he should not (again) be recommended to use any that's an EXE.)

JohnEdited by JohnS 2014-11-27
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 11:14am 26 Nov 2014
Copy link to clipboard 
Print this post

  JohnS said   Re-reading his few posts more carefully, I think he's quite likely not ever actually tried to run it.

To over-abbreviate: he asks how, doesn't get told, says he'll leave it alone.

(I think he should not (again) be recommended to use any that's an EXE.)

John

He seems to have the same response I have (IIRC)
MMedit2.tar.gz unpacks to MMedit2.tar
MMedit2.tar unpacks to MMedit2.xzm (.xzm is equivalent to .exe for my distro)
clicking MMedit2.xzm reports MMedit2 is running, (activated),
but there is no sign of it
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3659
Posted: 12:07pm 26 Nov 2014
Copy link to clipboard 
Print this post

Er... what?

I untar'ed the .tar.gz and didn't get such a file.

I got a normal Linux executable (details below) and it runs (badly) as one.

John
---
When I list what's in the .tar.gz with:
tar tvzf MMedit2.tar.gz
I get lots of files including MMedit2/MMEdit2
and when extracted if I enquire about that using:
file MMedit2/MMEdit2
I get:
MMedit2/MMEdit2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x5924eb0f69a4a40c5ef7f45a19304e4625b062c6, stripped
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 01:23pm 26 Nov 2014
Copy link to clipboard 
Print this post

You should be getting the results that JohnS is getting.
It should unpack to a folder with:
MMedit2 - the executable
portable.inf - a text file used to indicate the data folder is in the working directory
Data - a subfolder with the required support files.

Being a 'Windows person' I use a GUI unpacking program and GUI file manager

Jim
VK7JH
MMedit   MMBasic Help
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 01:37pm 26 Nov 2014
Copy link to clipboard 
Print this post

  TassyJim said   You should be getting the results that JohnS is getting.
It should unpack to a folder with:
MMedit2 - the executable
portable.inf - a text file used to indicate the data folder is in the working directory
Data - a subfolder with the required support files.

Being a 'Windows person' I use a GUI unpacking program and GUI file manager

Jim

I can't get your site now. I'll redownload and try again
and keep better track of the results when it comes back.
 
     Page 1 of 2    
Print this page
© JAQ Software 2024