<?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>Digital Signal ControllersのトピックRe: MC56F83789 : The code is working while debug but not working the same code after falshing</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83789-The-code-is-working-while-debug-but-not-working-the/m-p/1945275#M3530</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that the MC56F83789 enters bootloader mode, so the application code is not executed.&lt;/P&gt;
&lt;P&gt;Because there is ROM bootloader for MC56F83xxx, so a question arise, how does the&lt;BR /&gt;MC56F83xxx enter bootloader mode or execute code in flash directly.&lt;BR /&gt;There are two structures in&lt;BR /&gt;Flash_config.c to configure flash and ROM.&lt;BR /&gt;(a). You can change below values to configure Flash, such as secure or not, backdoo&lt;BR /&gt;r key,&lt;BR /&gt;boot from ROM or not, etc.&lt;BR /&gt;static&lt;BR /&gt;const uint8_t _flash_config_field [] =&lt;BR /&gt;/* NV_BACKKEY3: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY2: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY1: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY0: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY7: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY6: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY5: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY4: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT3: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT2: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT1: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT0: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FSEC: KEYEN=1,MEEN=3,FSLACC=3,SEC=2 (Note: set SEC to&lt;BR /&gt;00b for secure) */&lt;BR /&gt;0x7EU,&lt;BR /&gt;/* NV_FOPT: FOPT[7:6] = 11b means boot from ROM, other value&lt;BR /&gt;means boot from Flash */&lt;BR /&gt;0x3FU,&lt;BR /&gt;/* Reserved&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* Rese rved */&lt;BR /&gt;0xFFU&lt;/P&gt;
&lt;P&gt;};&lt;BR /&gt;For the above red 0x3F data, it’s bit7 and bit6 are zero, it means the MC56F83xxx starts&lt;BR /&gt;from Flash. If the data is changed to 0xFF, it means the MC56F83xxx starts from&lt;BR /&gt;bootloader after Reset.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2024 07:58:33 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-09-02T07:58:33Z</dc:date>
    <item>
      <title>MC56F83789 : The code is working while debug but not working the same code after falshing</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83789-The-code-is-working-while-debug-but-not-working-the/m-p/1945142#M3529</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the code Debug with MC56F83789 the logic is completely working but flashing the code the logic is not working as expected.&lt;/P&gt;&lt;P&gt;Please look into this issue.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 05:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83789-The-code-is-working-while-debug-but-not-working-the/m-p/1945142#M3529</guid>
      <dc:creator>Aman786</dc:creator>
      <dc:date>2024-09-02T05:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F83789 : The code is working while debug but not working the same code after falshing</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83789-The-code-is-working-while-debug-but-not-working-the/m-p/1945275#M3530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that the MC56F83789 enters bootloader mode, so the application code is not executed.&lt;/P&gt;
&lt;P&gt;Because there is ROM bootloader for MC56F83xxx, so a question arise, how does the&lt;BR /&gt;MC56F83xxx enter bootloader mode or execute code in flash directly.&lt;BR /&gt;There are two structures in&lt;BR /&gt;Flash_config.c to configure flash and ROM.&lt;BR /&gt;(a). You can change below values to configure Flash, such as secure or not, backdoo&lt;BR /&gt;r key,&lt;BR /&gt;boot from ROM or not, etc.&lt;BR /&gt;static&lt;BR /&gt;const uint8_t _flash_config_field [] =&lt;BR /&gt;/* NV_BACKKEY3: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY2: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY1: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY0: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY7: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY6: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY5: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_BACKKEY4: KEY=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT3: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT2: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT1: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FPROT0: PROT=0xFF&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* NV_FSEC: KEYEN=1,MEEN=3,FSLACC=3,SEC=2 (Note: set SEC to&lt;BR /&gt;00b for secure) */&lt;BR /&gt;0x7EU,&lt;BR /&gt;/* NV_FOPT: FOPT[7:6] = 11b means boot from ROM, other value&lt;BR /&gt;means boot from Flash */&lt;BR /&gt;0x3FU,&lt;BR /&gt;/* Reserved&lt;BR /&gt;0xFFU,&lt;BR /&gt;/* Rese rved */&lt;BR /&gt;0xFFU&lt;/P&gt;
&lt;P&gt;};&lt;BR /&gt;For the above red 0x3F data, it’s bit7 and bit6 are zero, it means the MC56F83xxx starts&lt;BR /&gt;from Flash. If the data is changed to 0xFF, it means the MC56F83xxx starts from&lt;BR /&gt;bootloader after Reset.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 07:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83789-The-code-is-working-while-debug-but-not-working-the/m-p/1945275#M3530</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-09-02T07:58:33Z</dc:date>
    </item>
  </channel>
</rss>

