First, let me profess my newbie status and throw myself on the mercy of the mail list.


I've been futzing with the linux mspgcc tools for a few weeks now and I am bruised and battered from the beating. I've had a very, very difficult time using the toolchain with the msp430F4270.


PROBLEM 1:
I am using Olimex's parallel port FET tool. Initially, gdbproxy would not recognize the 4270 at all. I finally found that there is a newer version of gdbproxy that isn't available on the mspgcc sourceforge page... seems like the logical place for it, rather than a stale version:(.

Gdbproxy will now recognize and talk to the 4270, but I get an error when I try to erase and reprogram flash on the 4270 (erase and program works fine with an F149 part). After fighting with that headache for too long, I finally downloaded and installed the python msp430-jtag tool from cvs and can use it to erase and program the part. I am then able to connect to the 4277 with gdproxy + insight and the on-target debugging works sporadically. Debugging with insight(v6.0) is *very* unstable. It doesn't take long before things get horked up and communication between insight and the 4270 seems to be lost.

Is anyone doing any on-target debugging with linux, mspgcc tools, and the 4270?


PROBLEM 2:
I thought the latest mspgcc cvs code was supposed to support the 4270 part? If I try to specify -mmcu-msp430x4270 I get an "unknown MCU" error from the compiler. I've been using -mmuc=msp430xE427, which seems to work for now. Also, I had to poach and modify a linker script to support the 4270.

I guess my questions are...
1) should I be using the cvs repository on sourceforge or is there another repository somewhere else I should be using? 2) I've listed the tool versions I'm using below. Should I be using a different version of any of these tools?




Tools with the appropriate mspgcc cvs source mods:
binutils -> 2.16.1
  mspgcc -> 3.2.3
     gdb -> 6.0
 insight -> 6.0
gdbproxy -> 0.7.1 (the latest(as far as I know) at soft-switch.org)
    jtag -> latest from mspgcc cvs

Mandrake Linux 10.1(kernel 2.6.8.1-25mdk)
Olimex parallel FET programming tool



Thanks,

Dave L.


Reply via email to