<?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>CodeWarrior Development Tools中的主题 Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329088#M1167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification Zhang Jun.&amp;nbsp; I went to the project folder and deleted the .metadata folder.&amp;nbsp; Loaded the project back in, still no good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware just brought me 10 units to program for env testing, I captured the logs from both units:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Older Red unit (USB-ML-12 Rev C (PE5016707)) Default trim reference frequency is: 31250.0 Default angorithm:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe on -o 0x1900&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp; &lt;/P&gt;&lt;P&gt;Frequence 7257.13 Khz&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing .............&lt;/P&gt;&lt;P&gt;Erase Command Succeeded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming ..................&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Program Command Succeeded&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation. done&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** do a power-cycle and unit operates properly **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Blue unit (Multilink Universal Rev C (PEM0249A9)) Default trim reference frequency is:&amp;nbsp; 31250.0 default Algorithm.:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe on -o 0x1900&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing .............&lt;/P&gt;&lt;P&gt;Erase Command Succeeded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming ..................&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Program Command Succeeded&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation. done&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** Power-cycle, unit dead **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/// Put red unit back on and try to re-program.&amp;nbsp; Gets an error:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe off&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing ....&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase Command Failed.&amp;nbsp; Operation timeout.&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;/P&gt;&lt;P&gt;Error: Erase Command Failed.Operation timeout.&lt;/P&gt;&lt;P&gt;** Details:&lt;/P&gt;&lt;P&gt;Error executing task MC9S08DZ60.&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase Command Failed.&amp;nbsp; Operation timeout.Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;s&amp;gt;thread exit: Stopped, 0x0, 0x0, cpuHC08, Unknown (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;/P&gt;&lt;P&gt;Error: Erase Command Failed.Operation timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* I will attach diag file* - &lt;A href="https://www.dropbox.com/s/504q0nwx74z4ycq/201501300948_DiagnosticInfo.zip?dl=0" title="https://www.dropbox.com/s/504q0nwx74z4ycq/201501300948_DiagnosticInfo.zip?dl=0"&gt;Dropbox - 201501300948_DiagnosticInfo.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Reset and repeat programming, everything works properly *&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 15:51:32 GMT</pubDate>
    <dc:creator>matthewreed</dc:creator>
    <dc:date>2015-01-30T15:51:32Z</dc:date>
    <item>
      <title>PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329082#M1161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have recently got some new P&amp;amp;E Micro Multilink Universal debuggers.&amp;nbsp; We used to use the P&amp;amp;E Micro HCS08 Multilink.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the old units (and this still works), we could use the 'Flash Programmer' tool to place the bootloader in the device in preparation for Internal Test.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although we go through the exact same steps, the blue P&amp;amp;E Micro Multilink Universal does not work.&amp;nbsp; Although it does not give any errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have contacted P&amp;amp;E Micro, they believe the problem is with the CodeWarrior Flash utility (mainly because the debugger works just fine).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior version 10.6 Build 140329&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flash Programmer for HSC09 - V 10.6.0.FSL_b8382&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Processor:&amp;nbsp; MC9S08DZ60&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On XP&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 20:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329082#M1161</guid>
      <dc:creator>matthewreed</dc:creator>
      <dc:date>2015-01-28T20:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329083#M1162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please remove .metadata folder then restart CW to test the problem again. How does it work?&lt;/P&gt;&lt;P&gt;are your P&amp;amp;E Micro Multilink Universal firmware for HCS08? please download firmware update and utility tool to check it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pemicro.com/osbdm/" title="http://www.pemicro.com/osbdm/"&gt;P&amp;amp;E Microcomputer Systems&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the problem is still the same, please test:&lt;/P&gt;&lt;P&gt;1. is this problem a common issue for all project or only in one specific project?&lt;/P&gt;&lt;P&gt;2. if the problem is only in one specific project, can you please upload the project in zip? I will it on my side. thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:11:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329083#M1162</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-01-29T10:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329084#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;I assume the flash verification check is OK since you do not observe any error when programming via Flash Programmer.&lt;/P&gt;&lt;P&gt;Perhaps the problem is related to the internal oscillator (if you use it in your case?).&lt;/P&gt;&lt;P&gt;Debugger launches P&amp;amp;E flash programmer which trims the internal oscillator by default. Whereas Flash Programmer (Target Task) doesn't perform trimming.&lt;/P&gt;&lt;P&gt;The bus clock difference may cause the differences e.g. in UART baudrate.&lt;/P&gt;&lt;P&gt;I'd suggest to check trim flash value at 0xFFAE&amp;nbsp; and Bus frequency for both interfaces after flash programming with the Flash Programmer vs. debugger.&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329084#M1163</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2015-01-29T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329085#M1164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zhang Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I can't find any .metadata folder in the Freescale directory.&amp;nbsp; I've found a .manager and a .mainData.51 but no .metadata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P&amp;amp;E had me download and update the Multilink Universal (in fact I did it several times, just to be sure).&amp;nbsp; I also EMailed them the screen-shot of the update so they could verify that I used the correct firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P&amp;amp;E also had me create a default project with a simple loop - everything was default, none of our makefiles or anything.&amp;nbsp; That also did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you could tell me where I could find the .metadata folder I'll get right on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:37:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329085#M1164</guid>
      <dc:creator>matthewreed</dc:creator>
      <dc:date>2015-01-29T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329086#M1165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;I assume the flash verification check is OK since you do not observe any error when programming via Flash Programmer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Perhaps the problem is related to the internal oscillator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) we are using an external 4MHz xstal and 2) it works with no problems with the older (red) HCS08 Multilink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we are using an external xstal, the trim values shouldn't make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our company has used this board design several times on many different products, so we are not working with an untested hardware design (I know, that does not mean there is not a problem - I have seen problems before that were in products for years).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:46:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329086#M1165</guid>
      <dc:creator>matthewreed</dc:creator>
      <dc:date>2015-01-29T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329087#M1166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.metadata folder is not under your CW10 install folder but your project workspace. Please take a look at it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 01:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329087#M1166</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-01-30T01:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329088#M1167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification Zhang Jun.&amp;nbsp; I went to the project folder and deleted the .metadata folder.&amp;nbsp; Loaded the project back in, still no good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware just brought me 10 units to program for env testing, I captured the logs from both units:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Older Red unit (USB-ML-12 Rev C (PE5016707)) Default trim reference frequency is: 31250.0 Default angorithm:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe on -o 0x1900&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp; &lt;/P&gt;&lt;P&gt;Frequence 7257.13 Khz&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing .............&lt;/P&gt;&lt;P&gt;Erase Command Succeeded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming ..................&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Program Command Succeeded&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation. done&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** do a power-cycle and unit operates properly **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Blue unit (Multilink Universal Rev C (PEM0249A9)) Default trim reference frequency is:&amp;nbsp; 31250.0 default Algorithm.:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe on -o 0x1900&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing .............&lt;/P&gt;&lt;P&gt;Erase Command Succeeded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming ..................&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Program Command Succeeded&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation. done&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** Power-cycle, unit dead **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/// Put red unit back on and try to re-program.&amp;nbsp; Gets an error:&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x80 0x1000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\git\\Software_Releases\\Caterpillar_ibutton\\combined\\CAT_Combined_Production_Application_and_Bootloader.bin" -t "Auto Detect" -re on -r 0x1080 0xffff -oe off&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Binary/Raw Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing ....&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase Command Failed.&amp;nbsp; Operation timeout.&lt;/P&gt;&lt;P&gt;Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;/P&gt;&lt;P&gt;Error: Erase Command Failed.Operation timeout.&lt;/P&gt;&lt;P&gt;** Details:&lt;/P&gt;&lt;P&gt;Error executing task MC9S08DZ60.&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase Command Failed.&amp;nbsp; Operation timeout.Device MC9S08DZ60_FLASH_EEPROM&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;s&amp;gt;thread exit: Stopped, 0x0, 0x0, cpuHC08, Unknown (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An invalid preference was passed to the GDI protocol plugin(HC/RS/S12Z GDI Protocol Adapter)&lt;/P&gt;&lt;P&gt;Error: Erase Command Failed.Operation timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* I will attach diag file* - &lt;A href="https://www.dropbox.com/s/504q0nwx74z4ycq/201501300948_DiagnosticInfo.zip?dl=0" title="https://www.dropbox.com/s/504q0nwx74z4ycq/201501300948_DiagnosticInfo.zip?dl=0"&gt;Dropbox - 201501300948_DiagnosticInfo.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Reset and repeat programming, everything works properly *&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 15:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329088#M1167</guid>
      <dc:creator>matthewreed</dc:creator>
      <dc:date>2015-01-30T15:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: PEMicro Multilink Universal on MC9S08 will debug, but not program...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329089#M1168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found something that works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the Flash Programmer, Run this task:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TargetTaskFramework GroupFullPath="Root"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Element Type="TargetTask"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TargetTask ContextIndex="3" ExecutionContextName="CAT_iButton" ProviderIndex="4" TaskName="CombinedBinary" TaskProvider="Flash Programmer for HCS08/RS08/ColdFire V1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TaskConfiguration Action_Chip_Erase_0="true" Action_Description_0="NONE" Action_Flash_Count_0="1" Action_Flash_Name_0_0="MC9S08DZ60_FLASH_EEPROM" Action_Full_Diag_0="false" Action_Protect_Device_0="false" Action_Sectors_To_Erase_0="" Action_Secure_Device_0="false" Action_Secure_Device_Password_0="" Action_Secure_Device_Password_Format_0="" Action_Selected_0="true" Action_Type_0="2" Actions_Count="1" Add_Device_Dialog_Default_Platform="0" Address_Offset_0="6400" Apply_Address_Offset_0="true" Buffer_Address="128" Buffer_Size="4096" Checksum_Over_0="0" Erase_First_0="true" File_Path_0="C:\git\CAT_iButton\Software\CAT_iButton_Combined_Application_and_Bootloader.bin" File_Type_0="0" Flash_Base_Address_0="4224" Flash_Device_Name_0="MC9S08DZ60_FLASH_EEPROM" Flash_Device_Organization_0="60kx16x1" Flash_Devices_Count="1" Flash_Top_Address_0="65535" Restrict_Address_End_0="65535" Restrict_Address_Range_0="false" Restrict_Adress_Start_0="4224" Use_File_From_LC_0="false" Verify_After_0="false" Verify_Memory_Writes="false"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TargetTask&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Element&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TargetTaskFramework&amp;gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;And it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the log:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Starting 3rd party flash programming...&lt;/P&gt;&lt;P&gt;GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : SPECIFY_NETWORKCARD_ENABLED, Value : 0, R) =&amp;gt; DI_OK&lt;/P&gt;&lt;P&gt;INF: Copyright 2012 P&amp;amp;E Microcomputer Systems,Inc.&lt;/P&gt;&lt;P&gt;INF: Command Line :C:\Freescale\CW_MCU_v10.6\eclipse\..\MCU\bin\de.exe -noni -language en -ORBendPoint giop:tcp:127.0.0.1: -ORBtraceLevel 0 &lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;RE&lt;/P&gt;&lt;P&gt;INF: Initializing.&lt;/P&gt;&lt;P&gt;INF: Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;CM C:\Freescale\CW_MCU_v10.6\MCU\bin\Plugins\support\hc08\gdi\P&amp;amp;E\9s08dz60.s8p&lt;/P&gt;&lt;P&gt;INF: Initializing.&lt;/P&gt;&lt;P&gt;INF: (Recommended TRIM=$00A3,FTRIM=0)&lt;/P&gt;&lt;P&gt;INF: (Bus Freq = 15990KHz)&lt;/P&gt;&lt;P&gt;INF: Initialized.&lt;/P&gt;&lt;P&gt;INF: ;version 1.06, 07/19/2011, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [9s08dz60]&lt;/P&gt;&lt;P&gt;INF: ;device Freescale, 9S08DZ60, All, 8 Byte EEProm Sectors &lt;/P&gt;&lt;P&gt;INF: ;begin_cs &lt;/P&gt;&lt;P&gt;INF: Loading programming algorithm ... &lt;/P&gt;&lt;P&gt;INF: Done.(FCDIV=$CB)&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;EM&lt;/P&gt;&lt;P&gt;INF: Erasing.&lt;/P&gt;&lt;P&gt;INF: Module has been erased.&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;PM&lt;/P&gt;&lt;P&gt;INF: Programming and Verifying.&lt;/P&gt;&lt;P&gt;INF: Processing Object File Data ... &lt;/P&gt;&lt;P&gt;INF: . &lt;/P&gt;&lt;P&gt;INF: Programmed.&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;VC&lt;/P&gt;&lt;P&gt;INF: Verifying object file Checksum16+CRC8 to device ranges ... &lt;/P&gt;&lt;P&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00001900-0000190D ... &lt;/P&gt;&lt;P&gt;INF: Ok.&lt;/P&gt;&lt;P&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00001910-0000406B ... &lt;/P&gt;&lt;P&gt;INF: Ok.&lt;/P&gt;&lt;P&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 0000D300-0000D300 ... &lt;/P&gt;&lt;P&gt;INF: Ok.&lt;/P&gt;&lt;P&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 0000FFC0-0000FFFF ... &lt;/P&gt;&lt;P&gt;INF: Ok.&lt;/P&gt;&lt;P&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; Checksum Verification Successful. (Cumulative Checksum16+CRC8=$216742)&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;PT&lt;/P&gt;&lt;P&gt;INF: Programming Trim value $A3 to location $&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;INF:&amp;nbsp; Success.&lt;/P&gt;&lt;P&gt;INF: Programming FTrim value $00 to location $&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;INF:&amp;nbsp; Success.&lt;/P&gt;&lt;P&gt;INF: CMD&amp;gt;RE&lt;/P&gt;&lt;P&gt;INF: Initializing.&lt;/P&gt;&lt;P&gt;INF: Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work for me, I can program units for the test people.&amp;nbsp; But you still may want to check into why the other method does not work.&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 17:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/PEMicro-Multilink-Universal-on-MC9S08-will-debug-but-not-program/m-p/329089#M1168</guid>
      <dc:creator>matthewreed</dc:creator>
      <dc:date>2015-01-30T17:30:42Z</dc:date>
    </item>
  </channel>
</rss>

