CodeWarrior Log Errors and Slow Loading

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Log Errors and Slow Loading

1,932 Views
mjosborne
Contributor II

Hello,

 

Installed Products:
 - CodeWarrior for MCU
     Version: 10.1
     Build Id:110726

 

Target Device is MCF5225x.

 

I've been tasked with porting a 'classic' CodeWarrior project (7.2) to 10.1.

 

Previous posts are here:

https://community.freescale.com/message/103918#103918

https://community.freescale.com/message/104006#104006

 

I used the classic project importer wizard and managed to get the new project up and running (i.e. build, flash, debug) after manually re-creating the launch configurations and remote system entry. 

 

I needed to ensure that the 'new' project could be placed in version control and shared among several developers, regardless of the directory that the developers choose to install it in; so I also needed to make some changes to the access (include) paths so that the project only used relative paths.

 

There are actually 3 projects in the workspace: MQX BSP, MQX PSP, and our app; only our app project needed the launch config and remote system created from scratch, and the MQX projects worked fine after import.  However, our app project is having some problems...

 

When opening the project I see the User Operation is Waiting window and it is SLOW to finish.  The log file (.metadata/.log) has some errors where Threads are timing out, and also some errors on files being read-only.

Perhaps the read-only files are the root cause of this but they are under version control: .project, .cproject, *.launch, rseHostSettingsCache.xml.

 

I've attached a screen shot of the window (I wish I could see what the first entry is), and the log file as well.  Are there any CW10 experts out there that can advise on what might be the cause of the Thread timeouts?

 

Thanks,

 

Matt.

Labels (1)
0 Kudos
8 Replies

985 Views
mjosborne
Contributor II

Hmm, com.freescale.analysis seems to be the package it is having trouble with.

 

"com.freescale.analysis.PluginLog", thread "Thread[Worker-6,5,main]" timed out waiting (5000ms) for thread ...

"com.freescale.analysis.AnalysisConsole", thread "Thread[Worker-6,5,main]" timed out waiting (5000ms) for thread...

"com.freescale.analysis.ResourceManager", thread "Thread[Worker-6,5,main]" timed out waiting (5000ms) for thread...

"com.freescale.analysis.ResourceManager$1", thread "Thread[Worker-6,5,main]" timed out waiting (5000ms) for thread...

 

Is there any info on this package? i.e. what it does, if it can be 'disabled' via the GUI or project XML if it is not needed.

 

There are a couple of internal errors as well but this seemed like a good place to start.

 

-Matt

0 Kudos

985 Views
J2MEJediMaster
Specialist I

It sounds like some of the project's meta data might have gotten corrupted. I think a cleaning of the workspace is in order. To find out how to do this, check out this blog post.

 

---Tom

0 Kudos

985 Views
mjosborne
Contributor II

Hi Tom,

 

thanks for the info.

 

I've imported the project (using the import->existing projects) into new workspaces several times and it doesn't fix the problem. 

 

Is there any way to validate the .project & .cproject files.

 

Thanks again,

 

Matt.

0 Kudos

985 Views
BlackNight
NXP Employee
NXP Employee

Hi Matt,

In MCU10.1 there is an option to extend the timout for software analyis.

Under the menu Window > Preferences > Analysis.

You might increase that value (say to 30 seconds).

This would prevent loading these modules from timouts. I had such timouts on my rather slow machine.

 

Hope this helps,

BK

 

0 Kudos

985 Views
mjosborne
Contributor II

Thanks BK,

 

the value was already 30s so I bumped it up to 60s.

 

No timeout errors in log after several project opens; I still see the User Operation Waiting window and it is still slow in my opinion considering the machine I have: Intel i7 with 8GB RAM running Windows 7.

 

I'll keep testing...

 

-Matt

0 Kudos

985 Views
mjosborne
Contributor II

*Update*

 

I upgraded the 10.2 and the problems have stopped.



*Request*

 

Maybe it's already there and I'm just missing it, but it sure would be nice if the IDE supported detaching perspectives so we can make use multiple displays.

 

Thanks,

 

Matt.

0 Kudos

985 Views
BlackNight
NXP Employee
NXP Employee

*Response*

Yes, this is possible.

See the article "Go, multiply and detach: Multiple Screens with Eclipse" on http://mcuoneclipse.wordpress.com/

 

Hope this helps,

BK

0 Kudos

985 Views
mjosborne
Contributor II

Thanks for the link.

 

Still can't seem to get the 'detach' option for source files or perspectives though? 

 

I can split off the console output and the other associated views to a detached window, but what I really want is to be able to have debug perspective on one display and C/C++ on the other; or two source files open for editing - one on each display.

0 Kudos