<?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 Reading target memory using Microsoft COM objects in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135261#M810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I use the ReadMemory method of the ICodeWarriorDebuggerProcess interface in order to read the target memory? How does the accessKind parameter work? I have read the IDE Automation Guide but it only explains a few COM interfaces of&amp;nbsp;CodeWarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is my VBScript code (last line is not working):&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;' VB Script Documentoption explicitDim oCWDim oDebuggerDim oDebuggerThreadDim oDebuggerProcessDim oMemDim sizeSet oCW = CreateObject("CodeWarrior.CodeWarriorApp")Set oDebugger = oCW.DebuggerSet oDebuggerThread = oDebugger.CurrentThreadSet oDebuggerProcess = oDebuggerThread.Process' Read first 100 bytes, but how to interpret accessKind—Set oMem = oDebuggerProcess.ReadMemory(0,100,"")&lt;/PRE&gt;&lt;BR /&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Joel Eriksson&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2006 20:46:57 GMT</pubDate>
    <dc:creator>Joel</dc:creator>
    <dc:date>2006-05-09T20:46:57Z</dc:date>
    <item>
      <title>Reading target memory using Microsoft COM objects</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135261#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I use the ReadMemory method of the ICodeWarriorDebuggerProcess interface in order to read the target memory? How does the accessKind parameter work? I have read the IDE Automation Guide but it only explains a few COM interfaces of&amp;nbsp;CodeWarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is my VBScript code (last line is not working):&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;' VB Script Documentoption explicitDim oCWDim oDebuggerDim oDebuggerThreadDim oDebuggerProcessDim oMemDim sizeSet oCW = CreateObject("CodeWarrior.CodeWarriorApp")Set oDebugger = oCW.DebuggerSet oDebuggerThread = oDebugger.CurrentThreadSet oDebuggerProcess = oDebuggerThread.Process' Read first 100 bytes, but how to interpret accessKind—Set oMem = oDebuggerProcess.ReadMemory(0,100,"")&lt;/PRE&gt;&lt;BR /&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Joel Eriksson&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 20:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135261#M810</guid>
      <dc:creator>Joel</dc:creator>
      <dc:date>2006-05-09T20:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading target memory using Microsoft COM objects</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135262#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Which CodeWarrior product and version are you using? What is the revision date of the IDE Automation Guide that you are referring to? (The revision date appears as "Revised: xx-xxx-xxxx" on the first page of the manual's PDF.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;An alternative to using the COM API is to use the IDE's Command Window. Use the mem command to read memory on the target.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Marc.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 22:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135262#M811</guid>
      <dc:creator>marc_paquette</dc:creator>
      <dc:date>2006-05-11T22:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading target memory using Microsoft COM objects</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135263#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I'm using CodeWarrior for StarCore DSP Architectures, v2.7.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The IDE Windows Automation Guide is revised 9/01/2004&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We would like to use COM objects because we must do some advanced analysis of the memory. Today we are&amp;nbsp;saving&amp;nbsp;memory dump files and these are analysed by an external application. It would be nice to have just one VBScript that does all this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Joel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 22:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135263#M812</guid>
      <dc:creator>Joel</dc:creator>
      <dc:date>2006-05-11T22:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reading target memory using Microsoft COM objects</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135264#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Unfortunately, Freescale no longer supports this&amp;nbsp;part of IDE automation through Windows COM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But I empathize with your frustration. I'll make a request to my colleagues to sort this out.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To put more pressure on Freescale, you--and anyone else who would like such a capability--can submit a service request:&lt;BR /&gt;&lt;BR /&gt;1. Go to &lt;A href="http://freescale.com/support" target="test_blank"&gt;http://freescale.com/support&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. In the Develop column, click "Technical Support."&lt;BR /&gt;&lt;BR /&gt;3. Click "Submit a service request."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Marc.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 22:56:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-target-memory-using-Microsoft-COM-objects/m-p/135264#M813</guid>
      <dc:creator>marc_paquette</dc:creator>
      <dc:date>2006-05-12T22:56:01Z</dc:date>
    </item>
  </channel>
</rss>

