<?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: Lauterbach Trace32 Debugger with T4160RDB-64b in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875447#M2722</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;DIV dir="ltr" style="color: #000000;"&gt;&lt;SPAN style="font-size: medium; font-family: 'bookman old style', 'new york', times, serif; "&gt;disable_non_ddr_law function have ddr releated thing and all law entries. But, we don't want the ddr now and we needs to disable all law's expect the configured law in script.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;Regards, VinothS&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 03:48:34 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2019-02-08T03:48:34Z</dc:date>
    <item>
      <title>Lauterbach Trace32 Debugger with T4160RDB-64b</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875445#M2720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Lauterbach for u-boot debugging in t4160rdb-64bit target. I got "&lt;STRONG&gt;debug port fail&lt;/STRONG&gt;" error when i am doing u-boot debugging in alternative manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In U-boot assembly instruction,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;_start_cont:&lt;BR /&gt; /* Setup the stack in initial RAM,could be L2-as-SRAM or L1 dcache*/&lt;BR /&gt; lis r3,(CONFIG_SYS_INIT_RAM_ADDR)@h&lt;BR /&gt; ori r3,r3,((CONFIG_SYS_INIT_SP_OFFSET-16)&amp;amp;~0xf)@l /* Align to 16 */&lt;BR /&gt; li r0,0&lt;BR /&gt; stw r0,0(r3) /* Terminate Back Chain */&lt;BR /&gt; stw r0,+4(r3) /* NULL return address. */&lt;BR /&gt; mr r1,r3 /* Transfer to SP(r1) */&lt;/P&gt;&lt;P&gt;GET_GOT&lt;/P&gt;&lt;P&gt;/* Pass our potential ePAPR device tree pointer to cpu_init_early_f */&lt;BR /&gt; mr r3, r24&lt;/P&gt;&lt;P&gt;bl cpu_init_early_f&lt;/P&gt;&lt;P&gt;/* switch back to AS = 0 */&lt;BR /&gt; lis r3,(MSR_CE|MSR_ME|MSR_DE)@h&lt;BR /&gt; ori r3,r3,(MSR_CE|MSR_ME|MSR_DE)@l&lt;BR /&gt; &lt;STRONG&gt;mtmsr r3&lt;/STRONG&gt;&lt;BR /&gt; isync&lt;/P&gt;&lt;P&gt;bl cpu_init_f /* return boot_flag for calling board_init_f */&lt;BR /&gt; bl board_init_f&lt;BR /&gt; isync&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;mtmsr&lt;/STRONG&gt; instruction jump to next location when change the value of&amp;nbsp;&lt;STRONG&gt;MSR&lt;/STRONG&gt; register to&lt;STRONG&gt; 0x230 (DE =1, IS=1 and DS=1)&amp;nbsp;&lt;/STRONG&gt;or otherwise jump to some other junk value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I got some unwanted jump when enter into some function,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eff42590 &amp;lt;disable_law&amp;gt;:&lt;BR /&gt;eff42590: 81 42 00 b0 lwz r10,176(r2)&lt;BR /&gt;eff42594: 39 20 ff fe li r9,-2&lt;BR /&gt;eff42598: 5d 29 18 3e rotlw r9,r9,r3&lt;BR /&gt;eff4259c: 54 63 20 36 rlwinm r3,r3,4,0,27&lt;BR /&gt;eff425a0: 7d 29 50 38 and r9,r9,r10&lt;BR /&gt;eff425a4: 39 40 00 00 li r10,0&lt;BR /&gt;eff425a8: 91 22 00 b0 stw r9,176(r2)&lt;BR /&gt;eff425ac: 39 23 00 08 addi r9,r3,8&lt;BR /&gt;eff425b0: 3d 29 fe 00 addis r9,r9,-512&lt;BR /&gt;eff425b4: 7c 00 04 ac sync&lt;BR /&gt;&lt;STRONG&gt;eff425b8: 91 49 0c 00 stw r10,3072(r9)&lt;/STRONG&gt;&lt;BR /&gt;eff425bc: 39 03 00 04 addi r8,r3,4&lt;BR /&gt;eff425c0: 3d 08 fe 00 addis r8,r8,-512&lt;BR /&gt;eff425c4: 7c 00 04 ac sync&lt;BR /&gt;eff425c8: 91 48 0c 00 stw r10,3072(r8)&lt;BR /&gt;eff425cc: 3c 63 fe 00 addis r3,r3,-512&lt;BR /&gt;eff425d0: 7c 00 04 ac sync&lt;BR /&gt;eff425d4: 91 43 0c 00 stw r10,3072(r3)&lt;BR /&gt;eff425d8: 7c 00 04 ac sync&lt;BR /&gt;eff425dc: 81 29 0c 00 lwz r9,3072(r9)&lt;BR /&gt;eff425e0: 0c 09 00 00 twi 0,r9,0&lt;BR /&gt;eff425e4: 4c 00 01 2c isync&lt;BR /&gt;eff425e8: 4e 80 00 20 blr&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what I want to do and which place I want to do the configure either script side or u-boot code side ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it possible please provide the fixes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards, VinothS&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 04:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875445#M2720</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-01-31T04:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Lauterbach Trace32 Debugger with T4160RDB-64b</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875446#M2721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a unwanted jumps happen when enter into this part of&amp;nbsp;&lt;STRONG&gt;disable_law,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void disable_law(u8 idx)&lt;BR /&gt;{&lt;BR /&gt; gd-&amp;gt;arch.used_laws &amp;amp;= ~(1 &amp;lt;&amp;lt; idx);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;out_be32(LAWAR_ADDR(idx), 0);&lt;/STRONG&gt;&lt;BR /&gt; set_law_base_addr(idx, 0);&lt;/P&gt;&lt;P&gt;/* Read back so that we sync the writes */&lt;BR /&gt; in_be32(LAWAR_ADDR(idx));&lt;/P&gt;&lt;P&gt;return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why this happening. Because,&amp;nbsp; "&lt;STRONG&gt;out_be32"&amp;nbsp;&lt;/STRONG&gt;predefined function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any invalidate access issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why because I got same error when disable the tlb also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void disable_tlb(u8 esel)&lt;BR /&gt;{&lt;BR /&gt; u32 _mas0, _mas1, _mas2, _mas3;&lt;/P&gt;&lt;P&gt;free_tlb_cam(esel);&lt;/P&gt;&lt;P&gt;_mas0 = FSL_BOOKE_MAS0(1, esel, 0);&lt;BR /&gt; _mas1 = 0;&lt;BR /&gt; _mas2 = 0;&lt;BR /&gt; _mas3 = 0;&lt;/P&gt;&lt;P&gt;mtspr(MAS0, _mas0);&lt;BR /&gt; mtspr(MAS1, _mas1);&lt;BR /&gt; mtspr(MAS2, _mas2);&lt;BR /&gt; mtspr(MAS3, _mas3);&lt;BR /&gt;#ifdef CONFIG_ENABLE_36BIT_PHYS&lt;BR /&gt; mtspr(MAS7, 0);&lt;BR /&gt;#endif&lt;BR /&gt; asm volatile("isync;msync;tlbwe;isync");&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#ifdef CONFIG_ADDR_MAP&lt;/STRONG&gt;&lt;BR /&gt; if (gd-&amp;gt;flags &amp;amp; GD_FLG_RELOC)&lt;BR /&gt; addrmap_set_entry(0, 0, 0, esel);&lt;BR /&gt;#endif&lt;BR /&gt;}&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;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875446#M2721</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-06T13:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lauterbach Trace32 Debugger with T4160RDB-64b</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875447#M2722</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;DIV dir="ltr" style="color: #000000;"&gt;&lt;SPAN style="font-size: medium; font-family: 'bookman old style', 'new york', times, serif; "&gt;disable_non_ddr_law function have ddr releated thing and all law entries. But, we don't want the ddr now and we needs to disable all law's expect the configured law in script.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #000000;"&gt;Regards, VinothS&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 03:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Lauterbach-Trace32-Debugger-with-T4160RDB-64b/m-p/875447#M2722</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-08T03:48:34Z</dc:date>
    </item>
  </channel>
</rss>

