<?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 MPC5748 Sample Code not Running after Flashing RBF in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748-Sample-Code-not-Running-after-Flashing-RBF/m-p/1284224#M7533</link>
    <description>&lt;P&gt;I am trying to sun the sample codes from S32 sdk for MCP5748G after flashing the rbf file. The board is able to communicate successfully with Rappid tool for the serial boot loader.&lt;/P&gt;&lt;P&gt;But what happens is that if I try to flash any other sample code in it, the code runs only for one time after getting flashed. If I press reset or power reset the board, the code doesn't run. I have tried flashing the srec also from Rappid, but no success.&lt;/P&gt;&lt;P&gt;I have tried making the changes in the linker_flash of the sample code since the Release note of Rappid says "The MPC5748G and RBF bootloader occupies 16K memory block starting at 0x00F8C000".&lt;/P&gt;&lt;P&gt;Below is the linker_flash of the sample code :&lt;/P&gt;&lt;P&gt;/* Define FLASH */&lt;BR /&gt;FLASH_BASE_ADDR = DEFINED(__flash_base_addr__) ? __flash_base_addr__ : 0x01000000;&lt;BR /&gt;FLASH_SIZE = DEFINED(__flash_size__) ? __flash_size__ : 1856K;&lt;/P&gt;&lt;P&gt;/* Define SRAM */&lt;BR /&gt;SRAM_BASE_ADDR = DEFINED(__sram_base_addr__) ? __sram_base_addr__ : 0x40000000;&lt;BR /&gt;SRAM_SIZE = DEFINED(__sram_size__) ? __sram_size__ : 256K;&lt;/P&gt;&lt;P&gt;/* Define RAppID boot data address */&lt;BR /&gt;RAPPID_BOOT_APP_DELAY_ADDR = 0x00F90008;&lt;BR /&gt;RAPPID_BOOT_APP_KEY_ADDR = 0x00F9000C;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;flash_rchw : org = 0x00F90000, len = 0x4&lt;BR /&gt;cpu0_reset_vec : org = 0x00F90000+0x10, len = 0x4&lt;BR /&gt;cpu1_reset_vec : org = 0x00F90000+0x14, len = 0x4&lt;BR /&gt;cpu2_reset_vec : org = 0x00F90000+0x04, len = 0x4&lt;BR /&gt;rappid_boot_data : org = 0x00F90000+0x08, len = 0x8&lt;/P&gt;&lt;P&gt;m_text : org = FLASH_BASE_ADDR, len = FLASH_SIZE&lt;BR /&gt;m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I am going wrong ???&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 15:38:40 GMT</pubDate>
    <dc:creator>maharajshreekum</dc:creator>
    <dc:date>2021-05-28T15:38:40Z</dc:date>
    <item>
      <title>MPC5748 Sample Code not Running after Flashing RBF</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748-Sample-Code-not-Running-after-Flashing-RBF/m-p/1284224#M7533</link>
      <description>&lt;P&gt;I am trying to sun the sample codes from S32 sdk for MCP5748G after flashing the rbf file. The board is able to communicate successfully with Rappid tool for the serial boot loader.&lt;/P&gt;&lt;P&gt;But what happens is that if I try to flash any other sample code in it, the code runs only for one time after getting flashed. If I press reset or power reset the board, the code doesn't run. I have tried flashing the srec also from Rappid, but no success.&lt;/P&gt;&lt;P&gt;I have tried making the changes in the linker_flash of the sample code since the Release note of Rappid says "The MPC5748G and RBF bootloader occupies 16K memory block starting at 0x00F8C000".&lt;/P&gt;&lt;P&gt;Below is the linker_flash of the sample code :&lt;/P&gt;&lt;P&gt;/* Define FLASH */&lt;BR /&gt;FLASH_BASE_ADDR = DEFINED(__flash_base_addr__) ? __flash_base_addr__ : 0x01000000;&lt;BR /&gt;FLASH_SIZE = DEFINED(__flash_size__) ? __flash_size__ : 1856K;&lt;/P&gt;&lt;P&gt;/* Define SRAM */&lt;BR /&gt;SRAM_BASE_ADDR = DEFINED(__sram_base_addr__) ? __sram_base_addr__ : 0x40000000;&lt;BR /&gt;SRAM_SIZE = DEFINED(__sram_size__) ? __sram_size__ : 256K;&lt;/P&gt;&lt;P&gt;/* Define RAppID boot data address */&lt;BR /&gt;RAPPID_BOOT_APP_DELAY_ADDR = 0x00F90008;&lt;BR /&gt;RAPPID_BOOT_APP_KEY_ADDR = 0x00F9000C;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;flash_rchw : org = 0x00F90000, len = 0x4&lt;BR /&gt;cpu0_reset_vec : org = 0x00F90000+0x10, len = 0x4&lt;BR /&gt;cpu1_reset_vec : org = 0x00F90000+0x14, len = 0x4&lt;BR /&gt;cpu2_reset_vec : org = 0x00F90000+0x04, len = 0x4&lt;BR /&gt;rappid_boot_data : org = 0x00F90000+0x08, len = 0x8&lt;/P&gt;&lt;P&gt;m_text : org = FLASH_BASE_ADDR, len = FLASH_SIZE&lt;BR /&gt;m_data : org = SRAM_BASE_ADDR, len = SRAM_SIZE&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I am going wrong ???&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 15:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748-Sample-Code-not-Running-after-Flashing-RBF/m-p/1284224#M7533</guid>
      <dc:creator>maharajshreekum</dc:creator>
      <dc:date>2021-05-28T15:38:40Z</dc:date>
    </item>
  </channel>
</rss>

