i.mx 1050 csi examples

cancel
Showing results for 
Search instead for 
Did you mean: 

i.mx 1050 csi examples

581 Views
natester
Contributor I

I'm getting the following error trying to load the csi examples in mcuexpresso & the evkb-imx1050 2.4 sdk:

pastedImage_1.png

UnmarshalException

javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 89; columnNumber: 40; cvc-enumeration-valid: Value 'segger_script' is not facet-valid with respect to enumeration '[init, run, linkserver_connect, linkserver_reset, linkserver_erase]'. It must be a value from the enumeration.]
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 89; columnNumber: 40; cvc-enumeration-valid: Value 'segger_script' is not facet-valid with respect to enumeration '[init, run, linkserver_connect, linkserver_reset, linkserver_erase]'. It must be a value from the enumeration.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:221)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:276)
at com.nxp.mcuxpresso.core.datamodels.providers.SDKManifestProvider.useExternalExample(SDKManifestProvider.java:1490)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.SDKImportWizard.doFinish(SDKImportWizard.java:194)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.AbstractSDKWizard$1.run(AbstractSDKWizard.java:70)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.xml.sax.SAXParseException; lineNumber: 89; columnNumber: 40; cvc-enumeration-valid: Value 'segger_script' is not facet-valid with respect to enumeration '[init, run, linkserver_connect, linkserver_reset, linkserver_erase]'. It must be a value from the enumeration.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:452)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3230)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processOneAttribute(XMLSchemaValidator.java:2825)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2762)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2050)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:570)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:86)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:153)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243)
... 6 more

Tags (1)
0 Kudos
2 Replies

307 Views
natester
Contributor I

Great, upgrading the MCUXpresso IDE from 10.1 to 10.2 fixed the issue!

0 Kudos

307 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Can you confirm what version of MCUXpresso IDE you are using? SDK 2.4.0 package should only be used with MCUXpresso IDE v10.2.0 (or later).

If you are using MCUXpresso IDE v10.2.0, can you confirm if there is any warning message displayed in the IDE's "Installed SDKs" view after installed the SDK?

Regards,

MCUXpresso IDE Support

0 Kudos