Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:23 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 : Programming a micromite using a MAC

Author Message
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2947
Posted: 09:08pm 30 Mar 2016
Copy link to clipboard 
Print this post

GDay All,

A friend of mine (who I gave a MuP to) has only a MAC laptop.. How can he program his code into his micromite?

I have to admit I am stumped as I do not think that Jim has written a mac version of his (invaluable) MMEdit program

Kind Regards,

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

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:36pm 30 Mar 2016
Copy link to clipboard 
Print this post

Hi
This one is not free but does the job

Mac Serial

Jman
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 10:43pm 30 Mar 2016
Copy link to clipboard 
Print this post

Easy....

Run Terminal

Then issue the command

screen /dev/tty.usbserial-[YOUR-DEVICE-ID] 115200

[YOUR-DEVICE-ID] can be found in System Information / Hardware / USB / Your Device / Serial number when the device is plugged in

Eg DA01IIJ0 for the USB of a MUP 2.

so

screen /dev/tty.usbserial-DA01IIJ0 115200

...Hopefully easy

If you get this far let me know, there was something I did for the F1-F4 keys to work properly also

Anthony
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4032
Posted: 10:45pm 30 Mar 2016
Copy link to clipboard 
Print this post

On Linux and maybe a Mac you can hit TAB to auto-complete things (command names, files etc), so you can do things like

screen /dev/tty.usb TAB

and it'll fill in the one there is or provide a list if more than one. You just type enough chars to choose from the list and hit TAB again. Have a play...

John
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 11:16pm 30 Mar 2016
Copy link to clipboard 
Print this post

TAB is useful

ls /dev/tty TAB TAB

will list them all

so,
screen /dev/tty.usb TAB 115200
will likely bring up your usb device. Note: 115200 is of course the baudrate, use yours accordingly.

As for the function keys,

In the Terminal Menu item choose Preferences / Profiles / Keyboard and edit

F1 Action to \033[11~
F2 Action to \033[12~
F3 Action to \033[13~
F4 Action to \033[14~

and the Function keys should work fine.

Anthony.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2947
Posted: 04:19pm 31 Mar 2016
Copy link to clipboard 
Print this post

Thanks Fellas,

OK so I assume a standard USB-TTL Serial adapter will work on his MAC then he can talk to it..

Does he then have to issue the XMODEM commands to send his code or just use the inbuilt editor?

I have been spoilt by MMEdit I am afraid to say...

Kind Regards,

MickEdited by bigmik 2016-04-02
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6264
Posted: 04:25pm 31 Mar 2016
Copy link to clipboard 
Print this post

XMODEM or AUTOSAVE.
If the Mac program lets you paste code into it and has a sufficient delay between lines being sent, AUTOSAVE is probably the easiest way.

Jim
VK7JH
MMedit
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 04:46pm 31 Mar 2016
Copy link to clipboard 
Print this post

SCREEN is just a terminal and the inbuilt MM editor works fine.

The MUP LCD Backpack (yours Mick) plugs in fine along with any other the other single board TTL - USB devices I have. They all show up in /dev/tty.usbserialXXXXXX.

I can double check on Xmodem tonight for the Mac however I'm at not-sure to I don't-think-so... Like-wise with pasting

Anthony.Edited by ajkw 2016-04-02
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025