<?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: How to jump from current main function to other main function in the different section?</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1286641#M2185</link>
    <description>&lt;OL&gt;&lt;LI&gt;Change from SDM to LDM&lt;/LI&gt;&lt;LI&gt;After separating all the spaces of BOOT and APP, everything will operate normally.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 03 Jun 2021 08:05:53 GMT</pubDate>
    <dc:creator>cody1</dc:creator>
    <dc:date>2021-06-03T08:05:53Z</dc:date>
    <item>
      <title>How to jump from current main function to other main function in the different section?</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1283014#M2172</link>
      <description>&lt;P&gt;I use MC56F83783 now. I created two projects A and B.&lt;/P&gt;&lt;P&gt;Project A is my application.&lt;/P&gt;&lt;P&gt;Project B is a boot code for checking all status in flash before jump to Project A.&lt;/P&gt;&lt;P&gt;I split flash into two parts. The section of Project A is from 0x6000 to 0x18000.&lt;/P&gt;&lt;P&gt;The section of Project B is from 0x0000 to 0x6000.&lt;/P&gt;&lt;P&gt;I would use the debug tool to write Project A into Flash. And then I use the flash programmer of CodeWarrior to write Project B into Flash and skip the section of Project A.&lt;/P&gt;&lt;P&gt;The end of the line of the main function has placed the assembly code "asm(JMP 0x6000;);" in Project B.&lt;/P&gt;&lt;P&gt;I saw the status after running Project B but don't saw any status when jumping to Project A.&lt;/P&gt;&lt;P&gt;All above are for updating the section of Project A in the future and no modify the section of Project B.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 02:28:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1283014#M2172</guid>
      <dc:creator>cody1</dc:creator>
      <dc:date>2021-05-27T02:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to jump from current main function to other main function in the different section?</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1284346#M2177</link>
      <description>&lt;P&gt;I do some modifies. I can let Project B jump to Project A now, but I meet a problem that needs help.&lt;/P&gt;&lt;P&gt;First I put a GPIO in while(1), then I can saw the toggle status of GPIO after jumping from Project B to Project A.&lt;/P&gt;&lt;P&gt;And then I modified my code to insert the pointer of the function array for creating more tasks.&lt;/P&gt;&lt;P&gt;There is no toggle status of GPIO after jumping from Project B to Project A.&lt;/P&gt;&lt;P&gt;And then I place a keyword __pmem, then it works.&lt;/P&gt;&lt;P&gt;If I use the function pointer of the array and no place __pmem, then the program would be restarted again and again after resetting the power.&lt;/P&gt;&lt;P&gt;Is there anyone who can help me and tell me what kind of thing I did wrong?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DS0010.PNG" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145819i246829876524B22A/image-size/large?v=v2&amp;amp;px=999" role="button" title="DS0010.PNG" alt="DS0010.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CH2(Blue) is the working status of Project B.&lt;/P&gt;&lt;P&gt;CH4(Green) is the jumping status after jump from Project B to Project A.&lt;/P&gt;&lt;P&gt;CH1(Yellow) is the working status of Project A.&lt;/P&gt;&lt;P&gt;My operation sequence:&lt;/P&gt;&lt;P&gt;1. I use debug tool erase and program Project A into Flash.&lt;/P&gt;&lt;P&gt;2. I use the flash programmer tool to erase and program the section of Project B.&lt;/P&gt;&lt;P&gt;3. Reset the power.&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 11:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1284346#M2177</guid>
      <dc:creator>cody1</dc:creator>
      <dc:date>2021-05-30T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to jump from current main function to other main function in the different section?</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1286641#M2185</link>
      <description>&lt;OL&gt;&lt;LI&gt;Change from SDM to LDM&lt;/LI&gt;&lt;LI&gt;After separating all the spaces of BOOT and APP, everything will operate normally.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 03 Jun 2021 08:05:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/How-to-jump-from-current-main-function-to-other-main-function-in/m-p/1286641#M2185</guid>
      <dc:creator>cody1</dc:creator>
      <dc:date>2021-06-03T08:05:53Z</dc:date>
    </item>
  </channel>
</rss>

