<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso Config ToolsのトピックRe: Version mismatch in Config Tools mex xml?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606185#M1627</link>
    <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;you are correct, the mex should point to the xsd v13, we'll fix it into the next release. It should not have impact on the tool itself, only external usage, sorry for any inconvenience.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 15:16:57 GMT</pubDate>
    <dc:creator>liborukropec</dc:creator>
    <dc:date>2023-02-27T15:16:57Z</dc:date>
    <item>
      <title>Version mismatch in Config Tools mex xml?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1605641#M1625</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just created a simple mex file for processor iMX6 Quad in Config Tools v13 and opened the xml. The xml still shows it is using the v12 xsd, but the processor version has version 13 in the XML. Is this correct?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding= "UTF-8" ?&amp;gt;
&amp;lt;configuration name="MCIMX6QxxVT" xsi:schemaLocation="http://mcuxpresso.nxp.com/XSD/mex_configuration_12 http://mcuxpresso.nxp.com/XSD/mex_configuration_12.xsd" uuid="0e8449ae-0ebd-478a-b89f-cdc2be29e423" version="12" xmlns="http://mcuxpresso.nxp.com/XSD/mex_configuration_12" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;
   &amp;lt;common&amp;gt;
      &amp;lt;processor&amp;gt;MCIMX6QxxVT&amp;lt;/processor&amp;gt;
      &amp;lt;package&amp;gt;MCIMX6Q7CVT08AD&amp;lt;/package&amp;gt;
      &amp;lt;mcu_data&amp;gt;i_mx_1_0&amp;lt;/mcu_data&amp;gt;
      &amp;lt;cores selected="ca9_0"&amp;gt;
         &amp;lt;core name="Cortex-A9 (Core #0)" id="ca9_0" description="ARM Cortex-A9 MPCore platform with TrustZone and NEON MPE Co-processor Core #0"/&amp;gt;
         &amp;lt;core name="Cortex-A9 (Core #1)" id="ca9_1" description="ARM Cortex-A9 MPCore platform with TrustZone and NEON MPE Co-processor Core #1"/&amp;gt;
         &amp;lt;core name="Cortex-A9 (Core #2)" id="ca9_2" description="ARM Cortex-A9 MPCore platform with TrustZone and NEON MPE Co-processor Core #2"/&amp;gt;
         &amp;lt;core name="Cortex-A9 (Core #3)" id="ca9_3" description="ARM Cortex-A9 MPCore platform with TrustZone and NEON MPE Co-processor Core #3"/&amp;gt;
      &amp;lt;/cores&amp;gt;
      &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
   &amp;lt;/common&amp;gt;
   &amp;lt;preferences&amp;gt;
      &amp;lt;validate_boot_init_only&amp;gt;true&amp;lt;/validate_boot_init_only&amp;gt;
      &amp;lt;generate_extended_information&amp;gt;false&amp;lt;/generate_extended_information&amp;gt;
      &amp;lt;generate_code_modified_registers_only&amp;gt;false&amp;lt;/generate_code_modified_registers_only&amp;gt;
      &amp;lt;update_include_paths&amp;gt;true&amp;lt;/update_include_paths&amp;gt;
      &amp;lt;generate_registers_defines&amp;gt;false&amp;lt;/generate_registers_defines&amp;gt;
   &amp;lt;/preferences&amp;gt;
   &amp;lt;tools&amp;gt;
      &amp;lt;pins name="Pins" version="13.0" enabled="true" update_project_code="true"&amp;gt;
         &amp;lt;pins_profile&amp;gt;
            &amp;lt;processor_version&amp;gt;13.0.0&amp;lt;/processor_version&amp;gt;
            &amp;lt;power_domains/&amp;gt;
         &amp;lt;/pins_profile&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Feb 2023 01:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1605641#M1625</guid>
      <dc:creator>MichaelV</dc:creator>
      <dc:date>2023-02-27T01:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Version mismatch in Config Tools mex xml?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1605652#M1626</link>
      <description>&lt;P&gt;Also, when loading either the v12 xsd or the v13 xsd into the XmlSerializer class in C#, a System.InvalidOperationException is thrown:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;configuration.configuration_13.configuration mexConfiguration;
Type configurationType = typeof(configuration.configuration_13.configuration);
// Serialize the configuration file (mex)
XmlSerializer ser = new XmlSerializer(configurationType);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;System.InvalidOperationException
  HResult=0x80131509
  Message=Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister'
error CS0030: Cannot convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister'
error CS0029: Cannot implicitly convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]'
error CS0029: Cannot implicitly convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]'

  Source=System.Xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is of course besides the still existing circular definition due to&amp;nbsp;periphs_setting_list (but I can comment that out in the xsd).&lt;/P&gt;&lt;P&gt;This must be because of some problem in the xml. Any idea?&lt;/P&gt;&lt;P&gt;If I comment out everything to do with&amp;nbsp;configurationToolsDcd and&amp;nbsp;configurationToolsDcdx in the .cs file, my tool works.&lt;/P&gt;&lt;P&gt;We use the Config Tool xml files to generate board header files for our BSP, but with every new version of the Config Tool we run into more and more issues with the xsd/xml.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 02:26:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1605652#M1626</guid>
      <dc:creator>MichaelV</dc:creator>
      <dc:date>2023-02-27T02:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Version mismatch in Config Tools mex xml?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606185#M1627</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;you are correct, the mex should point to the xsd v13, we'll fix it into the next release. It should not have impact on the tool itself, only external usage, sorry for any inconvenience.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 15:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606185#M1627</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2023-02-27T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Version mismatch in Config Tools mex xml?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606187#M1628</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regarding the recursion, the XSD should allow this, so this should not be a problem. To be honest we use only Java based validation, I cannot comment XmlSerializer in C#.&lt;/P&gt;
&lt;P&gt;Anyway, I can see some issue with the XSD and the MEX for MCIMX6QxxVT, I'll forward to the team and later on we'll post an answer here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 15:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606187#M1628</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2023-02-27T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Version mismatch in Config Tools mex xml?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606350#M1629</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/22782"&gt;@liborukropec&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It would be very good if you can get the XSD formatted in such a way that this command succeeds:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64\xsd.exe" mex_configuration_13.xsd /c&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then in a C# app, use the generated .cs as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;configuration.configuration_13.configuration mexConfiguration;
Type configurationType = typeof(configuration.configuration_13.configuration);
// Serialize the configuration file (mex)
XmlSerializer ser = new XmlSerializer(configurationType);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way you'd quickly discover any issues in the XSD (and it would prevent us from having to debug &amp;amp; fix your XSD with every new version of the Config Tool).&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 20:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Version-mismatch-in-Config-Tools-mex-xml/m-p/1606350#M1629</guid>
      <dc:creator>MichaelV</dc:creator>
      <dc:date>2023-02-27T20:17:09Z</dc:date>
    </item>
  </channel>
</rss>

