Internal: MCUCommonPageUI: ConfigInfo is empty

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Internal: MCUCommonPageUI: ConfigInfo is empty

2,406件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Mon May 28 03:56:26 MST 2012
I created a simple C project in LPCXpresso and built it succesfully. Then I was able to enter the debug mode using Xpresso board.
The problem:
When I try to change the MCU Settings, I have got the Error: "Internal: MCUCommonPageUI: ConfigInfo is empty". Now, I am not able to enter the debug mode. I got the error: Internal Error: Debug configuration is Empty.
These are the logs:

[I]!SESSION 2012-05-28 11:29:11.692 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_30
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=tr_TR
Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:\Users\sena.ergullu.artesis\Documents\LPCXpresso_4.2.2_275\workspace5

!ENTRY org.eclipse.ui 2 0 2012-05-28 11:29:13.069
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2012-05-28 11:29:13.069
!MESSAGE Could not parse key sequence: plug-in='org.eclipse.cdt.make.ui', id='org.eclipse.cdt.make.ui.targetBuildCommand', keySequence='Shift+F9'

!ENTRY org.eclipse.ui 4 4 2012-05-28 11:29:15.237
!MESSAGE Unable to find view with id: com.crt.trueview.views.DisassemblyViewer, when creating perspective com.crt.lite.perspective.CRTPerspective

!ENTRY org.eclipse.cdt.core 1 0 2012-05-28 12:12:36.489
!MESSAGE Indexed 'deneme_2' (0 sources, 22 headers) in 0,27 sec: 189 declarations; 50 references; 5 unresolved inclusions; 0 syntax errors; 0 unresolved names (%*0,00)

!ENTRY com.crt.utils 0 4 2012-05-28 12:13:46.941
[B]!MESSAGE Invalid byte 1 of 1-byte UTF-8 sequence.[/B]
!STACK 0
[B]com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.[/B]
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanQName(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.crt.utils.xmlparser.XMLParser.parse(XMLParser.java:260)
at com.crt.utils.xmlparser.XMLParser.parse(XMLParser.java:223)
at com.crt.utils.xmlparser.XMLParser.parseXML(XMLParser.java:378)
.
.
.

!ENTRY com.crt.advproject 4 -1 2012-05-28 12:13:46.988
[B]!MESSAGE Internal: MCUCommonPageUI: configInfo is empty[/B]

!ENTRY org.eclipse.cdt.core 1 0 2012-05-28 12:55:07.120
!MESSAGE Indexed 'deneme_2' (2 sources, 24 headers) in 0,10 sec: 351 declarations; 206 references; 5 unresolved inclusions; 0 syntax errors; 0 unresolved names (%*0,00)

!ENTRY org.eclipse.ui 2 0 2012-05-28 12:55:07.808
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2012-05-28 12:55:07.808
!MESSAGE Could not parse key sequence: plug-in='org.eclipse.cdt.make.ui', id='org.eclipse.cdt.make.ui.targetBuildCommand', keySequence='Shift+F9'

!ENTRY org.eclipse.cdt.core 1 0 2012-05-28 12:55:08.666
!MESSAGE Indexed 'deneme_2' (2 sources, 24 headers) in 0,08 sec: 351 declarations; 206 references; 5 unresolved inclusions; 0 syntax errors; 0 unresolved names (%*0,00)

!ENTRY com.crt.advproject 4 -1 2012-05-28 13:19:12.383
!MESSAGE Internal: MCUCommonPageUI: configInfo is empty

!ENTRY com.crt.advproject 4 -1 2012-05-28 13:24:22.432
[B]!MESSAGE Internal: No linker script for vendor=NXP proc= nature=0, project=deneme_2[/B]

!STACK 1
org.eclipse.core.runtime.CoreException: Internal error: debug configuration is empty
at com.crt.ctrlcenter.launch.CRTMCUDebugger.<init>(CRTMCUDebugger.java:253)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.syncLaunch(CRTMCULaunchConfigurationDelegate.java:241)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.launch(CRTMCULaunchConfigurationDelegate.java:194)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 com.crt.ctrlcenter 4 0 2012-05-28 13:24:30.722
!MESSAGE Internal error: debug configuration is empty

!ENTRY com.crt.ctrlcenter 4 -1 2012-05-28 13:25:23.107
!MESSAGE Error launching Debug\deneme_2.axf
Cancelled: [/I]

I found out that the some part of the .cproject file is odd:
[I].
.
</storageModule>
<storageModule moduleId="com.crt.config">
<projectStorage>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;TargetConfig&gt;
&lt;Properties property_0="" property_3="NXP" property_4="LPC1788" property_count="5" version="1"/&gt;
&lt;infoList vendor="NXP"&gt;&lt;info chip="LPC1788" name="LPC1788"/&gt;
&lt;/infoList&gt;
&lt;/TargetConfig&gt;</projectStorage>
</storageModule>
</cproject>[/I]

I have tried hard so far but I could not find any solution. There are some strange characters like [B]&gt;
[/B] and [B]&lt;[/B] instead of '<' and '>'. Is that normal?

Please help.
Thanks
0 件の賞賛
返信
12 返答(返信)

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Mon Jun 18 07:56:05 MST 2012
I changed all the language settings in control panel to American English (including keyboard) and problem is resolved.
Thanks for your help.
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 29 08:52:21 MST 2012
Thanks for posting a more accurate listing of what you actually did.

I can confirm that we are unable to reproduce the problem here.

Looking at the logs indicates that there *may* be a code page (i.e. character encoding) problem. Can you tell me:
- which code page your Windows system is set up to use
- which character encoding Eclipse is set up to use (Window->Preferences, General/Workspace)

If you have any PCs where there problem does not occur, can you see if there are any configuration differences between the working and non-working computers? Especially with character encodings/code pages.
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Tue May 29 06:39:54 MST 2012

Quote: CodeRedSupport
You have either given incorrect instructions, or missed out a step. File->New->Project
and selecting "LPCXpresso C project"
will display a Wizard selection dialog: "New LPCXpresso C project"

So, can you please confirm the EXACT steps, as the steps you listed are not possible.



Are you kidding? Doing that on purpose?:mad::mad:

1. file->new->project
2. LPCXpresso C project
3. LPC177x/8x projects -> C Project (in [B]New LPCXpresso C project[/B])
4. Project name: Kidding
5. LPC1788
6. CMSIS Library to link project to: None
   CMSIS DSP Library to link project to: None
   Enable CRP.... : Unchecked
   User Source Directory: src
then Click Finish.

1. Right click kidding + properties
2. Navigate to "MCU Settings"

And you know the rest. Error messages!!
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 29 06:19:12 MST 2012
You have either given incorrect instructions, or missed out a step. File->New->Project
and selecting "LPCXpresso C project"
will display a Wizard selection dialog: "New LPCXpresso C project"

So, can you please confirm the EXACT steps, as the steps you listed are not possible.
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Tue May 29 06:00:36 MST 2012

Quote: mylogic
Please forget what I said about "changing MCU settings". I just wanna create a new c project. After creating a new project using "[B]New Project[/B]" wizard, I get the aforemantioned error messages. It is not dependent on any MCU type. Whichever MCU type I choose I get the same problem. It works on another PC. I suspect something special to my PC but I could not find what it is. My OS is 32-bit win 7 professional (turkish version). IDE is the last version (LPCXpresso v4.2.2 Build 275).

When you look at the log file I attached, you can see there is someting wrong about reading the xml. Have you ever seen such a log file?




Quote: CodeRedSupport
We are unable to reproduce your error here, so we need EXACT details of what you are doing.

In the meantime, please also try using the "New project..." button in the Quickstart panel.



I understand that you cannot reproduce the problem. AS I SAID in the previous message I used "New Project" BUTTON and made no difference and I guess it is no different from "file->new->new project" way of creating a new project.

Anyway. It is not complex:

1. File->New->Project (or "New Project" BUTTON)
2. Choose LPCXpresso C project
3. Choose any of MCU say LPC177x_8x(C project)
4. Project Name
5. Select the target MCU say LPC1788
6. Finish

After creating the project.
1. Right click + properties
2. Navigate to "MCU Settings"

And then I got the error messages. Logs are attached in the older post of mine.

Isn't that EXACT details what I am doing?
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 29 05:45:05 MST 2012
We are unable to reproduce your error here, so we need EXACT details of what you are doing.

In the meantime, please also try using the "New project..." button in the Quickstart panel.
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Tue May 29 05:36:07 MST 2012

Quote: researchinnovation
Hi....!!!

Please go through the attachment, MCU Setting should match.

http://support.code-red-tech.com/CodeRedWiki/ChangingProjectTarget?action=diff


Thanks & Regards......:)



Thanks for the answer but I am not a newby ;)
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Tue May 29 05:33:01 MST 2012

Quote: CodeRedSupport
Still don't see a problem here.

So I'll ask again - Can you clarify what MCU you created the original project for, what MCU are you trying to change the project to build for.

Also what version of LPCXpresso IDE are you using and on what OS?


Aside - the best way to run the New project wizard is to use the Quickstart Panel's "New project..." entry.

Regards,
CodeRedSupport



Please forget what I said about "changing MCU settings". I just wanna create a new c project. After creating a new project using "New Project" wizard, I get the aforemantioned error messages. It is not dependent on any MCU type. Whichever MCU type I choose I get the same problem. It works on another PC. I suspect something special to my PC but I could not find what it is. My OS is 32-bit win 7 professional (turkish version). IDE is the last version (LPCXpresso v4.2.2 Build 275).

When you look at the log file I attached, you can see there is someting wrong about reading the xml. Have you ever seen such a log file?
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Tue May 29 03:30:06 MST 2012
Hi....!!!

Please go through the attachment, MCU Setting should match.

http://support.code-red-tech.com/CodeRedWiki/ChangingProjectTarget?action=diff


Thanks & Regards......:)
0 件の賞賛
返信

2,274件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 29 02:50:06 MST 2012
Still don't see a problem here.

So I'll ask again - Can you clarify what MCU you created the original project for, what MCU are you trying to change the project to build for.

Also what version of LPCXpresso IDE are you using and on what OS?


Aside - the best way to run the New project wizard is to use the Quickstart Panel's "New project..." entry.

Regards,
CodeRedSupport
0 件の賞賛
返信

2,272件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mylogic on Mon May 28 07:11:23 MST 2012
Thanks for the reply.

Actually, It does not matter which MCU I am using.
What I have done is:
1. File->New->Project
2. LPCXpresso C project
3. Choose any of MCU (C project)
4. Project Name
5. Select the target MCU
6. Finish

After creating the project.
1. Right click + properties
2. Navigate to "MCU Settings"

Then a message comes up saying:
"Internal: MCUCOmmonPageUI: COnfigInfo is empty"

Flash Driver section in MCU settings is empty and cannot edit it.
It says:
"String index out of range: -1
StringIndexOutOfBoundsException"

I can build the project but can't debug.
I attached the error logs.

Thanks in advance.
0 件の賞賛
返信

2,272件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon May 28 06:28:19 MST 2012

Quote: mylogic
I created a simple C project in LPCXpresso and built it succesfully. Then I was able to enter the debug mode using Xpresso board.
The problem:
When I try to change the MCU Settings, I have got the Error: "Internal: MCUCommonPageUI: ConfigInfo is empty". Now, I am not able to enter the debug mode. I got the error: Internal Error: Debug configuration is Empty.


Can you clarify - what MCU did you create the original project for, what MCU are you trying to change the project to build for, and exactly how did you make the modification to the project?

Also, the following FAQ may be of use...
http://support.code-red-tech.com/CodeRedWiki/ChangingProjectTarget

Regards,
CodeRedSupport
0 件の賞賛
返信