<?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: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160442#M9660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Here is how I would solve that problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You want to program a S19 file for S08/CFV1/S12(X) into a board, using CodeWarrior, but you don't want to have the source code or debug file available to the user. This is quite common.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Let us assume that we have a S19 file for a MC9S08QE128.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Start CodeWarrior, and create a new project for QE128 using the new project wizard. don't bother with the Device Initialisation or Processor Expert, just a simple C project will do.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Once the project is created, run the debugger F5. Project will build, and get flashed onto the QE128 board attached to CW via the USBMULTILINKBDME.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;At the MultiLinkCyclonePro menu item, select&amp;nbsp;Start Expert&amp;nbsp;Mode Programmer, and select the option Specify Object File. Browse to the desired S19 file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Don't forget to eraase the flash before programming with the EM and PM options.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Device is programmed with custom S19 file, inside CodeWarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 05:35:03 GMT</pubDate>
    <dc:creator>UK_CF_FAE</dc:creator>
    <dc:date>2008-06-10T05:35:03Z</dc:date>
    <item>
      <title>How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160435#M9653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Somebody knows how to program HC(S)08, CFV1 and HC(S)12 microcontrollers, from s19 file generated from Codewarrior?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use HC08, I could take s19 file and use a MON08 program from P&amp;amp;E, and I program sucessfully this kind of microcontrollers, but with HC(s)08, i don't&amp;nbsp; know who do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 01:54:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160435#M9653</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-05-30T01:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160436#M9654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You would have to buy a stand-alone programmer from someone like P&amp;amp;E.&lt;BR /&gt;&lt;BR /&gt;It's probably not exactly what you want, but you can launch the debugger and have it load a S19 file without using codewarrior.&lt;BR /&gt;&lt;BR /&gt;Check out AN1002 from our website:&lt;BR /&gt;&lt;A href="http://witztronics.com/product_info.php?cPath=2_18&amp;amp;products_id=31" target="test_blank"&gt;http://witztronics.com/product_info.php?cPath=2_18&amp;amp;products_id=31&lt;/A&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 04:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160436#M9654</guid>
      <dc:creator>Witztronics</dc:creator>
      <dc:date>2008-05-30T04:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160437#M9655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I take it you don't have the source, just the S19 file...&lt;BR /&gt;&lt;BR /&gt;If that's the case, and you were desperate, you could always write a program to read the S19 file and convert it to define bytes and then feed the source into CW as an include. Then assemble and program.&lt;BR /&gt;&lt;BR /&gt;But you'd have to be pretty desperate.&lt;BR /&gt;&lt;BR /&gt;Then again... I've done similar things, and worse, in the past.&lt;BR /&gt;&lt;BR /&gt;Like I said, 'pretty desperate'.&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 00:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160437#M9655</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2008-06-01T00:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160438#M9656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I need distribute only the S19 file , in order&amp;nbsp; to not&amp;nbsp; distribute Original&amp;nbsp; Code Source based in C language.&lt;BR /&gt;Other people could program microcontrollers without have risk of manipulate original source.&lt;BR /&gt;&lt;BR /&gt;But I want to know how I can do it, using CW&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 06:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160438#M9656</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-01T06:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160439#M9657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi erooll,&lt;BR /&gt;&lt;BR /&gt;Fire up hiwave from the progs directory of your CW installation.&lt;BR /&gt;Under component menu use "Set Connection" to select your interface and device type.&lt;BR /&gt;Under the menu that is named after your interface use "Device" to select your derivative.&lt;BR /&gt;Then from the same menu use "Load" you can change the file filter to s19 and find your file.&lt;BR /&gt;Then it programmes it in for you.&lt;BR /&gt;Once you have done the selection stuff once it will stick so you only have to select the file under "Load" and you are away.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 06:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160439#M9657</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-06-01T06:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160440#M9658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I agree with Peg.&amp;nbsp; I think that's the best way, but you can do it all with a single command line.&lt;BR /&gt;&lt;BR /&gt;similar to this:&lt;BR /&gt;&lt;BR /&gt;C:\Program Files\Freescale\CodeWarrior for HC08 V5.1\prog\hiwave.exe" C:\myfile.s19 -&lt;BR /&gt;Target=HCS08OpenSourceBDM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Create a desktop link.&amp;nbsp; Edit the start up command line to point to your version of CW, your s19 file, set your target and you are good to go with just a "double click".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 10:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160440#M9658</guid>
      <dc:creator>Witztronics</dc:creator>
      <dc:date>2008-06-01T10:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160441#M9659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I don't know of any products marketed that way do to differences in compilers and chip variations.&lt;BR /&gt;I would never buy a product like that, because if something went wrong, I could not debug it.&lt;BR /&gt;Have you considered an object library? At least then the linker could locate the code in a manner&amp;nbsp; that made sense in the context of the rest of the program.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 19:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160441#M9659</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-02T19:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160442#M9660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Here is how I would solve that problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You want to program a S19 file for S08/CFV1/S12(X) into a board, using CodeWarrior, but you don't want to have the source code or debug file available to the user. This is quite common.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Let us assume that we have a S19 file for a MC9S08QE128.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Start CodeWarrior, and create a new project for QE128 using the new project wizard. don't bother with the Device Initialisation or Processor Expert, just a simple C project will do.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Once the project is created, run the debugger F5. Project will build, and get flashed onto the QE128 board attached to CW via the USBMULTILINKBDME.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;At the MultiLinkCyclonePro menu item, select&amp;nbsp;Start Expert&amp;nbsp;Mode Programmer, and select the option Specify Object File. Browse to the desired S19 file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Don't forget to eraase the flash before programming with the EM and PM options.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Device is programmed with custom S19 file, inside CodeWarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 05:35:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160442#M9660</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2008-06-10T05:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160443#M9661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Mark,&lt;BR /&gt;&lt;BR /&gt;Why would you have them go to all that trouble of creating a project?&lt;BR /&gt;&lt;BR /&gt;There is no need to do that.&lt;BR /&gt;&lt;BR /&gt;Also, for CF V2 and up you would use the cfflasher.exe program, as the IDE "Flasher Programmer" menu item is very hard to get working.&lt;BR /&gt;&lt;BR /&gt;For HCS12 V4.7, just start Hiwave, selection a connection, select the device, then go to the File/Conguration menu item and go to the "Load" tab and check the boxes you want (like erase, program etc).&lt;BR /&gt;&lt;BR /&gt;Now use File/Save Configuration As and save this ini file. If you do this you will not have to ever do these step again as you can just say "Open configuration" and select this ini file you made.&lt;BR /&gt;&lt;BR /&gt;To burn this file from the command line:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;"(path to cw\prog\hiwave.exe" "C:\myfile.s19" -Prod="C:\myconfigfile.ini"&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;Since you set the target in the in file, you do not need to specify it.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160443#M9661</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to program microcontrollers using USB BDM from a S19 file for HC(s)08/CFV1 and also HC(s)12</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160444#M9662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks to all... your sugestions was helpfull, now I could to program all my devices (HCS08, HCS12 and Coldfire V1) using hiwave from s19 file.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 10:47:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-program-microcontrollers-using-USB-BDM-from-a-S19-file/m-p/160444#M9662</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-12T10:47:31Z</dc:date>
    </item>
  </channel>
</rss>

