![]() |
Forum Index : Microcontroller and PC projects : Programming a micromite using a MAC
Author | Message | ||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2947 |
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 ZealandPosts: 711 |
Hi This one is not free but does the job Mac Serial Jman |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
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 KingdomPosts: 4032 |
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: AustraliaPosts: 290 |
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: AustraliaPosts: 2947 |
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, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6264 |
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: AustraliaPosts: 290 |
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. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |