<?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>Classic/Legacy CodeWarriorのトピックRe: Flash Programmer Error: Couldn't write flash driver to target</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178039#M3928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with your suspicion of the Target Initialization (.cfg) file since we need target RAM working before the Flash Programmer will work.&amp;nbsp; You didn't say specifically which MPC8544 board you're working on: a Freescale eval board, a 3rd-party board or one of your own design.&amp;nbsp; Regardless, since you're working with a PowerQUICC III processor, which has enough internal RAM for use by the Flash Programmer, use 8544ADS_sram_flash.cfg as your Target Initialization file.&amp;nbsp; You'll find more details in our FAQ_28572.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second part of the problem may be the Target RAM Buffer Address value.&amp;nbsp; Make sure it's set to 0x02000 so you're not overwriting the Exception Vector table which starts at 0x00000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make those two changes and your Flash Programmer should work just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 04:37:03 GMT</pubDate>
    <dc:creator>ronco</dc:creator>
    <dc:date>2009-05-12T04:37:03Z</dc:date>
    <item>
      <title>Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178038#M3927</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;I'm using CW 5.9 version in Linux, and I'm working on MPC8544 u-boot.&lt;/P&gt;&lt;P&gt;After building u-boot.bin from LTIB, I tried to program the binary into flash memory of my board.&lt;/P&gt;&lt;P&gt;However, there is a error when I use the CW tool, flash programmer.&lt;/P&gt;&lt;P&gt;The status shows "Error: Couldn't write flash driver to target"&lt;/P&gt;&lt;P&gt;And the log said "&lt;/P&gt;&lt;P&gt;Informating other connection clients that the target is being 'clobbered'.&lt;BR /&gt;Loading Flash Devices Driver at 0x0000000 Flash Programmer: CCSProtocolPlugin:&lt;/P&gt;&lt;P&gt;Error writing memory [Draco/m HIP8: ELF is not in expected HALT mode]&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought my initialization file is bad, so I tried to un-check the box of using initialization file and it's still failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flash memory is M29W320ET, and I built the xml by myself with the flash spec.&lt;/P&gt;&lt;P&gt;But I can erase the flash memory without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, could anyone help about this ? I really don't what is going on.&lt;/P&gt;&lt;P&gt;I can't program my&amp;nbsp;binary file of u-boot into flash since the error above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 21:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178038#M3927</guid>
      <dc:creator>duckycool</dc:creator>
      <dc:date>2009-05-04T21:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178039#M3928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with your suspicion of the Target Initialization (.cfg) file since we need target RAM working before the Flash Programmer will work.&amp;nbsp; You didn't say specifically which MPC8544 board you're working on: a Freescale eval board, a 3rd-party board or one of your own design.&amp;nbsp; Regardless, since you're working with a PowerQUICC III processor, which has enough internal RAM for use by the Flash Programmer, use 8544ADS_sram_flash.cfg as your Target Initialization file.&amp;nbsp; You'll find more details in our FAQ_28572.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second part of the problem may be the Target RAM Buffer Address value.&amp;nbsp; Make sure it's set to 0x02000 so you're not overwriting the Exception Vector table which starts at 0x00000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make those two changes and your Flash Programmer should work just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 04:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178039#M3928</guid>
      <dc:creator>ronco</dc:creator>
      <dc:date>2009-05-12T04:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178040#M3929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The reason of error message&lt;/P&gt;&lt;P&gt;"CCSProtocolPlugin:Error writing memory [Draco/m HIP8: ELF is not in expected HALT mode]"&amp;nbsp;&lt;/P&gt;&lt;P&gt;is my MPC8544 will lose power just right after booting up, so I can connect target with initialization within 3 or 5 seconds after booting, but if I proceed the flash programmer to program binary, it will fail like this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I just fix the power supply issue and it can connect without any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, the board will still be error in flash programmer and the error log is as attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I can use command windows to change value of flash, but failed when I click program button in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the flash programmer. Still suspect the initialization file because the HW looks fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I use 8544ADS_sram_flash.cfg and just change the flash base address to 0xffc00000 in BR0 and OR0 settting because my flash is 4MB. And it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I would like&amp;nbsp;to also upload my FPDeviceConfig.xml&amp;nbsp;of M29W320ET for people reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm using 16bit&amp;nbsp;mode of that flash memory, but there is still 8bit mode in my xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; And, if you want to use command window to program a single address, please try the commands below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;change p:0xffc00aaa aaaa 16bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; change p:0xffc00554 5555 16bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; change p:0xffc00aaa a0a0 16bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; change p:0xffc00100 3232 16bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display 0xffc00100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The 0xffc... is my base address of flash, and the aaa/554/aaa is because my least-significant pin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;didn't connect my flash device, so I have to shift left by one from the flash data sheet of program command of flash device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you Ronco, keep fighting!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 00:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178040#M3929</guid>
      <dc:creator>duckycool</dc:creator>
      <dc:date>2009-05-13T00:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178041#M3930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should file a Service Request for help on your file. To do that, click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 02:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178041#M3930</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2009-05-14T02:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178042#M3931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; See you again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I&amp;nbsp;have mentioned in last thread that&amp;nbsp;I just fixed the booting issue of lossing power, and modified the sample initialization file to proceed flash image download without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; All my upload just want to share my troubleshooting to people.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 01:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178042#M3931</guid>
      <dc:creator>duckycool</dc:creator>
      <dc:date>2009-05-15T01:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programmer Error: Couldn't write flash driver to target</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178043#M3932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, duckycool,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I face the same problem about "[Draco/m HIP8: ELF is not in expected HALT mode]".&lt;/P&gt;&lt;P&gt;you say u solve it by&amp;nbsp;modifying the power supply problem,&amp;nbsp;&lt;/P&gt;&lt;P&gt;could u please teach me how to solve it.&lt;/P&gt;&lt;P&gt;I have no idea to overcome the problem.&lt;/P&gt;&lt;P&gt;Thank you very much.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Flash-Programmer-Error-Couldn-t-write-flash-driver-to-target/m-p/178043#M3932</guid>
      <dc:creator>Qmomo</dc:creator>
      <dc:date>2010-07-02T14:19:22Z</dc:date>
    </item>
  </channel>
</rss>

