<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: M523evb, gdb, dBug and Multilink</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M523evb-gdb-dBug-and-Multilink/m-p/158117#M4786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out: it was the Codesourcery’s Sprite script (m5235evb.xml). The address of RAMBAR was wrong. They had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  &amp;lt;initialize&amp;gt;    &amp;lt;write-register address="RAMBAR1" value="&lt;FONT color="#ff0000"&gt;0x20000021&lt;/FONT&gt;"/&amp;gt;    &amp;lt;!-- Enable PST[3:0] signals --&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  &amp;lt;initialize&amp;gt;    &amp;lt;write-register address="RAMBAR1" value="&lt;FONT color="#ff0000"&gt;0x20000001&lt;/FONT&gt;"/&amp;gt;    &amp;lt;!-- Enable PST[3:0] signals --&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now gdb works just fine on Ubuntu with m68k-uclinux tools. I can boot, run and debug the uClinux image.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 09:03:01 GMT</pubDate>
    <dc:creator>Ivica</dc:creator>
    <dc:date>2020-10-29T09:03:01Z</dc:date>
    <item>
      <title>M523evb, gdb, dBug and Multilink</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M523evb-gdb-dBug-and-Multilink/m-p/158116#M4785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get my M5235evb board debugged under Linux and run a uClinux platform on it. I followed an example that basically uses the Codesourcery sprite to connect the P&amp;amp;E multilink cable. The example uses dBug to init the processor and then it loads the program , in my case the image.elf.&lt;/P&gt;&lt;P&gt;I am not sure if the dBug also starts at address 0x400, but from comparing the dBug link specs (it uses M5208evb) of both boards it seemed like 0x400 is the starting address.&lt;/P&gt;&lt;P&gt;This is what happens when I run the gdb:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--- Cut Here ---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This GDB was configured as "--host=i686-pc-linux-gnu --target=m68k-uclinux".&lt;BR /&gt;Reading symbols from /home/ivica/dev/uClinux/uClinux-dist/images/image.elf...(no debugging symbols found)...done.&lt;BR /&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(gdb) target remote | m68k-uclinux-sprite pe://USBMultilink/PE6011922 m5235evb&lt;BR /&gt;&lt;/STRONG&gt;Remote debugging using | m68k-uclinux-sprite pe://USBMultilink/PE6011922 m5235evb&lt;BR /&gt;m68k-uclinux-sprite: Opening P&amp;amp;E USBMultilink port 1 (USB1 : USB-ML-CF Rev C (PE6011922))&lt;BR /&gt;m68k-uclinux-sprite: Target reset&lt;BR /&gt;0x00000000 in ?? ()&lt;BR /&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(gdb) set $pc=0x400&lt;BR /&gt;(gdb) c&lt;BR /&gt;&lt;/STRONG&gt;Continuing.&lt;BR /&gt;^C&lt;BR /&gt;Program received signal SIGINT, Interrupt.&lt;BR /&gt;0xffe18c0a in ?? ()&lt;BR /&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(gdb) load&lt;BR /&gt;&lt;/STRONG&gt;Loading section .text, size 0x14ef28 lma 0x20000&lt;BR /&gt;Loading section .data, size 0x110d0 lma 0x16ef30&lt;BR /&gt;Loading section .init.text, size 0xc0f2 lma 0x180000&lt;BR /&gt;Loading section .init.data, size 0xf0c lma 0x18c0f4&lt;BR /&gt;Loading section .romfs, size 0x129c00 lma 0x18d000&lt;BR /&gt;Start address 0x20000, load size 2714614&lt;BR /&gt;Transfer rate: 31 KB/sec, 7800 bytes/write.&lt;BR /&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(gdb) set $pc=0x20000&lt;BR /&gt;(gdb) c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--- Cut Here ---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I set to start the dBug after the sprite Multilink connection and board reset nothing happens. Thus I am wondering if 0x400 is really the starting address of the dBug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas to what am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ivica Eftimovski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 20:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M523evb-gdb-dBug-and-Multilink/m-p/158116#M4785</guid>
      <dc:creator>Ivica</dc:creator>
      <dc:date>2010-10-26T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: M523evb, gdb, dBug and Multilink</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M523evb-gdb-dBug-and-Multilink/m-p/158117#M4786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out: it was the Codesourcery’s Sprite script (m5235evb.xml). The address of RAMBAR was wrong. They had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  &amp;lt;initialize&amp;gt;    &amp;lt;write-register address="RAMBAR1" value="&lt;FONT color="#ff0000"&gt;0x20000021&lt;/FONT&gt;"/&amp;gt;    &amp;lt;!-- Enable PST[3:0] signals --&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  &amp;lt;initialize&amp;gt;    &amp;lt;write-register address="RAMBAR1" value="&lt;FONT color="#ff0000"&gt;0x20000001&lt;/FONT&gt;"/&amp;gt;    &amp;lt;!-- Enable PST[3:0] signals --&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now gdb works just fine on Ubuntu with m68k-uclinux tools. I can boot, run and debug the uClinux image.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M523evb-gdb-dBug-and-Multilink/m-p/158117#M4786</guid>
      <dc:creator>Ivica</dc:creator>
      <dc:date>2020-10-29T09:03:01Z</dc:date>
    </item>
  </channel>
</rss>

