<?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 Hard Fault Issue When U-Boot Executing[uCLinux] in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Fault-Issue-When-U-Boot-Executing-uCLinux/m-p/706699#M43362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-top: 0px !important; margin-bottom: 16px;"&gt;Hello Friends,&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I was tried to boot Linux to our TWR-K70F120M Development board. I applied all requirements from your Linux Kinetis BSP Guide for the Freescale TWR-K70F120M Board pdf's . That include(code warrior, elevator modules setup, debugger options, flash operations) etc.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;So i prepared Linux System for building u-boot from source code and i can compile u-boot. I successfully flashed to u-boot file to FLASH but problem is when i flashed to u-boot to our development board i see "HARD FAULT exception" on RS232 Serial of elevator serial module&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;All u-boot prints listed below. I tried prebuild u-boot image too. But same problem occuring. What's is wrong is here?. Is that jumper or hardware fault?. What can i do? Thanks you.&lt;/P&gt;&lt;P&gt;we also get this warning despite having our tower module mt29f2g nand flash.&lt;/P&gt;&lt;P&gt;Bad block table not found for chip 0&lt;BR /&gt;Bad block table not found for chip 0&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;SPAN&gt;Prebuilt U-Boot&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;U-Boot 2010.03-linux-cortexm-1.12.0 (Dec 13 2013 - 16:42:39)&amp;nbsp; CPU&amp;nbsp; : Freescale Kinetis series (Cortex-M4) Freqs: SYSTICK=120MHz,CCLK=120MHz,PCLK=60MHz,MACCLK=50MHz Board: Freescale TWR-K70F120M rev 1 DRAM:&amp;nbsp; 128 MB NAND:&amp;nbsp; 256 MiB Bad block table not found for chip 0 Bad block table not found for chip 0 UNHANDLED EXCEPTION: HARD FAULT&amp;nbsp;&amp;nbsp; R0&amp;nbsp;&amp;nbsp;&amp;nbsp; = ffff0000&amp;nbsp; R1&amp;nbsp; = 87f00008&amp;nbsp;&amp;nbsp; R2&amp;nbsp;&amp;nbsp;&amp;nbsp; = 000a0000&amp;nbsp; R3&amp;nbsp; = 0000ffff&amp;nbsp;&amp;nbsp; R12&amp;nbsp;&amp;nbsp; = 00000000&amp;nbsp; LR&amp;nbsp; = ff0000ff&amp;nbsp;&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00008af4&amp;nbsp; PSR = 01000000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Custom u-boot from i pulled&amp;nbsp; and compiled from emcraft github.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 0px !important; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;U-Boot 2010.03 (Sep 18 2017 - 04:39:26)&amp;nbsp; CPU&amp;nbsp; : Freescale Kinetis series (Cortex-M4) Freqs: SYSTICK=120MHz,CCLK=120MHz,PCLK=60MHz,MACCLK=50MHz Board: Freescale TWR-K70F120M rev 1 DRAM:&amp;nbsp; 128 MB NAND:&amp;nbsp; 256 MiB Bad block table not found for chip 0 Bad block table not found for chip 0 UNHANDLED EXCEPTION: HARD FAULT&amp;nbsp;&amp;nbsp; R0&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00020000&amp;nbsp; R1&amp;nbsp; = 00040000&amp;nbsp;&amp;nbsp; R2&amp;nbsp;&amp;nbsp;&amp;nbsp; = 000a3f00&amp;nbsp; R3&amp;nbsp; = 000a3f38&amp;nbsp;&amp;nbsp; R12&amp;nbsp;&amp;nbsp; = 2000fdd8&amp;nbsp; LR&amp;nbsp; = 00000f1d&amp;nbsp;&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00008b4e&amp;nbsp; PSR = 01000000&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 12:18:32 GMT</pubDate>
    <dc:creator>muratdemirtaş</dc:creator>
    <dc:date>2017-09-18T12:18:32Z</dc:date>
    <item>
      <title>Hard Fault Issue When U-Boot Executing[uCLinux]</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Fault-Issue-When-U-Boot-Executing-uCLinux/m-p/706699#M43362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-top: 0px !important; margin-bottom: 16px;"&gt;Hello Friends,&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I was tried to boot Linux to our TWR-K70F120M Development board. I applied all requirements from your Linux Kinetis BSP Guide for the Freescale TWR-K70F120M Board pdf's . That include(code warrior, elevator modules setup, debugger options, flash operations) etc.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;So i prepared Linux System for building u-boot from source code and i can compile u-boot. I successfully flashed to u-boot file to FLASH but problem is when i flashed to u-boot to our development board i see "HARD FAULT exception" on RS232 Serial of elevator serial module&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;All u-boot prints listed below. I tried prebuild u-boot image too. But same problem occuring. What's is wrong is here?. Is that jumper or hardware fault?. What can i do? Thanks you.&lt;/P&gt;&lt;P&gt;we also get this warning despite having our tower module mt29f2g nand flash.&lt;/P&gt;&lt;P&gt;Bad block table not found for chip 0&lt;BR /&gt;Bad block table not found for chip 0&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;SPAN&gt;Prebuilt U-Boot&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;U-Boot 2010.03-linux-cortexm-1.12.0 (Dec 13 2013 - 16:42:39)&amp;nbsp; CPU&amp;nbsp; : Freescale Kinetis series (Cortex-M4) Freqs: SYSTICK=120MHz,CCLK=120MHz,PCLK=60MHz,MACCLK=50MHz Board: Freescale TWR-K70F120M rev 1 DRAM:&amp;nbsp; 128 MB NAND:&amp;nbsp; 256 MiB Bad block table not found for chip 0 Bad block table not found for chip 0 UNHANDLED EXCEPTION: HARD FAULT&amp;nbsp;&amp;nbsp; R0&amp;nbsp;&amp;nbsp;&amp;nbsp; = ffff0000&amp;nbsp; R1&amp;nbsp; = 87f00008&amp;nbsp;&amp;nbsp; R2&amp;nbsp;&amp;nbsp;&amp;nbsp; = 000a0000&amp;nbsp; R3&amp;nbsp; = 0000ffff&amp;nbsp;&amp;nbsp; R12&amp;nbsp;&amp;nbsp; = 00000000&amp;nbsp; LR&amp;nbsp; = ff0000ff&amp;nbsp;&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00008af4&amp;nbsp; PSR = 01000000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Custom u-boot from i pulled&amp;nbsp; and compiled from emcraft github.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 0px !important; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;U-Boot 2010.03 (Sep 18 2017 - 04:39:26)&amp;nbsp; CPU&amp;nbsp; : Freescale Kinetis series (Cortex-M4) Freqs: SYSTICK=120MHz,CCLK=120MHz,PCLK=60MHz,MACCLK=50MHz Board: Freescale TWR-K70F120M rev 1 DRAM:&amp;nbsp; 128 MB NAND:&amp;nbsp; 256 MiB Bad block table not found for chip 0 Bad block table not found for chip 0 UNHANDLED EXCEPTION: HARD FAULT&amp;nbsp;&amp;nbsp; R0&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00020000&amp;nbsp; R1&amp;nbsp; = 00040000&amp;nbsp;&amp;nbsp; R2&amp;nbsp;&amp;nbsp;&amp;nbsp; = 000a3f00&amp;nbsp; R3&amp;nbsp; = 000a3f38&amp;nbsp;&amp;nbsp; R12&amp;nbsp;&amp;nbsp; = 2000fdd8&amp;nbsp; LR&amp;nbsp; = 00000f1d&amp;nbsp;&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00008b4e&amp;nbsp; PSR = 01000000&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 12:18:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hard-Fault-Issue-When-U-Boot-Executing-uCLinux/m-p/706699#M43362</guid>
      <dc:creator>muratdemirtaş</dc:creator>
      <dc:date>2017-09-18T12:18:32Z</dc:date>
    </item>
  </channel>
</rss>

