<?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: Debugging T1024RDB using code warrior from reset vector in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495655#M809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you should use Import option, for importing elf version of your project . File &amp;gt; Import &amp;gt; CodeWarrior Executable Importer. Assuming that your application do all initialization, no init file is necessary to be used when Reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please take a look on this &lt;A href="http://cache.nxp.com/files/soft_dev_tools/doc/app_note/AN4876.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AppNote&lt;/A&gt;​. It explain uboot case, elf imported to CodeWarrior and binary flashed into flash device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 10:31:55 GMT</pubDate>
    <dc:creator>addiyi</dc:creator>
    <dc:date>2016-03-22T10:31:55Z</dc:date>
    <item>
      <title>Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495652#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In trace32 when we reset the board the debugger will give control at 0xFFFFFFFC (Reset vector)... from there we can execute instruction by instruction and we can see the surrounding opcodes....&lt;/P&gt;&lt;P&gt;how can we do the same in Code Warrior Debugger...&lt;/P&gt;&lt;P&gt;My requirement is&lt;/P&gt;&lt;P&gt;1) I will connect debugger to Board&lt;/P&gt;&lt;P&gt;2) Open Debugger window&lt;/P&gt;&lt;P&gt;3) Reset the board&lt;/P&gt;&lt;P&gt;4) After board reset,&amp;nbsp; execution stops at reset vector.&lt;/P&gt;&lt;P&gt;5) From there I should be able to execute instruction one by one...&lt;/P&gt;&lt;P&gt;6) I should be able to see opcode of current and surrounding instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Veerendranath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 09:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495652#M806</guid>
      <dc:creator>veerendranathj</dc:creator>
      <dc:date>2016-03-22T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495653#M807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Veerendranath,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You can do all steps using CodeWarrior. After you connect to the board you can use reset botton, to reset the board with or without initialization file (depending on your scenario), After reset debugger will stop at reset vector.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Connection to the board and click on Reset:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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/23557i69022E5D13BA7CC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Reset options:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23601iB29EA8AD08DC20F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Aftre Reset, Debugger will stop the core at reset vector:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23630iBF3AA2E3BC844978/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 09:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495653#M807</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-22T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495654#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. we can do this when we create a ELF file in code warrior and download through tool...&lt;/P&gt;&lt;P&gt;but I created my bare board binary outside the tool(using GCC powerpc eabi toolchain) and I flashed my binary into NOR flash...&lt;/P&gt;&lt;P&gt;Now I want to debug binary using code warrior tool...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veerendranath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495654#M808</guid>
      <dc:creator>veerendranathj</dc:creator>
      <dc:date>2016-03-22T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495655#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you should use Import option, for importing elf version of your project . File &amp;gt; Import &amp;gt; CodeWarrior Executable Importer. Assuming that your application do all initialization, no init file is necessary to be used when Reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please take a look on this &lt;A href="http://cache.nxp.com/files/soft_dev_tools/doc/app_note/AN4876.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AppNote&lt;/A&gt;​. It explain uboot case, elf imported to CodeWarrior and binary flashed into flash device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:31:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495655#M809</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-22T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495656#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a project as shown in AppNote you shared using U-BOOT.ELF which is built using frescale Linux SDK1.8(I used virtualbox for linux)...&lt;/P&gt;&lt;P&gt;but I my CodeWarrior tool is installed in windows system... the source code paths in elf are different from u-boot source code(downloaded from u-boot website) in windows file system... now how to map the ELF with source code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veerendranath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 13:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495656#M810</guid>
      <dc:creator>veerendranathj</dc:creator>
      <dc:date>2016-03-22T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495657#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the PIC load address is set correctly, CW will ask for file location. Please refer to Chapter 11, for a method to calculate PIC load address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 14:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495657#M811</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-22T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495658#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After setting PIC.... source file is mapped correctly but in disassembly section I couldn't see any opcode/corresponding assebly code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cw_uboot_debug.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23559i17B29C85B395ED36/image-size/large?v=v2&amp;amp;px=999" role="button" title="cw_uboot_debug.PNG" alt="cw_uboot_debug.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veerendranath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495658#M812</guid>
      <dc:creator>veerendranathj</dc:creator>
      <dc:date>2016-03-22T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495659#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uboot elf and uboot binary are from the same build?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495659#M813</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-23T07:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495660#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;Uboot elf and uboot binary are from the same build?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes...They are from same build&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the screen shots from Trace32.. I didn't use any ELF file mappings still when I reset the board It's showing opcodes and assembly code..(I just connected the debugger and did target reset) I need similar functionality in codewarrior...How to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="trace32_pic1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24215iDF28F97130AE9303/image-size/large?v=v2&amp;amp;px=999" role="button" title="trace32_pic1.PNG" alt="trace32_pic1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="trace32_pic2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24270i5988DF8449686AF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="trace32_pic2.PNG" alt="trace32_pic2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veerendranath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 07:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495660#M814</guid>
      <dc:creator>veerendranathj</dc:creator>
      <dc:date>2016-03-24T07:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging T1024RDB using code warrior from reset vector</title>
      <link>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495661#M815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you use any Memory file in CodeWarrior? If yes, try using T1024RDB_uboot_36_NOR_stage1.mem or also try with no Memory file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 08:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Debugging-T1024RDB-using-code-warrior-from-reset-vector/m-p/495661#M815</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-03-24T08:01:11Z</dc:date>
    </item>
  </channel>
</rss>

