<?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: Possible to write *.bin to specified adress at HCS08? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921560#M22918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;I believe you are receiving this error because a bin file doesn’t encode the address so it will need to be converted to a s19 file. To do this you have a couple options.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;First,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PEmicro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;offe&lt;/SPAN&gt;&lt;SPAN&gt;rs&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;a free utility that will convert your bin file to a s19&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;file which is located&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;on their website in the Support&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;SPAN&gt;Documentati&lt;/SPAN&gt;&lt;SPAN&gt;on&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;Download&lt;/SPAN&gt;&lt;SPAN&gt;s\&lt;/SPAN&gt;&lt;SPAN&gt;Utilit&lt;/SPAN&gt;&lt;SPAN&gt;y\BIN2S19. I have attached&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;a screenshot of what your command line&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;should look like once you download the application.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;A second option would be to download OBJCOPY which is a standard GCC tool to convert your bin file to a s19 file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;PEMicro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;does offer two hardware options&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;support the MC9S08AW60 microcontroller and will be able to program any valid flash range within this part&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;given a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;s19 file. Both the Multilink Development Debug Probe as well as the Cyclone Stand-Alone Programmer have these capabilities&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Hope&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;this information is close to what you&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;are looking for!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bin2s19_example.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87538i2786A7C9BB5E9B32/image-size/large?v=v2&amp;amp;px=999" role="button" title="bin2s19_example.PNG" alt="bin2s19_example.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2019 14:09:48 GMT</pubDate>
    <dc:creator>steven_mcgrath</dc:creator>
    <dc:date>2019-08-16T14:09:48Z</dc:date>
    <item>
      <title>Possible to write *.bin to specified adress at HCS08?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921558#M22916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty new in NXP/freescale µC world.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is updating a MC9S08AW60 which is part of an controll unit. The update is a binary file which needs to be flashed from 0x870-0x106F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to read flash with USBDM interface and also to write the &lt;STRONG&gt;&lt;EM&gt;same file&lt;/EM&gt;&lt;/STRONG&gt; back.&amp;nbsp;So the hardware connection is not my problem. But I'm not able to flash this update file because USBDM reports me error "Program data not within target flash memory".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me any (simple) alternative programm and programmer, which can be used to flash this binary file to my microcontroller?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 21:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921558#M22916</guid>
      <dc:creator>chris02</dc:creator>
      <dc:date>2019-08-13T21:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to write *.bin to specified adress at HCS08?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921559#M22917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure that I got properly your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a project already loaded on the S08AW device and now you need to update this program, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it using a bootloader if you have one on the device, if you do not have a bootloader on the device I believe this is no possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vicente&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 21:22:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921559#M22917</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-08-15T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to write *.bin to specified adress at HCS08?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921560#M22918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;I believe you are receiving this error because a bin file doesn’t encode the address so it will need to be converted to a s19 file. To do this you have a couple options.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;First,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PEmicro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;offe&lt;/SPAN&gt;&lt;SPAN&gt;rs&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;a free utility that will convert your bin file to a s19&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;file which is located&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;on their website in the Support&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;SPAN&gt;Documentati&lt;/SPAN&gt;&lt;SPAN&gt;on&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;Download&lt;/SPAN&gt;&lt;SPAN&gt;s\&lt;/SPAN&gt;&lt;SPAN&gt;Utilit&lt;/SPAN&gt;&lt;SPAN&gt;y\BIN2S19. I have attached&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;a screenshot of what your command line&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;should look like once you download the application.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;A second option would be to download OBJCOPY which is a standard GCC tool to convert your bin file to a s19 file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;PEMicro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;does offer two hardware options&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;support the MC9S08AW60 microcontroller and will be able to program any valid flash range within this part&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;given a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;s19 file. Both the Multilink Development Debug Probe as well as the Cyclone Stand-Alone Programmer have these capabilities&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Hope&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;this information is close to what you&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;are looking for!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; background-color: #ffffff; font-size: 18px;"&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bin2s19_example.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87538i2786A7C9BB5E9B32/image-size/large?v=v2&amp;amp;px=999" role="button" title="bin2s19_example.PNG" alt="bin2s19_example.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:09:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Possible-to-write-bin-to-specified-adress-at-HCS08/m-p/921560#M22918</guid>
      <dc:creator>steven_mcgrath</dc:creator>
      <dc:date>2019-08-16T14:09:48Z</dc:date>
    </item>
  </channel>
</rss>

