Other Parts Discussed in Thread: MSP-FET
Ever since I started working with CCS 5 years ago, there has been a problem that keeps repeating. I get this error when trying to connect to and program a uP:.
MSP430: Error initializing emulator: MSP-FET430UIF is already in use
I have several posts on this form about this, as do 30+ other people over the last 10 years.
To save time here, some information:
Every board I've worked on so far is a MSP430 family.
Rebooting the PC does not help. Power cycling the PC does not help.
I can always see the MSPFET module in the device manager.
CCS revision is Version: 12.6.0.00008
Just a few days ago I was working on another board, no problems. The board I'm working on now was for a software change, the board is known working and has had software loaded into it before.
What is particularly disturbing is that in 10 years, this error message has stayed the same. Imagine how useful it would be if in addition to the "already in use" the error message said _what_ device does it think is using the MSPFET. Think of the hours of time wasted by developers because CCS can't provide more detailed error messages on the process of connecting to a PCB such as:
1) Unable to find debugger on a USB com port
2) Found debugger, but can't talk to it
3) CCS thinks that you are still debugging another project, and as such things the MSPFET is already in use (_and_ told you which project)
4) Found debugger, can talk to it, but it can't talk to any processor
5) Found debugger, can talk to it, but the processor is not the one specified in the project profile.
Such clarity in debug statements would be wonderful. The current error is as useless as a poor compiler that just says "syntax error" when there clearly some very specific issue that was encountered, it's just that the compiler writer was lazy and did not provide a more detailed error message. I again state that everything was working fine just a few days ago on another board.
In a further attempt to avoid several rounds of "is it plugged in", let me pre-emptively ask these questions:
1) Does CCS have a concept of which project has the MSPFET / which project "owns" the MSPFET
2) If so, how do you clear this ownership ?
3) The error reads "...is already in use". How can a developer determine _which_ project/software/processor/resources/whatever claims to be using the MSFET ?
4) What procedure should be used when you are done working on a given PCB with a given processor to avoid the "....already in use" error ?
5) (this is somewhat rhetorical) Any explanation as to how this error has not been fixed in over 10 years ?
- pete