|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Programming with OSX
is there anyway program in the new Pic C language on a Mac running OS 10.3???? Will running VirtualPC be the only way? I just don't want to use the 6yr old piece of junk that has no battery that i have in our robotics lab
|
|
#2
|
|||||
|
|||||
|
Re: Programming with OSX
Quote:
YEAH! Power to the Mac users. I believe that you need a serial port to transfer info, but I havn't gotten a good look at the controller this year, we have had the controller hogged by our programmers.... ![]() |
|
#3
|
||||
|
||||
|
Re: Programming with OSX
Quote:
![]() You can buy one of these adapters from must any place that sells computer stuff. |
|
#4
|
|||
|
|||
|
Re: Programming with OSX
ok next question, i know you can go ahead and write code in a note pad like program, but would i be able to use "X Code" apples software development software to write the new C language.
And is the Language "C", "C++", or "C#" i'm confused on what sintax it is. |
|
#5
|
|||
|
|||
|
Re: Programming with OSX
ok, it's writtin in "C", did a little more stumbling acrossed the interweb and got that cleared up.
I'm stilll not sure if X-code will compile "C". I mean Unix is written in "C", OSX is Unix with a pretty GUI. Anyone know if x-code will compile "C"?????? |
|
#6
|
|||||
|
|||||
|
Re: Programming with OSX
Quote:
However, if you simply use your normal compiler, rather than the C18 compiler, you will not get a usable hex file for the PIC. You must use a compiler meant for use with the PIC because your mac and the PIC have vastly different archetectures. I would go with the VPC, if I were you. You can still use the X-Code development environment, if you just want a pretty IDE (Integrated Development Environment) to make writing easier. You just can't compile with this either. I feel some of your pain, being a Linux user myself, and have found that the only way for me to do it is to use a program called Wine (Win emulator) to run MPLab... |
|
#7
|
||||
|
||||
|
Re: Programming with OSX
Quote:
X-code is specifically designed for just writing programs in Panther. It was never meant to compile programs for embedded processors. Now that doesn't mean that it can't, somebody one day could make an add-on compiler for x-code or any other program. It really sucks that mac users finally got the ability to be able to program in PBasic, only just to loose that ability by Innovation FIRST switching to a different language and compiler. However I do understand that PBasic was very limited, and many FIRST teams wanted a more advance language to be able to program more. |
|
#8
|
||||
|
||||
|
Re: Programming with OSX
Well i'm not sure i understarnd ur question. If you are asking if you can write code in somethign other than C18 anf then use C18 then the answer is absolutely! If you are asking if you can compile code for the pic using somethign other than c18 then the answer is no!
|
|
#9
|
|||||
|
|||||
|
Re: Programming with OSX
Being a Macintosh user, and employed under the name Macintosh, I will throw in a suggestion. Go to Apple's downloading section, and look through the development tools given, they are either freeware or shareware/demo versions of the software that you guys may be able to use for programming your bot this year. I'll give you the link: Apple Development Tools for OS X. I hope this helps. Also about an adaptor for using serial, Keyspan offers one, and I know it has been used in previous years and works pretty well.
Ivey |
|
#10
|
|||
|
|||
|
Re: Programming with OSX
http://www.apple.com/downloads/macos...vironment.html
GNU Development Environment: A complete suite of GNU C, C++, Fortran, and Java Cross Compilers, and the GDB CPU Simulator and Debugger for embedded microprocessor applications development. Targets development for ARM7, ARM9, and XScale applications I don't know if this would help or not, i'm thinking not. |
|
#11
|
|||||
|
|||||
|
Re: Programming with OSX
Hey, It turns out the IFI Linux PICloader I wrote for Linux works with my friends Mac OS X ibook with a few tweaks dealing with termios.h. I'm working on a port, but I don't have a mac. The only problem is figuring out a way to run MC18 on Mac Os X by using an emulator of some sort, any ideas? Anyone want to look into Bochs x86 compiler or wine, if there's support for mac.
Thanks, Ryan Waliany |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Compatition | Angela06 | Programming | 30 | 08-04-2005 23:12 |
| programming the compressor | archiver | 2001 | 4 | 23-06-2002 23:19 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |
| pbasic programming | punarhero | Programming | 4 | 21-01-2002 23:32 |