<?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: HCS08 Flash Programmer for USBDM in OSBDM and TBDML</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160318#M950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Roger,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT I think that you are running the clock out of spec to achieve this.&amp;nbsp; A Trim value of $24 is very low given the other numbers mentioned.&amp;nbsp; The clock is certainly running at &amp;gt;39kHz considering that the factory trim value (for 39kHz) is $6C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The whole reason the reset value of the BDIV is /2 is so that the bus frequency will never be out of spec even with an untrimmed clock.&amp;nbsp; It is not intended that the maximum specced bus frequency is achievable with this setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps you could post a general clock trim question on the HCS08 discussion board to get some input on what is the typical trim value for this chip and what is the required set-up to achieve an 8MHz bus clock.&amp;nbsp; We both might learn something &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 15:29:31 GMT</pubDate>
    <dc:creator>pgo</dc:creator>
    <dc:date>2010-06-18T15:29:31Z</dc:date>
    <item>
      <title>HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160289#M921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a stand-alone Flash programming utility for HCS08 devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;A target="_blank"&gt;Features&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;Command line usage is available for batch files.&lt;/LI&gt;&lt;LI&gt;GUI usage is available for interactive use.&lt;/LI&gt;&lt;LI&gt;Supports most HCS08 chips (Paged memory is not supported).&lt;/LI&gt;&lt;LI&gt;Trimming of internal target clock to specified frequency.&lt;/LI&gt;&lt;LI&gt;Programming of security options to leave the chip unsecured or secured after programming.&lt;/LI&gt;&lt;LI&gt;May be used to unsecure chips (by mass erase).&lt;/LI&gt;&lt;LI&gt;The code has been written in a modular fashion. It should be straightforward to re-use the flash programming code to create other custom programming utilities.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested it on a range of devices and I have found no (more) bugs.&amp;nbsp; However, no guarantees are given!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/OSBDM08/771_1_Installation_1_0_3.zip" rel="nofollow" target="_self"&gt;1. Installation_1_0_3.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/OSBDM08/771_2_Source_1_0_3.zip" rel="nofollow" target="_self"&gt;2. Source_1_0_3.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-12-08&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;09:28 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 14:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160289#M921</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-12-08T14:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160290#M922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it use the new USBDM 2.0 API? Can it be used with OSBDM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 22:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160290#M922</guid>
      <dc:creator>Obetz</dc:creator>
      <dc:date>2009-12-08T22:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160291#M923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Obetz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It uses the new USBDM V2 API so isn't usable with the earlier versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll consider back-porting it later but there are other things that should be done first (e.g. paged addressing) and I would like to try improving the clock trimming accuracy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 08:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160291#M923</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-12-09T08:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160292#M924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello pgo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the fast reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more question: I don't see any options for the target supply voltage selection, do you intend to use the target supply present in the JM based hardware?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would be very convenient for batch programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 16:54:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160292#M924</guid>
      <dc:creator>Obetz</dc:creator>
      <dc:date>2009-12-09T16:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160293#M925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Obetz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The usual USBDM dialogue will open to configure the the target voltage etc. even if using a batch file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there is a crude workaround.&amp;nbsp; The dialogue now contains an option to "not ask again" i.e. the dialogue will not re-appear. You have to delete the config file to restore the dialogue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion is very good.&amp;nbsp; I will add options to control the target power when I have time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;bye&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pgo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-12-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;02:00 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:00:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160293#M925</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-12-15T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160294#M926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear pgo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wow! Very nice work. This is terrific!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question - what do you think it takes to enhance it to support JM128 flash programming?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 04:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160294#M926</guid>
      <dc:creator>osorakunakamori</dc:creator>
      <dc:date>2010-02-09T04:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160295#M927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear osoraku,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean&amp;nbsp; MCF51JM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't looked at coldfire V1 yet.&amp;nbsp; I'm currently doing a HCS12 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It wouldn't be too hard I expect.&amp;nbsp; It depends on how uniform the Flash and Clocks are between the different Coldfire chips.&amp;nbsp; There are also some memory configuration issues that don't exist in the HCS08 chips.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So - on the list but not very soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The list"&lt;/P&gt;&lt;P&gt;Paged memory support for HCS08 (e.g. AC128) - done but needs more thorough testing&lt;/P&gt;&lt;P&gt;HCS12 programming - partially done but has some issues with non-uniform BDM interfaces and security.&lt;/P&gt;&lt;P&gt;Coldfire V1 - not started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;bye&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pgo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2010-02-09&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:37 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 07:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160295#M927</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-02-09T07:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160296#M928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear pgo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. You are right, I was referring to CF v1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for all the great work.&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, 10 Feb 2010 04:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160296#M928</guid>
      <dc:creator>osorakunakamori</dc:creator>
      <dc:date>2010-02-10T04:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160297#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear pgo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question - does the flash program in the constant byte array "flashProgram[]" come from the coldfire project in HCSO8_FlashProgramming? I was trying to compare the code in the s-record file to the bytes in the array ... they start out the same but soon diverge. What process did you use to create the contents of flashProgram[] ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 05:04:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160297#M929</guid>
      <dc:creator>osorakunakamori</dc:creator>
      <dc:date>2010-02-10T05:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160298#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Osaraku,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The source code for the routine is provided as part of the Codewarrior project (HCS08_FlashProgramming.rar) included in the Zip file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's based on some app note on Flash programming or something - I can't remember!&amp;nbsp; It's pretty trivial though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what "coldfire project in HCSO8_FlashProgramming" is &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 08:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160298#M930</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-02-10T08:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160299#M931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear pgo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops .. I meant "Codewarrior project in (directory) HCS08_FlashProgramming".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My point was just that I don't understand why the code in the s-record file for this project doesn't match the code in your constant byte array. Thus I was trying to figure out how one gets the proper definition of the constant byte array from the output of the Codewarrior project. Doea it need massaging in some way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&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, 10 Feb 2010 09:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160299#M931</guid>
      <dc:creator>osorakunakamori</dc:creator>
      <dc:date>2010-02-10T09:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160300#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear osaraku,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From memory, there is some pre-amble code that's commented out and it's relocated to origin $0000.&amp;nbsp;&amp;nbsp; It may have another origin for testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is further patched on-the-fly by the C program execution. The table (dc.w?) in the assembly code is the list of addresses needing patching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pgo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2010-02-10&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;06:09 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 15:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160300#M932</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-02-10T15:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160301#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, pgo!&lt;/P&gt;&lt;P&gt;Thank you for great work!&lt;/P&gt;&lt;P&gt;When i try to recompile source of FlashProgrammer - i got an error in line #include "USBDM_API.h" - no such file. Can you add this header to sources for me and other peoples, who whish recompile project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, mov.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 22:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160301#M933</guid>
      <dc:creator>mov</dc:creator>
      <dc:date>2010-03-12T22:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160302#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear mov,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The header file is part of USBDM available here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-message-read"&gt;&lt;A href="http://forums.freescale.com/../OSBDM-JM60-Open-Source-BDM-for/USBDM-Version-2-JS16-JMxx-Versions/td-p/49364" rel="nofollow" target="_blank"&gt;USBDM - Version 2 (JS16/JMxx Versions)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I prefer to distribute it in this way as it should track any changes in the DLL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will probably need the DLL to link against as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 18:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160302#M934</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-03-13T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160303#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, pgo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you for fast reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes, i need the DLL to link. But i can't find configuration "USBDM Debug DLL" in project "USBDM_DLL_V2" &lt;SPAN class="short_text"&gt;&lt;SPAN&gt;which the referenced in the project "FlashProgrammer". When i try to link library from&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;1. Installation_1_0_3&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;" - got some errors&lt;/SPAN&gt;&lt;/SPAN&gt; "undefined reference to " `USBDM_ConfigureDialog'&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; and `USBDM_GetErrorString'. &lt;SPAN class="short_text"&gt;&lt;SPAN&gt;The same error occurs when i try to link renamed DLL's from&lt;/SPAN&gt;&lt;/SPAN&gt; USBDM_DLL_V2 project. Looks like a missing declarations in "USBDM_API.h".&lt;/P&gt;&lt;P&gt;Please help me with this problem.&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>Sun, 14 Mar 2010 00:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160303#M935</guid>
      <dc:creator>mov</dc:creator>
      <dc:date>2010-03-14T00:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160304#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear mov,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry!&amp;nbsp; I overlooked the fact that the programmer software has a later version of the USBDM.dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the required header file (I hope) along with corresponding DLLs to ensure that they are consistent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 08:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160304#M936</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-03-14T08:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160305#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;Thank you very much, pgo!&lt;/SPAN&gt; &lt;SPAN&gt;Now building done ok.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;mov&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 14:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160305#M937</guid>
      <dc:creator>mov</dc:creator>
      <dc:date>2010-03-14T14:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160306#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PGO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you again for another great utility!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only problem I run into is that the stand-alone flashprogrammer seems not able to unsecure chips.Even using the reset line and cycling the target power doesn't succeed -- it gives an error that it can't communicate with the target.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Hiwave debugger when launched from Codewarrior 6.3 also one has to first explicitly choose the "Unsecure" command in the HCS08 Open Source BDM menu in order to be able to reprogram a target.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some way to achieve this automatically when needed by modifying the command files, and how could one unsecure chips with the standalone utility (i.e., have the standalone utility do what the unsecure.cmd does from Hiwave) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks and best regards!&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 16:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160306#M938</guid>
      <dc:creator>joncas</dc:creator>
      <dc:date>2010-05-06T16:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160307#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear joncas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The programming utility should unsecure the chip without any special action required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It really sounds like a connection problem rather than an unsecuring problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide the following information and I will try to figure out what is happening:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What HCS08 chip is being programmed?&lt;/LI&gt;&lt;LI&gt;Can the utility program a blank or unsecured chip?&lt;/LI&gt;&lt;LI&gt;Can the utility detect the device SDID and select the correct device?&lt;/LI&gt;&lt;LI&gt;What is your BDM hardware?&lt;/LI&gt;&lt;LI&gt;What is you BDM firmware &amp;amp; DLL version numbers (reported on the USBDM connection dialogue)?&lt;/LI&gt;&lt;LI&gt;Does the "cycle power" dialogue appear?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&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>Fri, 07 May 2010 08:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160307#M939</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-05-07T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 Flash Programmer for USBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160308#M940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PGO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that it was my mistake : I was not&amp;nbsp; correctly setting the Clock type and parameters!&lt;/P&gt;&lt;P&gt;The Flash Programmer is Version 1.0.3,&lt;/P&gt;&lt;P&gt;BDM firmware 2.0&lt;/P&gt;&lt;P&gt;DLL 3.1.1&lt;/P&gt;&lt;P&gt;BDM hardware is one I made myself with a JM60.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a HCS08QE128 (SDID 0x1.015) or HCS08AC128 (SDID 0x0.01B) the SDID is read, but the device type is not recognized and so the Clock type is left on "External" which doesn't work. If I set it to S08ICSV3 it's ok for the QE128, and the AC128 uses S08ICGV4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a HCS08LG32 the device type is correctly set, so the clock is also configured automatically after clicking on "Detect SDID".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the correct clock settings, all three work fine, even with a secured chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my apologies for taking your time...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the USBDM from Codewarrior 6.3 or 6.3.1 and Hiwave.exe with Open Source BDM dll v. 3.05, with a CF1 device a secure chip is automatically unsecured without any additional steps, but with the three HCS08 parts I tried one has to first manually select the "Unsecure..." command from the "HCS08 Open Source BDM" menu, otherwise one gets the error message "Error while loading diagnostic algorithm to target system. The chip may be secured or the derivative selected may be wrong."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is not a big deal, and it may be due some configuration setting I missed in the command files, but in case it's of any interest, I attach three gdi log files -- one of the failure when trying to program a secured device, one of the sucessful unsecure command, and one of the success programming of the unsecured device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for providing this great tool!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 15:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/HCS08-Flash-Programmer-for-USBDM/m-p/160308#M940</guid>
      <dc:creator>joncas</dc:creator>
      <dc:date>2010-05-07T15:38:22Z</dc:date>
    </item>
  </channel>
</rss>

