<?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>OSBDM and TBDML中的主题 Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267688#M2589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PGO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I auto select&amp;nbsp; the device by pressing detect chip button.&lt;span class="lia-inline-image-display-wrapper" image-alt="p7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40991i2CDE70CD3EC6951A/image-size/large?v=v2&amp;amp;px=999" role="button" title="p7.png" alt="p7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="p8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40992i398A4D10B87787D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="p8.png" alt="p8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I found an other issue with gdbserver.&lt;/P&gt;&lt;P&gt;I flashes the KL46Z by ARM_FlashProgrammer.&lt;/P&gt;&lt;P&gt;Start the gdbserver.&lt;/P&gt;&lt;P&gt;Debug the program.&lt;/P&gt;&lt;P&gt;BUT the debugger able to read only 16k of rams. &lt;/P&gt;&lt;P&gt;In case of KL46Z, ram starts at 0x1fffe000 ends 0x20006000, but the debugger only see up to 0x20002000.&lt;/P&gt;&lt;P&gt;For this small test program I must set the end of stack to 0x20002000&amp;nbsp; to see the local variables and to be able to step the program correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="p9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40993i55B60E280578C395/image-size/large?v=v2&amp;amp;px=999" role="button" title="p9.png" alt="p9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday I compiled your latest OPEN_SDA firmware from your git because I've seen your new commits, but the situation is the same.&lt;/P&gt;&lt;P&gt;Anyway, I like very much these tools, because I work on SuSe linux and now I do not need to go to VirtualBox XP's CodeWarrior&amp;nbsp; to develop and debug.&lt;/P&gt;&lt;P&gt;I appreciate your hard work very much!&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 08:55:56 GMT</pubDate>
    <dc:creator>sándorbognár</dc:creator>
    <dc:date>2013-10-10T08:55:56Z</dc:date>
    <item>
      <title>ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267686#M2587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! &lt;/P&gt;&lt;P&gt;The&amp;nbsp; ARM_FlashProgrammer works fine and flashes the KL46Z, but ARM_Gdbserver gives this errror!&lt;/P&gt;&lt;P&gt;For KL25Z works fine.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(gdb) load&lt;BR /&gt;Loading section .interrupts, size 0xc0 lma 0x0&lt;BR /&gt;Loading section .cfmprotect, size 0x10 lma 0x400&lt;BR /&gt;Loading section .text, size 0xd01c lma 0x410&lt;BR /&gt;Loading section .data, size 0x534 lma 0xd42c&lt;BR /&gt;Loading section .romp, size 0x18 lma 0xd960&lt;BR /&gt;Start address 0xbf71, load size 54840&lt;BR /&gt;qTStatus: Target returns error code 'FF:Closing connection'.&lt;BR /&gt;qTStatus: Remote connection closed&lt;BR /&gt;Transfer rate: 548 bytes/sec, 1713 bytes/write.&lt;BR /&gt;(gdb) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to USBDM GDB server&lt;BR /&gt;Using required USBDM interface S/N = 'USBDM-OPENSDA-13822'&lt;BR /&gt;Server created @localhost:1234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================&lt;BR /&gt;New client connection from localhost:53321 accepted&lt;BR /&gt;Loading register description from device database&lt;BR /&gt;BDM Open OK&lt;BR /&gt;Sending target description&lt;BR /&gt;Sending register description&lt;BR /&gt;Reading Registers&lt;BR /&gt;Reading Memory[BF70..BF73]&lt;BR /&gt;Reading Memory[A58..A59]&lt;BR /&gt;Reading Memory[A58..A59]&lt;BR /&gt;Erasing flash[0..DBFF] - ignored&lt;BR /&gt;Creating flash image&lt;BR /&gt;Writing to flash image[0..BF]&lt;BR /&gt;Writing to flash image[400..40F]&lt;BR /&gt;Writing to flash image[410..BAF]&lt;BR /&gt;Writing to flash image[BB0..134F]&lt;BR /&gt;Writing to flash image[1350..1ADF]&lt;BR /&gt;Writing to flash image[1AE0..226F]&lt;BR /&gt;Writing to flash image[2270..29FF]&lt;BR /&gt;Writing to flash image[2A00..317F]&lt;BR /&gt;Writing to flash image[3180..390F]&lt;BR /&gt;Writing to flash image[3910..40AF]&lt;BR /&gt;Writing to flash image[40B0..484F]&lt;BR /&gt;Writing to flash image[4850..4FEF]&lt;BR /&gt;Writing to flash image[4FF0..576F]&lt;BR /&gt;Writing to flash image[5770..5F0F]&lt;BR /&gt;Writing to flash image[5F10..669F]&lt;BR /&gt;Writing to flash image[66A0..6E2F]&lt;BR /&gt;Writing to flash image[6E30..75CF]&lt;BR /&gt;Writing to flash image[75D0..7D4F]&lt;BR /&gt;Writing to flash image[7D50..84EF]&lt;BR /&gt;Writing to flash image[84F0..8C7F]&lt;BR /&gt;Writing to flash image[8C80..93FF]&lt;BR /&gt;Writing to flash image[9400..9B8F]&lt;BR /&gt;Writing to flash image[9B90..A31F]&lt;BR /&gt;Writing to flash image[A320..AABF]&lt;BR /&gt;Writing to flash image[AAC0..B24F]&lt;BR /&gt;Writing to flash image[B250..B9CF]&lt;BR /&gt;Writing to flash image[B9D0..C15F]&lt;BR /&gt;Writing to flash image[C160..C8FF]&lt;BR /&gt;Writing to flash image[C900..D0AF]&lt;BR /&gt;Writing to flash image[D0B0..D42B]&lt;BR /&gt;Writing to flash image[D42C..D95F]&lt;BR /&gt;Writing to flash image[D960..D977]&lt;BR /&gt;Programming Flash Image failed: Target device does not agree with selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================&lt;BR /&gt;Dropped connection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 09:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267686#M2587</guid>
      <dc:creator>sándorbognár</dc:creator>
      <dc:date>2013-10-08T09:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267687#M2588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Target device does not agree with selected&lt;/STRONG&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;indicates the incorrect device is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you selecting the device?&amp;nbsp; If you are starting the debugger from Eclipse you need to set the device there.&amp;nbsp; If you are running it stand-alone then you need to select it in the Debugger dialogue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 06:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267687#M2588</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2013-10-10T06:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267688#M2589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PGO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I auto select&amp;nbsp; the device by pressing detect chip button.&lt;span class="lia-inline-image-display-wrapper" image-alt="p7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40991i2CDE70CD3EC6951A/image-size/large?v=v2&amp;amp;px=999" role="button" title="p7.png" alt="p7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="p8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40992i398A4D10B87787D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="p8.png" alt="p8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I found an other issue with gdbserver.&lt;/P&gt;&lt;P&gt;I flashes the KL46Z by ARM_FlashProgrammer.&lt;/P&gt;&lt;P&gt;Start the gdbserver.&lt;/P&gt;&lt;P&gt;Debug the program.&lt;/P&gt;&lt;P&gt;BUT the debugger able to read only 16k of rams. &lt;/P&gt;&lt;P&gt;In case of KL46Z, ram starts at 0x1fffe000 ends 0x20006000, but the debugger only see up to 0x20002000.&lt;/P&gt;&lt;P&gt;For this small test program I must set the end of stack to 0x20002000&amp;nbsp; to see the local variables and to be able to step the program correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="p9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40993i55B60E280578C395/image-size/large?v=v2&amp;amp;px=999" role="button" title="p9.png" alt="p9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday I compiled your latest OPEN_SDA firmware from your git because I've seen your new commits, but the situation is the same.&lt;/P&gt;&lt;P&gt;Anyway, I like very much these tools, because I work on SuSe linux and now I do not need to go to VirtualBox XP's CodeWarrior&amp;nbsp; to develop and debug.&lt;/P&gt;&lt;P&gt;I appreciate your hard work very much!&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 08:55:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267688#M2589</guid>
      <dc:creator>sándorbognár</dc:creator>
      <dc:date>2013-10-10T08:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267689#M2590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ram error is found&lt;/P&gt;&lt;P&gt;in arm_devices.xml &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;memory id="kinetisL32K_Ram" type="ram"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;memoryRange start="0x1FFFE000" size="16K" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/memory&amp;gt;&lt;/P&gt;&lt;P&gt;changed to 32k and it work well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 10:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267689#M2590</guid>
      <dc:creator>sándorbognár</dc:creator>
      <dc:date>2013-10-10T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267690#M2591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well spotted about the RAM size - I'll update my files accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the first problem I take it you have not installed the Eclipse plugins and you are running the GDB_Server as a stand-alone application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what Operating System you are using so I can test this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 05:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267690#M2591</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2013-10-11T05:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: ARM_Gdbserver does not flash FRMD-KL46Z</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267691#M2592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PGO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work on SuSe linux 12.3,&lt;/P&gt;&lt;P&gt;bss@bs-s:~&amp;gt; uname -a&lt;BR /&gt;Linux bs-s.site 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using stand-alone GDB_Server compiled from you git.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 08:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/ARM-Gdbserver-does-not-flash-FRMD-KL46Z/m-p/267691#M2592</guid>
      <dc:creator>sándorbognár</dc:creator>
      <dc:date>2013-10-11T08:38:01Z</dc:date>
    </item>
  </channel>
</rss>

