Peter Mueller wrote:
I want to use the msp gcc toolchain on my Mac. Creating the compilers etc. should work (hope so). But before I spend effort I like to know if
they do on MacOSX, it should be possible to compile gcc on older Mac OS too, i guess...
there is a debug interface for Mac OS? Macs have no parallel ports anymore. I assume USB is the only possibility. If there is no USB debug interface - has someone experience with a USB->parallel port interface on Mac OS?
i dont know. basicaly it should be possible to make a libHIL.so that drives the JTAG pins with any interface you want. in practice, only parallel port drivers exits now. the windows and ioctl version accesses the parallelport address in the PC's IO ports directly, that not supported on non PC based architectures. the third implementation uses ppdev, a linux kernel module that abstracts the parallel port access, but i don't think thats available on MacOSX.
there would be a possibility with a simple hardware, based on a MSP430. i have a layout and schematics in the CVS. the problem is that somebody should write a GDB stub for it. that would be a small GDB server, that talks over the serial line. (something like a port of msp430-gdbproxy for the MSP430, no network but serial port)
the problem is that i havent come to write that one yet.. i started with an implementation of the gdb protocol, i have mem and registers read/write but starting and debugging a program is not yet done :-(
a workaound may be to get a cheap/old PC, network it with your Mac and run gdbproxy on the PC, the frontend on your Mac.
chris