<?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 Some problems about bootloader in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909052#M958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;Hello everyone,i have some problems in bootloader program of S32R274,i describe the problems below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;The linker file settings is shown in the picture below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&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/83861i75C29201196804F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;Download the elf files of the three-core APP to 274 through the&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;download device&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;, use the memory viewing function, export the data of the flash used by the Z4 and Z7 cores as file 1, and burn the S19 file of the APP project to 274 by using the CAN bus through the bootloader program.&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;Use the memory viewing function and export the data of the flash used by the Z4 and Z7 cores as file 2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;By comparing the two files, it is found that file 1 and file 2 are exactly the same.But there are some problems:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;1.When debug the bootloader program, the CAN data transmission and flash burning can be carried out normally, and after the data burning is completed, wait for the watchdog to overflow and reset. After the reset, the program determines that the reset source is from watchdog, and then jumps to the APP program.&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;The observed phenomenon is that the Z4 core program can run normally (judged by using CAN to send data in Z4 core), but the Z7 core can not run, and the working current is about 200mA.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;2.At the end of the execution above, terminate the debug, and power cycle the 274. it is found that the current is 53mA, and after a few seconds, it drops to about 22mA. At this time, the CAN does not receive any data (as expected, the CAN data sent by the Z4 core should be received).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;And there are my questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;1.When debug bootloader, what are the possible reasons that the Z7 core does not run after the program jumps?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;2.Run directly (bootloader and APP programs are already in the flash), what are the possible reasons why the program does not run?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;If anyone know something about the problems, please tell me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Thanks sincerely.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt; background: white;"&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 May 2019 07:30:21 GMT</pubDate>
    <dc:creator>287385104</dc:creator>
    <dc:date>2019-05-27T07:30:21Z</dc:date>
    <item>
      <title>Some problems about bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909052#M958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;Hello everyone,i have some problems in bootloader program of S32R274,i describe the problems below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;The linker file settings is shown in the picture below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&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/83861i75C29201196804F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;Download the elf files of the three-core APP to 274 through the&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;download device&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;, use the memory viewing function, export the data of the flash used by the Z4 and Z7 cores as file 1, and burn the S19 file of the APP project to 274 by using the CAN bus through the bootloader program.&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; "&gt;Use the memory viewing function and export the data of the flash used by the Z4 and Z7 cores as file 2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;By comparing the two files, it is found that file 1 and file 2 are exactly the same.But there are some problems:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;1.When debug the bootloader program, the CAN data transmission and flash burning can be carried out normally, and after the data burning is completed, wait for the watchdog to overflow and reset. After the reset, the program determines that the reset source is from watchdog, and then jumps to the APP program.&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0cm; color: black; background: white; font-size: 10.0pt; "&gt;The observed phenomenon is that the Z4 core program can run normally (judged by using CAN to send data in Z4 core), but the Z7 core can not run, and the working current is about 200mA.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;2.At the end of the execution above, terminate the debug, and power cycle the 274. it is found that the current is 53mA, and after a few seconds, it drops to about 22mA. At this time, the CAN does not receive any data (as expected, the CAN data sent by the Z4 core should be received).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;And there are my questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;1.When debug bootloader, what are the possible reasons that the Z7 core does not run after the program jumps?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;2.Run directly (bootloader and APP programs are already in the flash), what are the possible reasons why the program does not run?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;If anyone know something about the problems, please tell me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Thanks sincerely.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt; text-indent: -18.0pt; background: white;"&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2019 07:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909052#M958</guid>
      <dc:creator>287385104</dc:creator>
      <dc:date>2019-05-27T07:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some problems about bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909053#M959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if only application is programmed in the flash, is it working as expected? Are all cores running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the answer is yes, what steps are performed before jumping from bootloader to application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 10:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909053#M959</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-31T10:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Some problems about bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909054#M960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lukas,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The answer is yes, and &amp;nbsp;i have solved the problem now. It looks that clearing sram causes the program run away. I have a &amp;nbsp;new problem now, after power on the board, the program could jump to APP program and there are messages on the CAN bus, everything seems normal, but there is no object in the data(there is expected one or two objects), after check the memory i found that the adc original data is "0"(all of the region that save the adc original data), but when only APP is programed in the flash, there are detected objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If you know something about this, could you please give me some suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks sincerely~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Fei，Xu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 08:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Some-problems-about-bootloader/m-p/909054#M960</guid>
      <dc:creator>287385104</dc:creator>
      <dc:date>2019-06-03T08:49:38Z</dc:date>
    </item>
  </channel>
</rss>

