<?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>i.MX ProcessorsのトピックRe: Using OpenOCD with imx28evk</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178344#M7136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply, do still need help with this?&amp;nbsp; I'm currently using USB to load u-boot for unprogrammed parts.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 18:32:54 GMT</pubDate>
    <dc:creator>tcmichals</dc:creator>
    <dc:date>2013-07-25T18:32:54Z</dc:date>
    <item>
      <title>Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178340#M7132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to connect openOCD (Open On-Chip Debugger 0.6.1) to the imx28evk.&amp;nbsp; Is there some HW switches that need to configured?&amp;nbsp; Here is the output and command line:&lt;/P&gt;&lt;P&gt;sudo openocd -f interface/jtagkey-tiny.cfg -f board/imx28evk.cfg&lt;/P&gt;&lt;P&gt;Open On-Chip Debugger 0.6.1 (2012-10-27-10:53)&lt;/P&gt;&lt;P&gt;Licensed under GNU GPL v2&lt;/P&gt;&lt;P&gt;For bug reports, read&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://openocd.sourceforge.net/doc/doxygen/bugs.html"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Info : only one transport option; autoselect 'jtag'&lt;/P&gt;&lt;P&gt;trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain&lt;/P&gt;&lt;P&gt;adapter_nsrst_delay: 100&lt;/P&gt;&lt;P&gt;jtag_ntrst_delay: 100&lt;/P&gt;&lt;P&gt;dcc downloads are enabled&lt;/P&gt;&lt;P&gt;imx28evk_init&lt;/P&gt;&lt;P&gt;Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.&lt;/P&gt;&lt;P&gt;in procedure 'init'&lt;/P&gt;&lt;P&gt;tcmichals@tcmichals-RP829AV-ABA-d4790y:~$ sudo openocd -f interface/jtagkey-tiny.cfg -f board/imx28evk.cfg&lt;/P&gt;&lt;P&gt;Open On-Chip Debugger 0.6.1 (2012-10-27-10:53)&lt;/P&gt;&lt;P&gt;Licensed under GNU GPL v2&lt;/P&gt;&lt;P&gt;For bug reports, read&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://openocd.sourceforge.net/doc/doxygen/bugs.html"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Info : only one transport option; autoselect 'jtag'&lt;/P&gt;&lt;P&gt;adapter speed: 10 kHz&lt;/P&gt;&lt;P&gt;trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain&lt;/P&gt;&lt;P&gt;adapter_nsrst_delay: 100&lt;/P&gt;&lt;P&gt;jtag_ntrst_delay: 100&lt;/P&gt;&lt;P&gt;dcc downloads are enabled&lt;/P&gt;&lt;P&gt;imx28evk_init&lt;/P&gt;&lt;P&gt;Info : clock speed 10 kHz&lt;/P&gt;&lt;P&gt;Error: JTAG scan chain interrogation failed: all ones&lt;/P&gt;&lt;P&gt;Error: Check JTAG interface, timings, target power, etc.&lt;/P&gt;&lt;P&gt;Error: Trying to use configured scan chain anyway...&lt;/P&gt;&lt;P&gt;Error: imx28.cpu: IR capture error; saw 0x0f not 0x01&lt;/P&gt;&lt;P&gt;Warn : Bypassing JTAG setup events due to errors&lt;/P&gt;&lt;P&gt;Info : Embedded ICE version 15&lt;/P&gt;&lt;P&gt;Error: unknown EmbeddedICE version (comms ctrl: 0xffffffff)&lt;/P&gt;&lt;P&gt;Info : imx28.cpu: hardware has 2 breakpoint/watchpoint units&lt;/P&gt;&lt;P&gt;Warn : WARNING: unknown debug reason: 0xf&lt;/P&gt;&lt;P&gt;Warn : ThumbEE -- incomplete support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178340#M7132</guid>
      <dc:creator>tcmichals</dc:creator>
      <dc:date>2012-11-16T04:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178341#M7133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it is connecting, I set the dip switches to JTAG mode. I do the following:&lt;/P&gt;&lt;P&gt;&amp;gt; load_image /home/tcmichals/Projects/Cygnetron/newProject/buildroot/cygBuildRoot/images/u-boot.bin&lt;/P&gt;&lt;P&gt;No working memory available. Specify -work-area-phys to target.&lt;/P&gt;&lt;P&gt;not enough working area available(requested 24)&lt;/P&gt;&lt;P&gt;no working area available, falling back to memory writes&lt;/P&gt;&lt;P&gt;250556 bytes written at address 0x00000000&lt;/P&gt;&lt;P&gt;downloaded 250556 bytes in 17.128075s (14.286 KiB/s)&lt;/P&gt;&lt;P&gt;&amp;gt; resume 0x41008000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the correct addresses?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178341#M7133</guid>
      <dc:creator>tcmichals</dc:creator>
      <dc:date>2012-11-16T05:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178342#M7134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK figured it out, just read the map file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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; 0x0000000000000000&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; . = 0x0&lt;/P&gt;&lt;P&gt;&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; 0x0000000000000000&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; . = ALIGN (0x4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000040000100&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2b11c&lt;/P&gt;&lt;P&gt;&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; 0x0000000040000100&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; __image_copy_start = .&lt;/P&gt;&lt;P&gt; arch/arm/cpu/arm926ejs/start.o(.text)&lt;/P&gt;&lt;P&gt; .text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000040000100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x480 arch/arm/cpu/arm926ejs/start.o&lt;/P&gt;&lt;P&gt;&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; 0x0000000040000100&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; _start&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this translates to:&lt;/P&gt;&lt;P&gt;&amp;gt; load_image /home/tcmichals/Projects/Cygnetron/newProject/buildroot/cygBuildRoot/images/u-boot.bin 0x040000100 &lt;/P&gt;&lt;P&gt;No working memory available. Specify -work-area-phys to target.&lt;/P&gt;&lt;P&gt;not enough working area available(requested 24)&lt;/P&gt;&lt;P&gt;no working area available, falling back to memory writes&lt;/P&gt;&lt;P&gt;250556 bytes written at address 0x40000100&lt;/P&gt;&lt;P&gt;downloaded 250556 bytes in 17.861929s (13.699 KiB/s)&lt;/P&gt;&lt;P&gt;&amp;gt; resume 0x040000100 &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;Now u-boot does boot (Need to fix other issues ...)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 16:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178342#M7134</guid>
      <dc:creator>tcmichals</dc:creator>
      <dc:date>2012-11-18T16:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178343#M7135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you post your imx28.cfg and imx28evk.cfg? I'm trying the same as you did but it fails with this message: "memory write caused data abort (address: 0x47000000, size: 0x4, count: 0xe1f2)"&lt;/P&gt;&lt;P&gt;I'm also not sure if the imx28evk_init procedure is called correctly. I placed some echos in it which don't show up on starting openocd. When calling it later by hand I get complaints about the target being not halted despite the fact that openocd reported the target as halted on startup.&lt;/P&gt;&lt;P&gt;Do you have any hints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 13:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178343#M7135</guid>
      <dc:creator>ChristophG_Baum</dc:creator>
      <dc:date>2013-05-14T13:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178344#M7136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply, do still need help with this?&amp;nbsp; I'm currently using USB to load u-boot for unprogrammed parts.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178344#M7136</guid>
      <dc:creator>tcmichals</dc:creator>
      <dc:date>2013-07-25T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178345#M7137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was that our platform does not have external regulators for 4.2V. So it relies entirely on the internal ones of the i.MX28. The start up script for the i.MX28EVK assumes that the regulators on the EVK are already powered.&lt;/P&gt;&lt;P&gt;Reading AN4199 chapter '3.1.3 4P2 Power Source' I came up with this OCD code to bring up the 4.2V supply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#init 4P2 rail&lt;/P&gt;&lt;P&gt;#HW_POWER_DCDC4P2[TRG] = 0&lt;/P&gt;&lt;P&gt;#is reset state -&amp;gt; nothing to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#HW_POWER_DCDC4P2[ENABLE_4P2] = 1&lt;/P&gt;&lt;P&gt;mww 0x80044080 0x00800018&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#HW_POWER_DCDC4P2[ENABLE_4P2] = 1&lt;/P&gt;&lt;P&gt;mww 0x80044034 0x00400000&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#HW_POWER_CHARGE[ENABLE_LOAD] = 1&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00001000&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#HW_POWER_5VCTRL[PWD_CHARGE_4P2] = 0&lt;/P&gt;&lt;P&gt;mww 0x80044018 0x00300000&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#HW_POWER_DCDC4P2[ENABLE_DCDC] = 1&lt;/P&gt;&lt;P&gt;mww 0x80044080 0x00C00018&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#charge 4p2 cap&lt;/P&gt;&lt;P&gt;#step up HW_POWER_5VCTRL[CHARGE_4P2_ILIMIT]&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00002000&lt;/P&gt;&lt;P&gt;sleep 1&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00004000&lt;/P&gt;&lt;P&gt;sleep 1&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00008000&lt;/P&gt;&lt;P&gt;sleep 1&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00010000&lt;/P&gt;&lt;P&gt;sleep 1&lt;/P&gt;&lt;P&gt;mww 0x80044014 0x00020000&lt;/P&gt;&lt;P&gt;sleep 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that the initialization can continue with the script as it is in OpenOCD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178345#M7137</guid>
      <dc:creator>ChristophG_Baum</dc:creator>
      <dc:date>2013-07-26T08:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Using OpenOCD with imx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178346#M7138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you fix your JTAG mode booting problem? I saw you had ERROR message below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Info : clock speed 10 kHz&lt;/P&gt;&lt;P&gt;Error: JTAG scan chain interrogation failed: all ones&lt;/P&gt;&lt;P&gt;Error: Check JTAG interface, timings, target power, etc.&lt;/P&gt;&lt;P&gt;Error: Trying to use configured scan chain anyway...&lt;/P&gt;&lt;P&gt;Error: imx28.cpu: IR capture error; saw 0x0f not 0x01&lt;/P&gt;&lt;P&gt;Warn : Bypassing JTAG setup events due to errors&lt;/P&gt;&lt;P&gt;Info : Embedded ICE version 15&lt;/P&gt;&lt;P&gt;Error: unknown EmbeddedICE version (comms ctrl: 0xffffffff)&lt;/P&gt;&lt;P&gt;Info : imx28.cpu: hardware has 2 breakpoint/watchpoint units&lt;/P&gt;&lt;P&gt;Warn : WARNING: unknown debug reason: 0xf&lt;/P&gt;&lt;P&gt;Warn : ThumbEE -- incomplete support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 02:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-OpenOCD-with-imx28evk/m-p/178346#M7138</guid>
      <dc:creator>anneshen</dc:creator>
      <dc:date>2014-04-01T02:31:58Z</dc:date>
    </item>
  </channel>
</rss>

