<?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 Hex into Assembly in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Hex-into-Assembly/m-p/1436555#M15666</link>
    <description>&lt;P&gt;TL;DR I have a .hex file from a MC9S08DZ60 that I need to upload somehow into another blank&amp;nbsp;MC9S08DZ60. How do I go about it? What do I do?&lt;/P&gt;&lt;P&gt;The long story:&lt;/P&gt;&lt;P&gt;I was tasked with flashing a .hex file that was extracted from a (Supposedly) working sensor tester that used a&amp;nbsp;MC9S08DZ60 onto another blank&amp;nbsp;MC9S08DZ60.&lt;/P&gt;&lt;P&gt;Now the thing is: I'm an absolute n00b on MCU's. The n00best n00b you've ever heard of, and I don't know what to do. Honestly, I don't even know if I'm using the word "Flashing" correctly. To be completely clear: The&amp;nbsp;MC9S08DZ60 used on the working sensor tester had a program. That program was extracted by a third party, somehow converted into a hex file and was handed over to me. I was tasked to "Upload whatever the heck that MCU is running onto a blank"... So the program that THAT MCU is running, I need it to run in another one. That's it. I had one&amp;nbsp;MC9S08DZ60 running a program... I need two&amp;nbsp;MC9S08DZ60's running the same program. I got the hex. That's my starting point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that just to be clear on terminology. Remember: I have the same experience with this as a toddler would have.&lt;/P&gt;&lt;P&gt;So, I've read snippits of information here and there and tried a few things: I've already dissasembled the hex using the -Proc=HCS08 instruction, and the output was a .lst with a HEX to ASCII and (What I presume is) the assembly code for the MCU. I was excited... Until I tried copypasting the code into two projects (For relocated assembly and absolute assembly, configured both for a MC9S08DZ60) and failing MISERABLY at building them... So I failed on that front and I've been stuck in there for a good 2 days.&lt;/P&gt;&lt;P&gt;Honestly, was expecting to get something like EEPROM's where you just get the hex file, select the chip and upload it... But yeah. N00b expectations.&lt;/P&gt;&lt;P&gt;Other than, I've put the blank onto a third party ICSP-ready board and already have a PE Micro USB Multilink Interbase Freescale Enabled interface... So I think hardwarewise I'm ready to go. Problem is just that I'm a dummy dumb dumb on software.&lt;/P&gt;&lt;P&gt;ANY help would be greatly appreciated and I'm available to upload or reference anything I've done and have up 'till this point to get any advice. THANK YOU!&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Truly yours,&lt;/P&gt;&lt;P&gt;The n00biest n00b that ever n00b'd.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 23:30:42 GMT</pubDate>
    <dc:creator>Hypokritical</dc:creator>
    <dc:date>2022-03-30T23:30:42Z</dc:date>
    <item>
      <title>Hex into Assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Hex-into-Assembly/m-p/1436555#M15666</link>
      <description>&lt;P&gt;TL;DR I have a .hex file from a MC9S08DZ60 that I need to upload somehow into another blank&amp;nbsp;MC9S08DZ60. How do I go about it? What do I do?&lt;/P&gt;&lt;P&gt;The long story:&lt;/P&gt;&lt;P&gt;I was tasked with flashing a .hex file that was extracted from a (Supposedly) working sensor tester that used a&amp;nbsp;MC9S08DZ60 onto another blank&amp;nbsp;MC9S08DZ60.&lt;/P&gt;&lt;P&gt;Now the thing is: I'm an absolute n00b on MCU's. The n00best n00b you've ever heard of, and I don't know what to do. Honestly, I don't even know if I'm using the word "Flashing" correctly. To be completely clear: The&amp;nbsp;MC9S08DZ60 used on the working sensor tester had a program. That program was extracted by a third party, somehow converted into a hex file and was handed over to me. I was tasked to "Upload whatever the heck that MCU is running onto a blank"... So the program that THAT MCU is running, I need it to run in another one. That's it. I had one&amp;nbsp;MC9S08DZ60 running a program... I need two&amp;nbsp;MC9S08DZ60's running the same program. I got the hex. That's my starting point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that just to be clear on terminology. Remember: I have the same experience with this as a toddler would have.&lt;/P&gt;&lt;P&gt;So, I've read snippits of information here and there and tried a few things: I've already dissasembled the hex using the -Proc=HCS08 instruction, and the output was a .lst with a HEX to ASCII and (What I presume is) the assembly code for the MCU. I was excited... Until I tried copypasting the code into two projects (For relocated assembly and absolute assembly, configured both for a MC9S08DZ60) and failing MISERABLY at building them... So I failed on that front and I've been stuck in there for a good 2 days.&lt;/P&gt;&lt;P&gt;Honestly, was expecting to get something like EEPROM's where you just get the hex file, select the chip and upload it... But yeah. N00b expectations.&lt;/P&gt;&lt;P&gt;Other than, I've put the blank onto a third party ICSP-ready board and already have a PE Micro USB Multilink Interbase Freescale Enabled interface... So I think hardwarewise I'm ready to go. Problem is just that I'm a dummy dumb dumb on software.&lt;/P&gt;&lt;P&gt;ANY help would be greatly appreciated and I'm available to upload or reference anything I've done and have up 'till this point to get any advice. THANK YOU!&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Truly yours,&lt;/P&gt;&lt;P&gt;The n00biest n00b that ever n00b'd.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 23:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Hex-into-Assembly/m-p/1436555#M15666</guid>
      <dc:creator>Hypokritical</dc:creator>
      <dc:date>2022-03-30T23:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hex into Assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Hex-into-Assembly/m-p/1436556#M15667</link>
      <description>&lt;P&gt;Update:&lt;BR /&gt;Sorry for the title. Maybe not the most approriate...&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 23:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Hex-into-Assembly/m-p/1436556#M15667</guid>
      <dc:creator>Hypokritical</dc:creator>
      <dc:date>2022-03-30T23:32:28Z</dc:date>
    </item>
  </channel>
</rss>

