<?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>Model-Based Design Toolbox (MBDT)のトピックRe: Can you read the uC's serial number in code?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1300389#M6243</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I've seen that error before but I was unable to solve it because I cannot reproduce it on my end.&lt;/P&gt;
&lt;P&gt;Regarding reading the UID, the other way s to use Data Read Mem block and type the direct address of the registers. Please see the attached example.&lt;/P&gt;
&lt;P&gt;For the second request, restarting the MCU there are basically two ways. One of them is to use the watchdog, the other is to use the AIRCR register of the ARM Core. I tried the last one, and if you press the SW4 this should reset the MCU. Please see the attached exmaple. Also, the count variable is incremented every step time so once you press the button the value starts again from 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 11:50:44 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2021-06-30T11:50:44Z</dc:date>
    <item>
      <title>Can you read the uC's serial number in code?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1297711#M6211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to read the chips serial number so I can display it on CAN?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 12:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1297711#M6211</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2021-06-24T12:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you read the uC's serial number in code?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1298312#M6225</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can try using the Read Register block and accessing the SIM -&amp;gt; UIDH, UIMH, UIML and UIDL.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1624610065118.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148032iEBA8EA889FC3C7E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1624610065118.png" alt="mariuslucianand_0-1624610065118.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:36:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1298312#M6225</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-25T08:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you read the uC's serial number in code?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1298369#M6229</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error when trying to put a read register block in my model, am I missing something obvious?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Poley_0-1624614354033.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148038iD123855EE4B14347/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Poley_0-1624614354033.png" alt="Poley_0-1624614354033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Is there a way to do a device reset from software? I am looking at ways to flash with the CAN bootloader and using a reset switch isn't ideal (8 boards on same bus and supply so can't just power cycle). So a way of resetting the device through software would be perfect.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 09:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1298369#M6229</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2021-06-25T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you read the uC's serial number in code?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1300389#M6243</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I've seen that error before but I was unable to solve it because I cannot reproduce it on my end.&lt;/P&gt;
&lt;P&gt;Regarding reading the UID, the other way s to use Data Read Mem block and type the direct address of the registers. Please see the attached example.&lt;/P&gt;
&lt;P&gt;For the second request, restarting the MCU there are basically two ways. One of them is to use the watchdog, the other is to use the AIRCR register of the ARM Core. I tried the last one, and if you press the SW4 this should reset the MCU. Please see the attached exmaple. Also, the count variable is incremented every step time so once you press the button the value starts again from 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 11:50:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1300389#M6243</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-30T11:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can you read the uC's serial number in code?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1300407#M6247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the help!&lt;/P&gt;&lt;P&gt;So it looks like if I use the reset function you have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Poley_0-1625055325742.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148383iEE0D09DA84F5F62B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Poley_0-1625055325742.png" alt="Poley_0-1625055325742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It looks like I can just change the GPI ISR to a CAN signal that when set to 1 triggers the subsystem containing the reset MCU matlab function, should this reset me all the way to the bootloader code? (Currently just using OpenSDA).&lt;/P&gt;&lt;P&gt;Also for UID do I need to read all 4 registers?:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Poley_1-1625055509599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148385iEC847B468BC706F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Poley_1-1625055509599.png" alt="Poley_1-1625055509599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I get a single value I can put onto CAN? or is that value too large?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 12:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Can-you-read-the-uC-s-serial-number-in-code/m-p/1300407#M6247</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2021-06-30T12:19:35Z</dc:date>
    </item>
  </channel>
</rss>

