<?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: MM9S1J638 bootloader is not jumping into Application in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-bootloader-is-not-jumping-into-Application/m-p/1452192#M18636</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188117"&gt;@vivek_sri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Just to be sure, what do you mean it does not work?&lt;/P&gt;
&lt;P&gt;The application does not work or the debug session gets terminated?&lt;/P&gt;
&lt;P&gt;You can attach the debugger (without reset) once it is in the application code to halt it and check registers etc.&lt;/P&gt;
&lt;P&gt;Also, the MCU must always do something, either it is running the application or it is stuck in a loop.&lt;/P&gt;
&lt;P&gt;Can you implement this ISRs with while(1){} in them at least?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1651571645197.png" style="width: 989px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178644iE051165221A948EA/image-dimensions/989x228?v=v2" width="989" height="228" role="button" title="danielmartynek_0-1651571645197.png" alt="danielmartynek_0-1651571645197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2022 09:55:22 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2022-05-03T09:55:22Z</dc:date>
    <item>
      <title>MM9S1J638 bootloader is not jumping into Application</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-bootloader-is-not-jumping-into-Application/m-p/1451372#M18630</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm working on a bootloader project on MM9S1J638. I'm having an issue while jumping into application code.&lt;/P&gt;&lt;P&gt;I'm using below code to jump into the application code.&lt;/P&gt;&lt;P&gt;void Jump_Main_Application(void)&lt;BR /&gt;{&lt;BR /&gt;app_vector = *(unsigned long int *) (APPLICATION_RESET_VEC_ADD+1);&lt;BR /&gt;asm LD X,app_vector;&lt;BR /&gt;asm JMP (0,X);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;APPLICATION_RESET_VEC_ADD is&amp;nbsp;BOOTLOADER_START_ADD-4&lt;/P&gt;&lt;P&gt;I've checked, it holds the last 3 bytes of the s19 file. which is same as the start address of the application code(_Startup).&lt;/P&gt;&lt;P&gt;The problem is that when I directly jump into the application code. Then it dosen' t work.&lt;/P&gt;&lt;P&gt;But when I place a breakpoint anywhere inside the above function and then run the code. Then it works totally fine.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-bootloader-is-not-jumping-into-Application/m-p/1451372#M18630</guid>
      <dc:creator>vivek_sri</dc:creator>
      <dc:date>2022-04-29T13:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: MM9S1J638 bootloader is not jumping into Application</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-bootloader-is-not-jumping-into-Application/m-p/1452192#M18636</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188117"&gt;@vivek_sri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Just to be sure, what do you mean it does not work?&lt;/P&gt;
&lt;P&gt;The application does not work or the debug session gets terminated?&lt;/P&gt;
&lt;P&gt;You can attach the debugger (without reset) once it is in the application code to halt it and check registers etc.&lt;/P&gt;
&lt;P&gt;Also, the MCU must always do something, either it is running the application or it is stuck in a loop.&lt;/P&gt;
&lt;P&gt;Can you implement this ISRs with while(1){} in them at least?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1651571645197.png" style="width: 989px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178644iE051165221A948EA/image-dimensions/989x228?v=v2" width="989" height="228" role="button" title="danielmartynek_0-1651571645197.png" alt="danielmartynek_0-1651571645197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 09:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-bootloader-is-not-jumping-into-Application/m-p/1452192#M18636</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-03T09:55:22Z</dc:date>
    </item>
  </channel>
</rss>

