Saso Zbontar wrote: > I have troubles programming MSP430F1132. > Using MSP430 Flash Emulation Tool (MSP-FETP430IF 1.3) on LPT port > and MSPGCC programming suite with command "msp430-jtag.exe -eEp filename.hex" > I get the following response > > An error occoured: > Can't open interface > > Same HW with MSP430F1111A works OK. > Is this any of known issues (bugs) ??
I was plagued with this quaintly-spelled error message on one project: sometimes it programmed perfectly, sometimes the message popped up. Embarrasingly, it was nothing to do with MSP430GCC, the FET, or anything in the programming chain. The power supplied from the FET was marginal, and although it looked fine on a d.c. meter it dipped transiently below the required level during programming (which draws extra current). Applying solid external power to the target board during programming banished the error message forever. You need to be aware that the linear stabiliser often used to regulate a few mA for a low-powered MSP430 will normally not block reverse current. When the MSP is powered up directly by the programmer, the regulator conducts in reverse and tries to power up the whole board. If you have a USB programmer it may succeed, at least well enough to let programming work. If you are deriving power from a serial or parallel port, there is little in hand. With a nice, big USB supplying the power, there is a real possibility of thermal damage to the linear regulator in reverse mode, since its internal thermal protection will be defeated. The best practice seems to be: supply external power while programming. -- Rick Jenkins <[email protected]> Hartman Technica http://www.hartmantech.com Phone +1 (403) 230-1987 221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5
