<?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: Connection closed by the GDB server. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017976#M6234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Koorosh,&lt;/P&gt;&lt;P&gt;What debugger do you use?&lt;/P&gt;&lt;P&gt;Could you please specify what exactly was loaded the last time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2020 11:56:11 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-01-30T11:56:11Z</dc:date>
    <item>
      <title>Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017975#M6233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using design studio, target is S32K146 , I was loading and running my project fine last night.&lt;/P&gt;&lt;P&gt;However when I tried to load and run again this morning, I keep getting the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connection closed by the GDB server.&lt;/STRONG&gt; and it fails to go through&lt;/P&gt;&lt;P&gt;This does not happen with other projects, I saw an earlier post recommending removing all the break points but that did not work for me.&lt;/P&gt;&lt;P&gt;What causes this to happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 23:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017975#M6233</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2020-01-29T23:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017976#M6234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Koorosh,&lt;/P&gt;&lt;P&gt;What debugger do you use?&lt;/P&gt;&lt;P&gt;Could you please specify what exactly was loaded the last time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017976#M6234</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-01-30T11:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017977#M6235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using design studio for&amp;nbsp;S32K&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I had a piece of code to partition the part (S32K146) , LAUNCHING THE COMMAND FROM RAM.&lt;/P&gt;&lt;P&gt;DID NOT ENABLE THE SECURITY, even when I comment the code out the problem persist.&lt;/P&gt;&lt;P&gt;I can load and run any other project without an issue&amp;nbsp;. even my partition code was loading and running fine until the last morning.&lt;/P&gt;&lt;P&gt;here is the code to partition:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; uint8_t configure_part_CSEc(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint8_t flash_error_status=0;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) != FTFC_FSTAT_CCIF_MASK); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Wait until any ongoing flash operation is completed */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FSTAT = (FTFC_FSTAT_FPVIOL_MASK | FTFC_FSTAT_ACCERR_MASK); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Write 1 to clear error flags */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[3] = 0x80; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB0 = 0x80, program partition command */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[2] = 0x03; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB1 = 2b11, 20 keys */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[1] = 0x00; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB2 = 0x00, SFE = 0, VERIFY_ONLY attribute functionality disable */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[0] = 0x00; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB3 = 0x00, FlexRAM will be loaded with valid EEPROM data during reset sequence */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[7] = 0x02; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB4 = 0x02, 4k EEPROM Data Set Size */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[6] = 0x04; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB5 = 0x04, no data flash, 64k(all) EEPROM backup */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;//FTFC-&amp;gt;FSTAT = FTFC_FSTAT_CCIF_MASK; /* Start command execution by writing 1 to clear CCIF bit */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;//while((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) != FTFC_FSTAT_CCIF_MASK); /* Wait until ongoing flash operation is completed */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; flash_error_status = FTFC-&amp;gt;FSTAT; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Read the flash status register for any Execution Error */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; flash_error_status;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;//copied to RAM&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; launch_flsh_com(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#pragma&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;asm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ldr r1, =0x40020000 ; &amp;lt;run_ocs_volt_once..C.3A.5CFramework_ZERV_v00.2E02.5CApplications.5CZERV_Framework.5CAppl.5Cobj.5CINF_CDD.&amp;gt;)&lt;/P&gt;&lt;P&gt;movs r0, #128 ; 0x80&lt;/P&gt;&lt;P&gt;strb r0, [r1, #0]&lt;/P&gt;&lt;P&gt;L1:&lt;/P&gt;&lt;P&gt;ldrb r0, [r1, #0]&lt;/P&gt;&lt;P&gt;lsls r0, r0, #24&lt;/P&gt;&lt;P&gt;bpl L1&lt;/P&gt;&lt;P&gt;; bx lr&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#pragma&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; endasm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; uint8_t configure_part_CSEc(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint8_t flash_error_status=0;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) != FTFC_FSTAT_CCIF_MASK); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Wait until any ongoing flash operation is completed */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FSTAT = (FTFC_FSTAT_FPVIOL_MASK | FTFC_FSTAT_ACCERR_MASK); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Write 1 to clear error flags */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[3] = 0x80; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB0 = 0x80, program partition command */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[2] = 0x03; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB1 = 2b11, 20 keys */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[1] = 0x00; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB2 = 0x00, SFE = 0, VERIFY_ONLY attribute functionality disable */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[0] = 0x00; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB3 = 0x00, FlexRAM will be loaded with valid EEPROM data during reset sequence */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[7] = 0x02; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB4 = 0x02, 4k EEPROM Data Set Size */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; FTFC-&amp;gt;FCCOB[6] = 0x04; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* FCCOB5 = 0x04, no data flash, 64k(all) EEPROM backup */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;//FTFC-&amp;gt;FSTAT = FTFC_FSTAT_CCIF_MASK; /* Start command execution by writing 1 to clear CCIF bit */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;//while((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) != FTFC_FSTAT_CCIF_MASK); /* Wait until ongoing flash operation is completed */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; flash_error_status = FTFC-&amp;gt;FSTAT; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/* Read the flash status register for any Execution Error */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; flash_error_status;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; launch_flsh_com(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#pragma&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;asm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ldr r1,=0x40020000&lt;/P&gt;&lt;P&gt;movs r0, #128 ; 0x80&lt;/P&gt;&lt;P&gt;strb r0, [r1, #0]&lt;/P&gt;&lt;P&gt;L1:&lt;/P&gt;&lt;P&gt;ldrb r0, [r1, #0]&lt;/P&gt;&lt;P&gt;lsls r0, r0, #24&lt;/P&gt;&lt;P&gt;bpl L1&lt;/P&gt;&lt;P&gt;; bx lr&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small; "&gt;&lt;STRONG&gt;#pragma&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; endasm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;// FTFC-&amp;gt;FSTAT = FTFC_FSTAT_CCIF_MASK; /* Start command execution by writing 1 to clear CCIF bit */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;// while((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) != FTFC_FSTAT_CCIF_MASK); /* Wait until ongoing flash operation is completed */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 17:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017977#M6235</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2020-01-30T17:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017978#M6236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;It is P&amp;amp;E open SDA using design studio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 17:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017978#M6236</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2020-01-30T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017979#M6237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh,&lt;/P&gt;&lt;P&gt;I see that you posted it here as well:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/523363"&gt;PEG SERVER&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the console:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100520i4685B733C3079EC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does the project load something&amp;nbsp;to&amp;nbsp;DFlash?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, the MCU&amp;nbsp;has been already partitioned for EEPROM and CSEc (key space allocated), you would need to erase the partition with this commands:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100548i1F0EE22D5B7DCB15/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf"&gt;AN12130 Production Flash Programming Best Practices for S32K1xxMCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 15:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017979#M6237</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-01-31T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017980#M6238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;the part is&amp;nbsp;patitioned and the Csec is enabled by the following:&amp;nbsp;&lt;SPAN style="font-size: small;"&gt;FTFC-&amp;gt;FCCOB[2] = 0x03; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* FCCOB1 = 2b11, 20 keys */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;However my question is howcome I can load and run other projects which are not enabling CSEC OR PARTITION THE PART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Koorosh Hajiani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017980#M6238</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2020-01-31T17:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017981#M6239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Koorosh,&lt;/P&gt;&lt;P&gt;To my understanding, when the programmer is loading this project, it tries to reprogram DFlash, whereas all the other project don't. Could you share the project? You can create a ticket if you don't want to share it here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329745"&gt;https://community.nxp.com/docs/DOC-329745&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017981#M6239</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-02-03T09:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017982#M6240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;Here is what I don't understand , the same project that the CSEC is enabled ,by doing &lt;SPAN style="font-size: small;"&gt;FTFC-&amp;gt;FCCOB[2] = 0x03&lt;/SPAN&gt;, I would change it to &lt;SPAN style="font-size: small;"&gt;FTFC-&amp;gt;FCCOB[2] = 0x00 or even at some point I commented out the whole portioning ,but still It would not work,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;I can share the file and the linker file , by the way I'm using GREEN HILL compiler, the project itself is huge AND MY BOSS does not give me the per mission .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;I'd send you the file where this is done + the linker file where I launched the command from:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;by the way, how do I attach a file to this question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Koorosh Hajiani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 17:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017982#M6240</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2020-02-03T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection closed by the GDB server.</title>
      <link>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017983#M6241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh,&lt;/P&gt;&lt;P&gt;It does not matter what the SW is doing once it has been programmed, but what is being loaded during the programming. That's what I understand from the console output.&lt;/P&gt;&lt;P&gt;Maybe S-record of the project would help.&lt;/P&gt;&lt;P&gt;There is this &lt;SPAN style="text-decoration: underline;"&gt;Use advanced editor&lt;/SPAN&gt; option:&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/100831i47287F18DE5FA45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 09:10:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Connection-closed-by-the-GDB-server/m-p/1017983#M6241</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-02-04T09:10:51Z</dc:date>
    </item>
  </channel>
</rss>

