<?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のトピックTBLCF, mcf5208 and dBUG</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144035#M2818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a custom board on MCF5208 microcontroller. It has BDM port, so I have asseblied TBLCF cable for it (thanks Daniel Malik), and made a program to control it - unfortunately, TBLCF dynamic link library on Windows failed to work, so I ported it to Linux, fixed some errors and now it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm able to read and write internal SRAM, registers. But I have no idea how to load a dBUG (or other similar bootloader) into target board. Does anybody knows what should I do to write dBUG binary into flash or RAM (on my board there is SDRAM 4 mbytes module)? Or may be there some other way to load image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody recommend some other bootloaders?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Valery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 21:03:18 GMT</pubDate>
    <dc:creator>Radiofid</dc:creator>
    <dc:date>2007-08-29T21:03:18Z</dc:date>
    <item>
      <title>TBLCF, mcf5208 and dBUG</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144035#M2818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a custom board on MCF5208 microcontroller. It has BDM port, so I have asseblied TBLCF cable for it (thanks Daniel Malik), and made a program to control it - unfortunately, TBLCF dynamic link library on Windows failed to work, so I ported it to Linux, fixed some errors and now it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm able to read and write internal SRAM, registers. But I have no idea how to load a dBUG (or other similar bootloader) into target board. Does anybody knows what should I do to write dBUG binary into flash or RAM (on my board there is SDRAM 4 mbytes module)? Or may be there some other way to load image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody recommend some other bootloaders?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Valery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 21:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144035#M2818</guid>
      <dc:creator>Radiofid</dc:creator>
      <dc:date>2007-08-29T21:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: TBLCF, mcf5208 and dBUG</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144036#M2819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Oh boy, have you got a lot of work to do......&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basic premise is:&lt;/DIV&gt;&lt;DIV&gt;1) Write flash programming kernel (or use source code from DBUG, which contains a flash programming capability), not forgetting to modify the source to erase/program your selected type of flash on your target board.&lt;/DIV&gt;&lt;DIV&gt;2) Download kernel into RAM on your board using your TBLCF&lt;/DIV&gt;&lt;DIV&gt;3) Open DBUG.S19 (or whatever) on your PC, parse the file, and create chunks of binary image&lt;/DIV&gt;&lt;DIV&gt;4) Download the chunks using TBLCF into some buffer ram on your board&lt;/DIV&gt;&lt;DIV&gt;5) Run the flash programming kernel on the board, you'll set the program running with your TBLCF&lt;/DIV&gt;&lt;DIV&gt;6) After successful erasure and blankcheck, pass the kernel chunks of code to flash into memory&lt;/DIV&gt;&lt;DIV&gt;7) Repeat until done, then verify.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Two thoughts spring to mind:&lt;/DIV&gt;&lt;DIV&gt;1) Daniel appeared to be so thorough - was there not a program/erase feature as part of the package? That would seem to be a minimum requirement.&lt;/DIV&gt;&lt;DIV&gt;2) Did you buy a M5208EVB - that should have come with a P&amp;amp;E Micro MultiLink for the CF. Would work with CF Flasher.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Finally, there are bootloaders and bootloaders. DBUG seems pretty reliable and has adequate features for my needs. I don't recall what bootloader shipped with the M5208EVB, was it from Intec? Or Steriod Micros??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bye for now,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Marcia&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 03:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144036#M2819</guid>
      <dc:creator>Marcia</dc:creator>
      <dc:date>2007-09-04T03:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: TBLCF, mcf5208 and dBUG</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144037#M2820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In package that Daniel Malik created there wasn't any program/erase features, that can work "out-of-the-box" - there only DLL, which I have tried to make work with my application, but it causes errors in LibUSB. So, I have been forced to recompile it.&lt;BR /&gt;&lt;BR /&gt;I have no ability to buy evaluation board - in my location there is no companies, that sell it, and I can't order it from foreign countries - it will be toooooooo long to wait it. And many problems with customs. This problems applies also for P&amp;amp;E cable.&lt;BR /&gt;&lt;BR /&gt;I have used CFInit to generate SDRAM init code (and it has been the same as I calculated by myself). It seems to work fine, but SDRAM's content isn't changing, when i write it and right after that read it. The init SDRAM code from CFInit is much more shorter than sequence to init it, described in MCF5208 datasheet. Now I use this sequence for 128Mbit SDRAM (2Mx16x4):&lt;BR /&gt;&lt;BR /&gt;SDCS0 = 0x4000_0017&lt;BR /&gt;SDCFG1 = 0x5121_1400&lt;BR /&gt;SDCFG2 = 0x97B7_0000&lt;BR /&gt;SDCR = 0xC004_2002&lt;BR /&gt;(then refresh sequence goes twice)&lt;BR /&gt;SDMR = 0x008D_0000&lt;BR /&gt;(then clearing MODE_EN bit in SDCR and sets REF bit)&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Does anybody have an example of working code, i'd be very glad if you post it here.&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Valery.&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 14:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TBLCF-mcf5208-and-dBUG/m-p/144037#M2820</guid>
      <dc:creator>Radiofid</dc:creator>
      <dc:date>2007-09-04T14:09:00Z</dc:date>
    </item>
  </channel>
</rss>

