Unable to "Create a new configuration" in MCUXpresso Config Tools V 3.0

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

Unable to "Create a new configuration" in MCUXpresso Config Tools V 3.0

1,598 Views
marks
Contributor IV

Hello, I was able to successfully use the pins tool with SDK_2.2_FRDM-K64F but not SDK_2.2_MK22FN512xxx12 or SDK_2.2_FRDM-K22F,

This works (SDK_2.2_FRDM-K64F):

pastedImage_5.png

pastedImage_6.png

This does not (SDK_2.2_MK22FN512xxx12):

pastedImage_1.png

I click next

pastedImage_2.png

I click finish, It then acts like it is creating a new configuration but it the progress bar only gets about 10% of the way as show below.

pastedImage_3.png

Then it goes back to 

pastedImage_4.png

And if I click finish again it just goes right back to the same thing. It never finishes.

I also tried this (SDK_2.2_FRDM-K22F):

pastedImage_7.png

pastedImage_8.png

And if I click finish again it just goes right back to the same thing. It never finishes.

What am I doing wrong?

Thanks,

Mark

0 Kudos
Reply
3 Replies

1,251 Views
huang_hw
Contributor II

I tried the same steps as Mark Samples and got the same result: NOTHING.

Could some guru give some pointer as to the possible factor(s) causing this? Thanks.

I describe the details below:

The file mentioned in the log listed below, C:\ProgramData\Application Data\NXP\mcu_data_v3\ksdk2_0_info.xml can be found in

C:\ProgramData\NXP\mcu_data_v3 directory and there is a

<JUNCTION> Application Data [C:\ProgramData] when I checked running command prompt in Administrator mode.

The log file in C:\Users\whw\.nxp\swtools.log is as follows:

Jun 27, 2017 5:52:03 PM com.nxp.swtools.provider.processors.KExProcessorsProvider downloadDataForSdk
SEVERE: Copying data from web
java.nio.file.AccessDeniedException: C:\ProgramData\Application Data\NXP\mcu_data_v3\ksdk2_0_info.xml
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:165)
at sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:278)
at java.nio.file.Files.copy(Files.java:1274)
at com.nxp.swtools.kex.storage.utils.CopyTask.run(CopyTask.java:247)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadDataForSdk(KExProcessorsProvider.java:749)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadOrUpdateProcessor(KExProcessorsProvider.java:440)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadOrUpdateProcessor(KExProcessorsProvider.java:357)
at com.nxp.swtools.utils.processors.ProcessorDataUpdateUI.lambda$0(ProcessorDataUpdateUI.java:109)
at com.nxp.swtools.utils.processors.ProcessorDataUpdateUI.downloadOrUpdateProcessor(ProcessorDataUpdateUI.java:114)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.createConfiguration(NewConfigWizard.java:431)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.lambda$0(NewConfigWizard.java:134)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Jun 27, 2017 5:52:09 PM com.nxp.swtools.provider.processors.KExProcessorsProvider downloadDataForSdk
SEVERE: Copying data from web
java.nio.file.AccessDeniedException: C:\ProgramData\Application Data\NXP\mcu_data_v3\ksdk2_0_info.xml
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:165)
at sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:278)
at java.nio.file.Files.copy(Files.java:1274)
at com.nxp.swtools.kex.storage.utils.CopyTask.run(CopyTask.java:247)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadDataForSdk(KExProcessorsProvider.java:749)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadOrUpdateProcessor(KExProcessorsProvider.java:440)
at com.nxp.swtools.provider.processors.KExProcessorsProvider.downloadOrUpdateProcessor(KExProcessorsProvider.java:357)
at com.nxp.swtools.utils.processors.ProcessorDataUpdateUI.lambda$0(ProcessorDataUpdateUI.java:109)
at com.nxp.swtools.utils.processors.ProcessorDataUpdateUI.downloadOrUpdateProcessor(ProcessorDataUpdateUI.java:114)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.createConfiguration(NewConfigWizard.java:493)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.lambda$0(NewConfigWizard.java:134)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Jun 27, 2017 5:52:09 PM com.nxp.swtools.framework.ui.newconfig.NewConfigWizard performFinish
SEVERE: null
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:398)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:993)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.performFinish(NewConfigWizard.java:127)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at com.nxp.swtools.framework.commands.NewConfigurationCommandHandler.launchWizard(NewConfigurationCommandHandler.java:51)
at com.nxp.swtools.framework.commands.NewConfigurationCommandHandler.execute(NewConfigurationCommandHandler.java:62)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at com.nxp.swtools.framework.Application.start(Application.java:110)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4533)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.SWT.error(SWT.java:4419)
at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:286)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:379)
at org.eclipse.jface.window.Window.createShell(Window.java:482)
at org.eclipse.jface.window.Window.create(Window.java:425)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
at org.eclipse.jface.window.Window.open(Window.java:783)
at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:396)
at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:424)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:486)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.createConfiguration(NewConfigWizard.java:499)
at com.nxp.swtools.framework.ui.newconfig.NewConfigWizard.lambda$0(NewConfigWizard.java:134)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

0 Kudos
Reply

1,251 Views
huang_hw
Contributor II

PROBLEM SOLVED!

Program will work if I run it as Administrator (although I am already logged in as a user who is an Windows 10 administrator)

Mark Sample may want to try this.

1,251 Views
liborukropec
NXP Employee
NXP Employee

Hello Mark,

I did the same like you and it worked for me. And you are not doing nothing wrong. If it hangs at 10% is seems as problem with downloading the data from web.

Anyway, could you please do following tests?

1) try it again as it might be a temporary connection problem or problem at the server side

2) if it does not work yet, please do the same "without" specifying the SDK (last radio button in the wizard's first page)

3) let me know if you have the processor downloaded (look to the c:\ProgramData\NXP\mcu_data_v3\processors\MK22FN512xxx12  folder)

4) post here the log file from this location: c:\Users\<your_user_name>\.nxp\swtools.log

Regards,

Libor

0 Kudos
Reply