<?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>topic MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816948#M3021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;I use MCUXPresso IDE v10.2.1 Build 795.&lt;/P&gt;&lt;P&gt;We find, when variable declared as none-32bits variable, something like uint8_t or uint16_t, then its content(value) will be not correct shown on "Variables watch" windows. But the value is correct on the memory view.&lt;/P&gt;&lt;P&gt;Please help to check it or any configuration I missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example for you reference.&lt;/P&gt;&lt;P&gt;I declare three array variables with three different format,&lt;/P&gt;&lt;P&gt;uint8_t rand8[8] -- 8bit format.&lt;BR /&gt;uint16_t rand16[8] -- 16bits format.&lt;BR /&gt;uint32_t rand32[8] -- 32bits format.&lt;/P&gt;&lt;P&gt;And give them the same initial value ={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will see that all the value are correct on "Memory" watch window.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;8bit and 16bit format variables value are&amp;nbsp;not correct on "Global Variables" or Variables" watch window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUXpresso variables abnormal.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78929i405276C23E6F651E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUXpresso variables abnormal.png" alt="MCUXpresso variables abnormal.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2018 09:26:24 GMT</pubDate>
    <dc:creator>davidchen-b3693</dc:creator>
    <dc:date>2018-11-29T09:26:24Z</dc:date>
    <item>
      <title>MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816948#M3021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;I use MCUXPresso IDE v10.2.1 Build 795.&lt;/P&gt;&lt;P&gt;We find, when variable declared as none-32bits variable, something like uint8_t or uint16_t, then its content(value) will be not correct shown on "Variables watch" windows. But the value is correct on the memory view.&lt;/P&gt;&lt;P&gt;Please help to check it or any configuration I missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example for you reference.&lt;/P&gt;&lt;P&gt;I declare three array variables with three different format,&lt;/P&gt;&lt;P&gt;uint8_t rand8[8] -- 8bit format.&lt;BR /&gt;uint16_t rand16[8] -- 16bits format.&lt;BR /&gt;uint32_t rand32[8] -- 32bits format.&lt;/P&gt;&lt;P&gt;And give them the same initial value ={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will see that all the value are correct on "Memory" watch window.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;8bit and 16bit format variables value are&amp;nbsp;not correct on "Global Variables" or Variables" watch window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUXpresso variables abnormal.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78929i405276C23E6F651E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUXpresso variables abnormal.png" alt="MCUXpresso variables abnormal.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816948#M3021</guid>
      <dc:creator>davidchen-b3693</dc:creator>
      <dc:date>2018-11-29T09:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816949#M3022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I'm not able to reproduce this, so it works fine for me:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78570i9B0FA0843451F6A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post more details, maybe the gdb trace log (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/" title="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/"&gt;Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816949#M3022</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-11-30T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816950#M3023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project is i.MXRT1064 SDK example. Not sure if it is related to device.&lt;/P&gt;&lt;P&gt;The gdb traces file is attached for you reference.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 08:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816950#M3023</guid>
      <dc:creator>davidchen-b3693</dc:creator>
      <dc:date>2018-12-04T08:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816951#M3024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I email you directly to find out more details.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 10:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/816951#M3024</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-12-04T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/1641624#M8927</link>
      <description>&lt;P&gt;If anyone run into this issue, deleting .launch file worked for me.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 13:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-32bit/m-p/1641624#M8927</guid>
      <dc:creator>erenaud</dc:creator>
      <dc:date>2023-04-27T13:38:23Z</dc:date>
    </item>
  </channel>
</rss>

