![]() |
Programming on a Mac
Is it possible to do and what do i need to do it for robotics
|
Re: Programming on a Mac
I don't think that there is any Mac native software for programming FIRST robots. You could run VirtualPC to emulate a Windows PC and run all the MPLab stuff that way. If you have a MacBook or a MacBook Pro you could run BootCamp and install Windows and then run MPLab without any emulation. Take your pick, but as far as I know there are no Mac versions of MPLab.
|
Re: Programming on a Mac
Quote:
http://darwine.opendarwin.org/ |
Re: Programming on a Mac
Has anyone out there in CD-Macland tried running MPLab on WinXP on a MacBook yet? Or with a virtual machine under OS X, like Parallels?
Just wondering if there are any issues with USB-serial converter drivers or other hardwareish things. |
Re: Programming on a Mac
I'm not too familiar with Mac stuff, but I know someone got FRC programming to work with Eclipse.
Eclipse works on Mac. There's a MacOS native solution! |
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
Quote:
In a nutshell, "If it works in windows, it will work in bootcamp" was his response. |
Re: Programming on a Mac
I have a Core2Duo Macbook Pro.
I have Parallels with WinXP with service pack 2. MPLab and friends work wonderfully, and compiling with mcc18 is successful. However, the RadioShack USB to Serial adapter that I just installed drivers for isn't working. The documentation says that when I plug in the USB end, Windows should create another device in my "Ports (COM & LPT)" section in device manager. That doesn't happen in Parallels, though it does happen on a regular desktop PC. So that has been my experience. Anybody have ideas? We were so close... |
Re: Programming on a Mac
I have experience with vmware, none at all with parallels. In vmware there is a dialog to configure what hardware to emulate for the virtual machine and there is the ability to give the vm access to a real serial port. I would imagine that there is something similar for parallels. I tested it on a linux host with windows guest and it worked without problems with the radioshack usb to serial adapter.
|
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
You need to sync devices in Parallels to the VM. More specifically, put your VM in "windowed" mode, click the USB symbol in the bottom right corner of Parallels, and click the device "On"
|
Re: Programming on a Mac
Here is an article about sharing a serial port using Parallels
http://www.macosxhints.com/article.p...70111135928615 |
Re: Programming on a Mac
I was successfully able to run easyC Pro in Parallels and download the code to the robot. This was about a month and half ago before Parallels fully supported USB 2.0 so the download was a little slow. I haven't tried it since with the new support but I can only assume it works faster now.
|
Re: Programming on a Mac
easyC PRO works in both Parallels and Bootcamped XP. We are also offering free copies to the team or person who can make it install and run in DarWine.
|
Re: Programming on a Mac
Since the IDE doesn't matter the real question is this: is there a compiler and/or IFI loader that works with Macs (natively)?
Furthermore, has anyone had any luck with QEMU (called Q for Mac) and MPLab? |
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
Quote:
I have not tried Q, but it requires a legal copy of windows in order to work. Q also has had limited hardware support. I can tell you that MPlab & the compiler runs in crossover (which is a commercial wine implantation), but that runs only on x86 macs. There is a PPC version of wine called Darwine that might be able to run it. So if you are adventurous you can try it out. |
Re: Programming on a Mac
Quote:
IFI_Loader is not required. There is also Loader Reloaded, picloader, and my own pycloader. (the last needs testing.) |
Re: Programming on a Mac
I just use parallels on my macbook and everything works flawlessly with it. One annoying thing is that when you connect a device to the computer like a usb to serial converter, you have to click on the devices menu in parallels mac menu bar and select the device before the virtual machine can see it.
One problem i have is that loading the code through my radio shack usb to serial converter is so slow. Does anyone have a way to speed this up, or is it just the price of the emulation that the converter has to do? |
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
Has anybody been able to get EasyC to work on a PowerPC based system with Virtual PC & Win XP?
The installer get most of the way through the install, and a tiny window pops up that says "Starting Error." Ray Team 1138 |
Re: Programming on a Mac
Quote:
-Nick |
Re: Programming on a Mac
I have set it up using wine on a Intel mac (sorry PPC people, not going to work).
Long directions here: http://www.chsrobotics.com/?page_id=7 Short: Install XCode and X11 Download wine source and compile + install Install mcc18 (in X11 xterm) using wine Grab our Makefile (see link above) Go! We have not figured out how to flash the microcontroller yet though (it will hang), but we have not spent much time on figuring out where things are going wrong. |
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
Quote:
Can you be more specific? Are you running IFI_LOADER under wine? IFI Reloaded? pycloader? |
Re: Programming on a Mac
Quote:
I tried your pyctools, but it dies on a syntax error on line 177 in intelhex.py. I am not a python programmer, so I do not know how to fix it. Any time you can put into figureing this out would be really awesome! |
Re: Programming on a Mac
If you're new at programing I recommend downloading Unix and then running Cygwin to type the C program. Vi is ok, but it's tough to use for first timers. What all do you need to program in? That could change everything. In fact, it does change everything!!! OH NO!
|
Re: Programming on a Mac
Quote:
|
Re: Programming on a Mac
For the intel guys it seems that the best way to program is to use bootcamp. I sent Parallels an e-mail about slow USB but not responce yet. USB-to-Serial is pretty fast in XP/Bootcamp. I hope Paralles does get USB sped up because rebooting all day is a pain.
|
| All times are GMT -5. The time now is 03:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi