<?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 Re: variable watch not update in the freemaster 3.2.2.2 in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1860069#M1717</link>
    <description>&lt;P&gt;You can try to see if the variable has changed, and if it has, then the program will not proceed&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 02:13:53 GMT</pubDate>
    <dc:creator>DouDou1</dc:creator>
    <dc:date>2024-05-07T02:13:53Z</dc:date>
    <item>
      <title>variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1822982#M1652</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_1-1709790342797.png" style="width: 548px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266916i8A5FB3B770F4BF8E/image-dimensions/548x318?v=v2" width="548" height="318" role="button" title="Panasonic_Kevin_Yang_1-1709790342797.png" alt="Panasonic_Kevin_Yang_1-1709790342797.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_2-1709790387204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266917iC367E1BF5DADFF75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Panasonic_Kevin_Yang_2-1709790387204.png" alt="Panasonic_Kevin_Yang_2-1709790387204.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_0-1709818769090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267040i24D1C400BB04E473/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Panasonic_Kevin_Yang_0-1709818769090.png" alt="Panasonic_Kevin_Yang_0-1709818769090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_1-1709818827359.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267043iB4D44AC7352E07DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Panasonic_Kevin_Yang_1-1709818827359.png" alt="Panasonic_Kevin_Yang_1-1709818827359.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_2-1709818861847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267044i5C4D6A227C24EB0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Panasonic_Kevin_Yang_2-1709818861847.png" alt="Panasonic_Kevin_Yang_2-1709818861847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the target hardware is S32K388 and the behavior is same on NXP S32K388 EVB and our own designed HW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The test code on the target is incrementing the test_counter to 100 then back to 0.&lt;/P&gt;&lt;P&gt;I tested with debugger, the code runs OK.&lt;/P&gt;&lt;P&gt;I tried to define the variable as static volatile or just static.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the value never change in the freemaster.&lt;/P&gt;&lt;P&gt;And by checking the log, I can see there is error code 0x80000081&lt;/P&gt;&lt;P&gt;please help to provide some ideas what is going wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m using JLink plugin as the communication method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 13:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1822982#M1652</guid>
      <dc:creator>Panasonic_Kevin_Yang</dc:creator>
      <dc:date>2024-03-07T13:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823054#M1653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;please send a screenshot of your Project Options dialog "Comm" tab (where the plug-in is selected) and send also a screenshot of the JLink plug-in configuration dialog.&lt;/P&gt;
&lt;P&gt;Also, please describe your hardware platform (what MCU, board etc.).&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Michal&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 06:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823054#M1653</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2024-03-07T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823392#M1654</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uploaded to the original post, please help to check it.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 13:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823392#M1654</guid>
      <dc:creator>Panasonic_Kevin_Yang</dc:creator>
      <dc:date>2024-03-07T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823500#M1655</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;the error code 0x80000081 is not applicable here, this is just an intermediate error returned for old protocol command probed by FreeMASTER for backward compatibility. The overall result is OK (0x0), which means the JLink plug-in "thinks" it is returning a valid data.&lt;/P&gt;
&lt;P&gt;We will need to do some experiments to find out what is wrong. I suspect the FreeMASTER reads the correct memory, but the CPU is halted. Is there any other way how you can find out if the application is running (e.g. any LED blinking)? It sometimes happens that during JTAG connect/disconnect process, the core gets reset and/or halted.&lt;/P&gt;
&lt;P&gt;Please do these experiments:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make your FreeMASTER variable modifiable and change it from variable watch grid to some other value. Will it work? If my theory is correct, the variable will change, but will remain constant after that.&lt;/LI&gt;
&lt;LI&gt;If you use IAR toolchain, please attach the debugger and see if you will be able to pause/resume application execution. FYI: the IAR debugger session shall be able to share the JLink connection with FreeMASTER.&lt;/LI&gt;
&lt;LI&gt;If IAR is attached, press the software reset button.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Similar to IAR, you can also use Segger Ozone debugger. This is also able to co-exist with FreeMASTER on the same JLink connection.&lt;/P&gt;
&lt;P&gt;I will ask my colleagues to replicate the same HW setup and to try to replicate the issue locally.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 15:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823500#M1655</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2024-03-07T15:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823576#M1656</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just confirmed, when power-on the MCU and its SW running OK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Panasonic_Kevin_Yang_0-1709834369254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267104i18891046F7420034/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Panasonic_Kevin_Yang_0-1709834369254.png" alt="Panasonic_Kevin_Yang_0-1709834369254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the mcu halt when I click on the Go button in freemaster.&amp;nbsp; do you have any idea why the freemaster halt the mcu execution?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 18:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1823576#M1656</guid>
      <dc:creator>Panasonic_Kevin_Yang</dc:creator>
      <dc:date>2024-03-07T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1831874#M1666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226286"&gt;@Panasonic_Kevin_Yang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I tried to reproduce your issue, unfortunately, v7.94a was no longer available for download.&lt;BR /&gt;I checked latest version (v7.96q), but run into other issues. Eventually, I downgrade to V7.92q&amp;nbsp;and was able to use FreeMASTER with no issue.&lt;/P&gt;
&lt;P&gt;Could you check this workaround and let us know if it works for you ?&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 09:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1831874#M1666</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-03-20T09:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1832331#M1668</link>
      <description>&lt;P&gt;Thank you for trying on your side,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the behavior remain the same after I re-installed to 7.92q&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 21:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1832331#M1668</guid>
      <dc:creator>pasa_kevin_y</dc:creator>
      <dc:date>2024-03-20T21:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1832746#M1671</link>
      <description>&lt;P&gt;Just to confirm what toolchain you are using - is it NXP's GCC, IAR, DIAB or GHS ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 08:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1832746#M1671</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-03-21T08:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1833066#M1676</link>
      <description>&lt;P&gt;we are using NXP GCC currently.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1833066#M1676</guid>
      <dc:creator>pasa_kevin_y</dc:creator>
      <dc:date>2024-03-21T15:39:59Z</dc:date>
    </item>
    <item>
      <title>回复： variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1841882#M1697</link>
      <description>&lt;P&gt;Hi,&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226286" target="_blank"&gt;@Panasonic_Kevin_Yang&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I have the same problem with you. Have you solved it? If so, can you tell me how it was solved?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 02:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1841882#M1697</guid>
      <dc:creator>DouDou1</dc:creator>
      <dc:date>2024-04-08T02:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1843819#M1699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226286"&gt;@Panasonic_Kevin_Yang&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230579"&gt;@DouDou1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;We are looking into this issue. In the meantime could you provide some details about the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Are you facing this issue when the application is loaded into Flash or Sram, or both ?&lt;/LI&gt;
&lt;LI&gt;Are you running an active debug session at the same time you use FreeMASTER ?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 10 Apr 2024 08:59:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1843819#M1699</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-04-10T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1847303#M1703</link>
      <description>&lt;P&gt;I load the application to flash, never tried to load to ram.&lt;/P&gt;&lt;P&gt;I didn't run debug session while using the freemaster&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 16:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1847303#M1703</guid>
      <dc:creator>pasa_kevin_y</dc:creator>
      <dc:date>2024-04-15T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1850987#M1707</link>
      <description>&lt;P&gt;I found that every S32DS program creates a variable called exit_code and decides if it is equal to 0 in the main loop. When I call freemaster, this variable is changed, and the program is finished&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 08:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1850987#M1707</guid>
      <dc:creator>DouDou1</dc:creator>
      <dc:date>2024-04-20T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1851728#M1709</link>
      <description>our sw won't run into that loop, so it is not the root cause in our case.</description>
      <pubDate>Mon, 22 Apr 2024 14:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1851728#M1709</guid>
      <dc:creator>Panasonic_Kevin_Yang</dc:creator>
      <dc:date>2024-04-22T14:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1854559#M1710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems that JLink performs some default operations on connect. Ex: memory initialization - in this case the behavior you observe may depend on your particular application (what is stored in those regions).&lt;/P&gt;
&lt;P&gt;Example logs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SetupTarget() start
Initializing ECC RAM...
  RAMCodeAddr: 0x20000000
  RAMInitAddr: 0x20000010
  RAMInitSize: 0x00007FF0
  InitPattern: 0xDEADBEEF
  ECC RAM initialized successfully
Initializing ECC RAM...
  RAMCodeAddr: 0x20000000
  RAMInitAddr: 0x20400000
  RAMInitSize: 0x00004000
  InitPattern: 0xDEADBEEF
  ECC RAM initialized successfully
SetupTarget() end - Took 25.3ms&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are yet to confirm whether it's the root cause. If so,&amp;nbsp;this could possibly be disabled with JLink Scripts as described on &lt;A href="https://wiki.segger.com/J-Link_script_files#Overriding_device_specific_connect" target="_self"&gt;JLink's Wiki page&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 08:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1854559#M1710</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-04-25T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1854954#M1711</link>
      <description>&lt;P&gt;the behavior remains the same, below is the log showing the script has been ran.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;03-00000000-00-00000001-01C1: ------J-Link related settings------&lt;BR /&gt;J-Link Host interface: USB&lt;BR /&gt;J-Link script: **********************************\Example_InitTargetOverride.JLinkScript&lt;BR /&gt;J-Link settings file: none&lt;BR /&gt;------Target related settings------&lt;BR /&gt;Target device: S32K388&lt;BR /&gt;Target device parameters: none&lt;BR /&gt;Target interface: JTAG&lt;BR /&gt;Target interface speed: 4000kHz&lt;BR /&gt;Target endian: little&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 16:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1854954#M1711</guid>
      <dc:creator>Panasonic_Kevin_Yang</dc:creator>
      <dc:date>2024-04-25T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1858779#M1714</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what Iulian wrote above is important, the JLink may corrupt a memory by initializing it to the 0xDEADBEEF pattern and causing a HardFault. Using a custom JLinkScript which overrides the SetupTarget might be necessary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was observing slightly similar (but still different) behavior on S32K344. It appears that there might be a DebugEvent escalated to a HardFault when FreeMASTER-JLink connects to the application. Regardless the possible HardFault root cause, let's first make an experiment to confirm that it really occurs.&lt;/P&gt;
&lt;P&gt;Please locate your vector table (startup_ARMCM7.c) and implement a two different handlers, one for HardFault and one for DebugMon. Implement each handler as a short endless loop which just increment a global variable (countHardFault, countDebugMon).&amp;nbsp; Add the two counters to FreeMASTER watch to see if they will count (meaning the theory was correct) or not.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 06:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1858779#M1714</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2024-05-03T06:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1860069#M1717</link>
      <description>&lt;P&gt;You can try to see if the variable has changed, and if it has, then the program will not proceed&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 02:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1860069#M1717</guid>
      <dc:creator>DouDou1</dc:creator>
      <dc:date>2024-05-07T02:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: variable watch not update in the freemaster 3.2.2.2</title>
      <link>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1868836#M1723</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226286"&gt;@Panasonic_Kevin_Yang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to my observation JLink re/initializes RAM memory in the &lt;A href="https://wiki.segger.com/J-Link_script_files#SetupTarget.28.29" target="_self"&gt;target setup phase&lt;/A&gt;, thus the content of the&amp;nbsp;JLinkScript file should be:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;int SetupTarget (void) {
  return 0;
}&lt;/LI-CODE&gt;
&lt;P&gt;After adding the following script BDM plugin settings:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 460px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279618i7E60EF7998978FF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I noticed that &lt;/SPAN&gt;&lt;SPAN&gt;memory regions mentioned before preserved their data, and&amp;nbsp;&lt;SPAN&gt;variables also kept their values&lt;/SPAN&gt; in between FreeMASTER connections.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Apologies for a delayed reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 11:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/variable-watch-not-update-in-the-freemaster-3-2-2-2/m-p/1868836#M1723</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-05-20T11:07:53Z</dc:date>
    </item>
  </channel>
</rss>

