<?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 Flashing MC9S08QG4 over BKGD in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162102#M9904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking pretty hard for a solution to this and I might be missing something so I just decided to ask. Here's the deal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've written code for a MC9S08QG4 and have it compiled and ready to load onto the MCU. The file needs to be loaded into the FLASH through the BKGD pin from a DaVinci SoC. Basically, I have no idea how to push the file from the DaVinci to the MCU. As far as I know, there is a routine to do this already and I just need to modify it for my application but I haven't been able to find it. I have the MCU's datasheet and know that data is sent over BKGD MSB at 16 BDC clock cycles per bit. What I need help figuring out is how to access, erase, and program FLASH through the BKGD pin. Any help or referral to help would be appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2012 21:56:46 GMT</pubDate>
    <dc:creator>follopo</dc:creator>
    <dc:date>2012-05-11T21:56:46Z</dc:date>
    <item>
      <title>Flashing MC9S08QG4 over BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162102#M9904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking pretty hard for a solution to this and I might be missing something so I just decided to ask. Here's the deal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've written code for a MC9S08QG4 and have it compiled and ready to load onto the MCU. The file needs to be loaded into the FLASH through the BKGD pin from a DaVinci SoC. Basically, I have no idea how to push the file from the DaVinci to the MCU. As far as I know, there is a routine to do this already and I just need to modify it for my application but I haven't been able to find it. I have the MCU's datasheet and know that data is sent over BKGD MSB at 16 BDC clock cycles per bit. What I need help figuring out is how to access, erase, and program FLASH through the BKGD pin. Any help or referral to help would be appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 21:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162102#M9904</guid>
      <dc:creator>follopo</dc:creator>
      <dc:date>2012-05-11T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing MC9S08QG4 over BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162103#M9905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BDM protocol is documented in 17.2 Background Debug Controller (BDC) in QG datasheet.&lt;/P&gt;&lt;P&gt;How to erase and program FLASH you may find in 4.5 FLASH.&lt;/P&gt;&lt;P&gt;Routines for BDM communications probably can be found in USBDM and OSBDM source codes. Don't know how would be easy to port them to DaVinci, since BDM protocol is&amp;nbsp;time critical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 20:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162103#M9905</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-05-14T20:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing MC9S08QG4 over BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162104#M9906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the references. I'll check out that source code you mentioned and figure out how to adapt it. It sounds like what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 20:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flashing-MC9S08QG4-over-BKGD/m-p/162104#M9906</guid>
      <dc:creator>follopo</dc:creator>
      <dc:date>2012-05-14T20:05:18Z</dc:date>
    </item>
  </channel>
</rss>

