<?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: debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913020#M137522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some fuses should be blown for sd boot as described in sect.3.2 Board&lt;/P&gt;&lt;P&gt;Configuration attached Linux Guide, also may be useful to check i.MX23 EVK schematic&lt;/P&gt;&lt;P&gt;and tools:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-processors/i.mx-mature-processors/i.mx23-evaluation-kit:IMX23EVK?&amp;amp;tid=vanIMX23EVK" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-processors/i.mx-mature-processors/i.mx23-evaluation-kit:IMX23EVK?&amp;amp;tid=vanIMX23EVK"&gt;i.MX23 Evaluation Kit | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2019 23:22:20 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-08-27T23:22:20Z</dc:date>
    <item>
      <title>debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913019#M137521</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;I've build myself a custom i.mx233 board. I've build the board in phases to verify each part is working.&lt;/P&gt;&lt;P&gt;First I've soldered the power supply part and verified it's working. Then I've added the CPU, SD card connector and RAM. Now the problem starts: I'm unable to boot from SD. I got all the jumpers set correctly, as far as I know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've connected serial to the board and when I boot it without SD card, I get the expected output:&lt;/P&gt;&lt;P&gt;0x80502008&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H0x80501003&lt;BR /&gt;0x80502008&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H0x80501003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I've inserted the SD card, I still get the same messages, meaning it doesn't boot from the SD Card.&lt;/P&gt;&lt;P&gt;Now I've bought a JTAG adapter with a SJTAG. Debug setup is working but I can't seem to figure out if and how I can debug the SD card access through (S)JTAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked multple forum and internet searches, but all I've found are discussing the fact that SD card pins are muxed with JTAG pins ;o)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone here can help/point me in the right direction to figure out the root cause of the board not willing to boot from SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CPU seems to work at least, because I was able to blow the SD_MBR_BOOT eFuse from Windows, as it was detected correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards and thanks in advance for any help/hints.&lt;/P&gt;&lt;P&gt;Onno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 18:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913019#M137521</guid>
      <dc:creator>ovdl</dc:creator>
      <dc:date>2019-08-27T18:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913020#M137522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some fuses should be blown for sd boot as described in sect.3.2 Board&lt;/P&gt;&lt;P&gt;Configuration attached Linux Guide, also may be useful to check i.MX23 EVK schematic&lt;/P&gt;&lt;P&gt;and tools:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-processors/i.mx-mature-processors/i.mx23-evaluation-kit:IMX23EVK?&amp;amp;tid=vanIMX23EVK" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-processors/i.mx-mature-processors/i.mx23-evaluation-kit:IMX23EVK?&amp;amp;tid=vanIMX23EVK"&gt;i.MX23 Evaluation Kit | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 23:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913020#M137522</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-27T23:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913021#M137523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt answer. I'll look into the eFuses again, maybe I missed something because I thought I had those specifically correct. Thanks for the attachment, that's one I hadn't found before!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile I still like to know if it's possible to check the SD Card with SJTAG, for ex. is it possible to verify with SJTAG that the SD card at least is being recognized / "seen" / inserted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Onno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 09:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913021#M137523</guid>
      <dc:creator>ovdl</dc:creator>
      <dc:date>2019-08-28T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913022#M137524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid it is not possible to boot with attached jtag and use it&lt;/P&gt;&lt;P&gt;to execute ROM commands, as ROM may execute commands&lt;/P&gt;&lt;P&gt;with particular timings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 10:53:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913022#M137524</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-28T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: debug i.mx233 sd card boot issue with sjtag - boot error 0x80502008</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913023#M137525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be complete on this post, I finally had some time and figured out the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately not the answer to the subject (using SJTAG), but it still might help others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For resistor boot mode selection, LCD_D0 and LCD_D3 need to be high. After verifying everything again and comparing all different outputs from the boot mode selection, I discovered that the D0 pin on the CPU side wasn't completely soldered, since with D0+D3 connected (also verified D0 connection with multimeter), console gave same output as with only D3 connected.&amp;nbsp; Hence the output:&lt;/P&gt;&lt;P&gt;0x80502008&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H0x80501003 &amp;lt;&amp;lt;&amp;lt;- ERROR_ROM_LDR_SIGNATURE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I re-soldered pin D0 and booted without SD card inserted, it gave me the correct output:&lt;/P&gt;&lt;P&gt;0x80502008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8020a014 &amp;lt;&amp;lt;&amp;lt;- "ERROR_DDI_SD_MMC_DEVICE_NOT_SUPPORTED"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So MBR boot is working now! Thanks &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt; for all hints and info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only need to figure out / solve the next (power) issue as it keeps rebooting after power-up and eventually hangs.&lt;/P&gt;&lt;P&gt;But I'll create a new post for it if I can't figure it out. ;o) At least it's proving that the SD card is functional. :smileygrin:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC&lt;BR /&gt;PowerPrep start initialize power...&lt;BR /&gt;Battery Voltage = 0.00V&lt;BR /&gt;No battery or bad battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; detected!!!.Disabling battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voltage measuHTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLC&lt;BR /&gt;PowerPrep start initialize power...&lt;BR /&gt;Battery Voltage = 0.00V&lt;BR /&gt;No battery or bad battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; detected!!!.Disabling battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voltage measuHTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLC&lt;BR /&gt;PowerPrep start initialize power...&lt;BR /&gt;Battery Voltage = 0.00V&lt;BR /&gt;No battery or bad battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; detected!!!.Disabling battery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voltage measurements./r/n&lt;BR /&gt;FIQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r14_HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 08:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-i-mx233-sd-card-boot-issue-with-sjtag-boot-error/m-p/913023#M137525</guid>
      <dc:creator>ovdl</dc:creator>
      <dc:date>2020-08-19T08:50:23Z</dc:date>
    </item>
  </channel>
</rss>

