<?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 Re: Error while attempting to program MC9S08GQ4 flash through CW TCL in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497328#M12695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therre are a couple of different errors that we occasionally get (on top of the one initially mentioned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Type 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ThimbleLeds"&lt;/P&gt;&lt;P&gt;fl::target -b 0x60 0x100&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::protect all off&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Detect frequence&amp;nbsp;&amp;nbsp; Loop count suspended&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Can't resume target&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debuggercan not write one register.&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Can't resume target&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debuggercan not write one register.&lt;/P&gt;&lt;P&gt; UnProtecting .............&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Protect Command Failed.&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debugger can not write one register.Failed to erase sector data.&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH is secured and protected&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Type 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ThimbleLeds"&lt;/P&gt;&lt;P&gt;fl::target -b 0x60 0x100&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::protect all off&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Frequence 4470.8 Khz&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase sector failed.&amp;nbsp; Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;/P&gt;&lt;P&gt;. Protect violation error. Error in command sequence.&lt;/P&gt;&lt;P&gt; UnProtecting .............&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Protect Command Failed.&amp;nbsp; Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;/P&gt;&lt;P&gt;. Protect violation error. Error in command sequence.Failed to erase sector data.&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH is secured&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 07:55:09 GMT</pubDate>
    <dc:creator>barakmanos</dc:creator>
    <dc:date>2016-05-11T07:55:09Z</dc:date>
    <item>
      <title>Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497323#M12690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While attempting to program MC9S08GQ4 flash through CW task (TCL), we are getting the following error:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;fl::target -lc "MyTask"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;fl::target -b 0x60 0x100&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;fl::target -v off -l off&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;cmdwin::fl::protect all off&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;------------------------- &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Detect frequence ...&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Frequence 4506.96 Khz&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Flash Operation.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;Error:&amp;nbsp; Erase sector failed.&amp;nbsp; Operation timeout.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;UnProtecting .............&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;Error:&amp;nbsp; Protect Command Failed.&amp;nbsp; Operation timeout.Failed to erase sector data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When downloading (programming) it through the debugger, everything runs smoothly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The task itself performs:&lt;/P&gt;&lt;P&gt;- Unprotect all sectors&lt;/P&gt;&lt;P&gt;- Erase all sectors&lt;/P&gt;&lt;P&gt;- Program image&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, the 'unprotect' part fails on attempting to erase a sector (what is that supposed to mean anyway???).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only reference I've found to this problem, is that the debugger trims the oscillator (not even sure what this means).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what could cause this problem?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497323#M12690</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-03T15:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497324#M12691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you use "Flash File to Target" to program the flash?&lt;/P&gt;&lt;P&gt;I don't have QG4 but I just tested it with QG8 it works fine from my side. see attached video.&lt;/P&gt;&lt;P&gt;can you please let me know how to reproduce your problem?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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, 05 May 2016 10:03:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497324#M12691</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-05T10:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497325#M12692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to watch the movie (I'm pretty sure it's corrupted or something).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do know what "Flash File to Target" is, and no - I am not using this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a predefined task, see enclosed ttf file and screenshot (see enclosed files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In opposed to downloading (programming) through the debugger, which always runs smoothly, this task doesn't always complete successfully, as depicted in the original post (above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this task does complete successfully, the output in CW console is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ThimbleLeds"&lt;/P&gt;&lt;P&gt;fl::target -b 0x60 0x100&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::protect all off&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&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 MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp; &lt;/P&gt;&lt;P&gt;Frequence 4282.39 Khz&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp; &lt;/P&gt;&lt;P&gt;UnProtecting ........&lt;/P&gt;&lt;P&gt;Unprotect Command Succeeded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::erase all&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&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 MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "E:\\Production\\ThimbleLeds\\Bin\\ThimbleLeds.s19" -t "Auto Detect" -re off -oe off&lt;/P&gt;&lt;P&gt;cmdwin::fl::write&lt;/P&gt;&lt;P&gt;Beginning Operation ...&amp;nbsp;&amp;nbsp; &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 Motorola S-Record Format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming .........................&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&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;But again, this doesn't always complete successfully, so I've figured I must be missing something which the CW debugger takes care of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your kind help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 11:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497325#M12692</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-05T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497326#M12693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately I couldn't download your ttf and screenshot. can you please upload it directly as attachment.&lt;/P&gt;&lt;P&gt;click on "Actions"-&amp;gt;"Edit" you can find the attach button&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56636i7068CB70824428D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Mon, 09 May 2016 04:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497326#M12693</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-09T04:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497327#M12694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 05:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497327#M12694</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-09T05:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497328#M12695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therre are a couple of different errors that we occasionally get (on top of the one initially mentioned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Type 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ThimbleLeds"&lt;/P&gt;&lt;P&gt;fl::target -b 0x60 0x100&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::protect all off&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Detect frequence&amp;nbsp;&amp;nbsp; Loop count suspended&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Can't resume target&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debuggercan not write one register.&lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Can't resume target&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debuggercan not write one register.&lt;/P&gt;&lt;P&gt; UnProtecting .............&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Protect Command Failed.&amp;nbsp; HC/RS/S12Z GDI Protocol Adapter : An error occurred while trying to write registers. The Debugger can not write one register.Failed to erase sector data.&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH is secured and protected&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Type 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "ThimbleLeds"&lt;/P&gt;&lt;P&gt;fl::target -b 0x60 0x100&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "MC9S08QG4_FLASH" -o "4kx16x1" -a 0xf000 0xffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::protect all off&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Detect frequence ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Frequence 4470.8 Khz&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Flash Operation.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase sector failed.&amp;nbsp; Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;/P&gt;&lt;P&gt;. Protect violation error. Error in command sequence.&lt;/P&gt;&lt;P&gt; UnProtecting .............&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Protect Command Failed.&amp;nbsp; Operation timeout. Security area should not be programmed with a value that leads to irreversible secure &lt;/P&gt;&lt;P&gt;. Protect violation error. Error in command sequence.Failed to erase sector data.&lt;/P&gt;&lt;P&gt;Device MC9S08QG4_FLASH is secured&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 07:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497328#M12695</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-11T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497329#M12696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just tested your ThimbleLeds.ttf from my side. It runs normally on my side.&lt;/P&gt;&lt;P&gt;in order to make it work, I create a dummy QG4 project, that generates a run configuration file and a s19 file for testing.&lt;/P&gt;&lt;P&gt;what I modified on your ThimbleLeds.ttf are:&lt;/P&gt;&lt;P&gt;1. becuase I don't have your s19 file, I use the s19 file generated by testqg4 project&lt;/P&gt;&lt;P&gt;2. set run configuration file generated from testqg4 project&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56891i9A93AB6DBE23E104/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then click on run, it executes successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached my testing video.&lt;/P&gt;&lt;P&gt;I downloaded the video I uploaded previously from another computer, it can be played with windows Media player. please try another video player for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Wed, 11 May 2016 09:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497329#M12696</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-11T09:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497330#M12697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how can I emulate CW operation from a command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, I need the command-line equivalent for 'Run Configuration'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 12:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497330#M12697</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-18T12:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497331#M12698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this command line issue a new question? if yes, could you please create a new thread for it. Normally, a new thread can be replied very fast.\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jennie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 02:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497331#M12698</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-19T02:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497332#M12699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, we're still working on the exact same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a flash-programming task, I must have missed something that is done when downloading the image via 'Run Configuration'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would like to work-around this problem by doing the exact same thing that the 'Run Configuration' functionality does in order to program the image to flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that the way to do it is via the Burner.exe utility that comes along with CW, but I am not so sure of that, and I haven't been able to make use of it, as it keeps telling me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR B1000: Could not open 'input file' 'E:\Projects\Thimble\ThimbleLeds\Bin\ThimbleLeds\ThimbleLeds.abs'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 05:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497332#M12699</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-19T05:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497333#M12700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted this question in a new thread, at &lt;A href="https://community.nxp.com/thread/394770"&gt;How can I emulate CW 'burn-image' operation from a command line?&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 13:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497333#M12700</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-23T13:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497334#M12701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I just replied there.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Tue, 24 May 2016 05:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497334#M12701</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-24T05:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497335#M12702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted a full description of the problem that I am experiencing, in great details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/394876"&gt;Flash Programming: CW-Debugger vs. TCL vs. TTF&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to refer to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 17:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497335#M12702</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-05-24T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attempting to program MC9S08GQ4 flash through CW TCL</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497336#M12703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barak,&lt;/P&gt;&lt;P&gt;I just answered there.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 09:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-while-attempting-to-program-MC9S08GQ4-flash-through-CW-TCL/m-p/497336#M12703</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-05-26T09:28:40Z</dc:date>
    </item>
  </channel>
</rss>

