<?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: Replacement for MC68701U4 without having the source for the eprom? (only got the compiled 4k bin) in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748242#M22527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just found out about this also, DASMx &lt;SPAN&gt;&lt;EM&gt;Version 1.40, &lt;/EM&gt;might be worth checking out in the convertion process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A quick glance didn't show me any support for the 68701U4 enhanced version but who knows..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 10:19:45 GMT</pubDate>
    <dc:creator>stefan_nordkvis</dc:creator>
    <dc:date>2018-04-04T10:19:45Z</dc:date>
    <item>
      <title>Replacement for MC68701U4 without having the source for the eprom? (only got the compiled 4k bin)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748239#M22524</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;Newcomer from Sweden here :smileyhappy:.&lt;/P&gt;&lt;P&gt;I would like to replace a old MC68701U4 for a redesigned pcb but I dont have the original source, only the 4k bin file for the eprom.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it even be possible or am I just wasting my time looking? I saw a similar post about replacement and MC68HC11 family was mentioned and also the newer S12 serie, since theyre both code/instruction compatible.. But he has the source code, I do not. The internal ram reads/writes could be troublesome is the replacement aint got ram in the same area, or if I could use external ram/eprom perhaps with a compatible MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input is welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748239#M22524</guid>
      <dc:creator>stefan_nordkvis</dc:creator>
      <dc:date>2018-03-29T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replacement for MC68701U4 without having the source for the eprom? (only got the compiled 4k bin)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748240#M22525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't find whether the 68701 is object code compatible with the 68HC11 which would be the primary requirement since you don't have the source.&amp;nbsp; It can't be compatible with 68HC12 as this is not compatible to the earlier 68HC11 which is closer (historically) to the 68(7)01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless, from a quick look, the memory map is certainly different, e.g. registers at $0000 -- 68HC11 could have them moved there, vectors at $BFF0, and so on.&amp;nbsp; This is a significant problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The registers are most likely not at the same offsets from zero even if relocated from 68HC11's default of $1000, and they are very likely not functionally compatible, so I would say, your chances are very-very-very-very slim to get this binary working on a different MCU without significant modifications (patches) to the original image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, for this you would first need to disassemble and understand the code.&amp;nbsp; But, if you have to do that, then it'd be a simpler task to just rewrite it (having the disassembled source) for another CPU (I'd go with the 9S08) than to patch the original binary.&amp;nbsp; 4KB of code should not be too hard to disassemble correctly but it would still be non-trivial work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to recreate the same functionality into a newer controller.&amp;nbsp; Forget how the original did it, just get it done again for another MCU.&amp;nbsp; For just 4KB of binary the complexity of the original code cannot possibly be that much, and possibly it would be less work overall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your final option would be to write an emulator for the 68701U4 that will run on a faster CPU of your choice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 16:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748240#M22525</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2018-04-02T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replacement for MC68701U4 without having the source for the eprom? (only got the compiled 4k bin)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748241#M22526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hmm... I have&amp;nbsp;to give it some more thought. You have some good points and I am tempted to go the:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9S08&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Forget how the original did it, just get it done again for another MCU" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;route..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Will dive into the 9s08 datasheet tonight and se how I feel :smileyhappy:.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I do have some&amp;nbsp;&lt;SPAN&gt;68701U4s availible but the rest of the board will be made from active parts so it feels so-so to include a oldie (but goodie! :smileyhappy:).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Althou there is a chance that there will be a FPGA present onboard and the 6801 is availible as a softcore.. one might wonder how much extra work it would be to add u4 functionality to that core.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Have a nice evening, and please let me know if you have any other nice inputs or ideas to share :smileyhappy:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 18:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748241#M22526</guid>
      <dc:creator>stefan_nordkvis</dc:creator>
      <dc:date>2018-04-03T18:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replacement for MC68701U4 without having the source for the eprom? (only got the compiled 4k bin)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748242#M22527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just found out about this also, DASMx &lt;SPAN&gt;&lt;EM&gt;Version 1.40, &lt;/EM&gt;might be worth checking out in the convertion process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A quick glance didn't show me any support for the 68701U4 enhanced version but who knows..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 10:19:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Replacement-for-MC68701U4-without-having-the-source-for-the/m-p/748242#M22527</guid>
      <dc:creator>stefan_nordkvis</dc:creator>
      <dc:date>2018-04-04T10:19:45Z</dc:date>
    </item>
  </channel>
</rss>

