<?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>OSBDM and TBDML中的主题 Help using USBDM to Debug MCF51JE firmware with no source code</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1781361#M3828</link>
    <description>&lt;P&gt;ERROR&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2024 05:48:12 GMT</pubDate>
    <dc:creator>briandavidson1</dc:creator>
    <dc:date>2024-01-30T05:48:12Z</dc:date>
    <item>
      <title>Help using USBDM to Debug MCF51JE firmware with no source code</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1781361#M3828</link>
      <description>&lt;P&gt;ERROR&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 05:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1781361#M3828</guid>
      <dc:creator>briandavidson1</dc:creator>
      <dc:date>2024-01-30T05:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help using USBDM to Debug MCF51JE firmware with no source code</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782035#M3831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Assuming you have a working set-up i.e. USBDM software installed and the USBDM interface can detect the target and make a connection.&amp;nbsp; Test this by running the flash programmer and confirming it can detect the chip.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1) Downloading the current firmware in the processor from the flash if possible (it should be the same but in case it isn't I need a current copy);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The memory dump program can dump the contents of the flash to a file providing the chip is not secured.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;2) Evaluating / downloading the contents of the SRAM;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As above but a futile exercise.&amp;nbsp; The chip would normally be reset when being accessed by the programmer.&amp;nbsp; The contents of RAM would be essentially random data after reset.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;3) Debugging in real time during execution with breakpoints set at various addresses e.g. entry to functions, and stepping along and monitoring registers, stack, etc.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I haven't used Codewarrior for a long time so I can't remember details.&amp;nbsp; It does provide those features but a limited number of breakpoints depending on the target chip.&amp;nbsp; I have only used it when debugging a program it is compiling and downloading,&amp;nbsp; I am unsure if it will allow you to debug from an image.&amp;nbsp; If working from an image you would obviously only have an bare assembly language view.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;4) Recording branches and jumps and register / memory map etc writes and reads, what have you&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't believe the codewarrior provides tracing.&amp;nbsp; I am not even sure the chip does either.&lt;/P&gt;&lt;P&gt;If you want help on programming the codewarrior chip or using Codewarrior it would be better to post on the appropriate forum.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior/ct-p/codewarrior" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/CodeWarrior/ct-p/codewarrior&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/bd-p/coldfire" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/bd-p/coldfire&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 05:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782035#M3831</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2024-01-03T05:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help using USBDM to Debug MCF51JE firmware with no source code</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782489#M3833</link>
      <description>&lt;P&gt;ERROR&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 05:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782489#M3833</guid>
      <dc:creator>briandavidson1</dc:creator>
      <dc:date>2024-01-30T05:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help using USBDM to Debug MCF51JE firmware with no source code</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782520#M3834</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You are correct in stating that you can usefully read the RAM if you can arrange for the program to execute then connect to the target.&amp;nbsp; The Memory dump program does not provide that feature but you may be able to juggle connecting to the target to achieve it.&amp;nbsp; I would only try this if you know there is useful data in the RAM (and it's format of course).&lt;/P&gt;&lt;P&gt;It is more likely that settings are saved in the flash since it claims up to 100,000 program/erase cycles and supports erasing on a sector basis.&lt;/P&gt;&lt;P&gt;The back-door key is a program execution feature.&amp;nbsp; The sequence must be written by the CPU executing a program already loaded in the chip - not through the debugging interface.&amp;nbsp; You can't do this if the chip is secured as you do not have the required access.&amp;nbsp; This is unrelated to the chip flash reprogramming which uses a separate protection mechanism.&amp;nbsp;&amp;nbsp;&amp;nbsp; This may be moot - is the chip secured?&amp;nbsp; If the chip is secured (by the image you have) debugging will also be frustrating as it will secure while executing.&lt;/P&gt;&lt;P&gt;Do you have any idea in what language the original program was written in?&amp;nbsp; For example, working with a disassembled image for a C-program would be very difficult.&lt;/P&gt;&lt;P&gt;What origin is the firmware image you have? Is it an actual program image or is a customised file intended for upgrading the chip?&amp;nbsp; If the latter it may not be usable for several reasons e.g. encrypted or simple not in a usable format.&lt;/P&gt;&lt;P&gt;Again most of these questions are related to the chip - not USBDM. Try posting on the appropriate forum for more informative answers.&amp;nbsp; I'm certainly not a expert on Coldfire.&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 22:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Help-using-USBDM-to-Debug-MCF51JE-firmware-with-no-source-code/m-p/1782520#M3834</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2024-01-03T22:38:02Z</dc:date>
    </item>
  </channel>
</rss>

