<?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: Running Unit Test with Tessy in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/1635057#M23701</link>
    <description>I believe it could be due to invalid memory access by the function under test. I have seen similar errors when the code was accessing invalid memory. This invalid memory access could also happen in the stub function.</description>
    <pubDate>Tue, 18 Apr 2023 04:46:22 GMT</pubDate>
    <dc:creator>harsha_jakkamkr</dc:creator>
    <dc:date>2023-04-18T04:46:22Z</dc:date>
    <item>
      <title>Running Unit Test with Tessy</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/161239#M9789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;I’m using Tessy (version 2.2.23) for running some tests with Trace32 set as target debugger for HCS08GB60 microcontroller.&lt;/P&gt;&lt;P&gt;Tessy InitScript command attribute is like the following:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;WinClear&lt;BR /&gt;SYStem.Reset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Break.RESet&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #663300;"&gt;MAP.BONChip&amp;nbsp; 0x1080--0xffff&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;SYStem.Up&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;C:\T32\m68hc08\flash\FlashS08.cmm prepare&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;flash.erase&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;all&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;wait 2.s&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;flash.erase&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;off&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;FLASH.Program&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;ALL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the PostloadScript attribute is :&lt;BR /&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #663300;"&gt;FLASH.Program&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;off&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Print “flash programming ready”&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Register.Set PC main&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Register.Set SP 0xff&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Data.List&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;Register&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;D.S. D:1802 53&lt;/SPAN&gt;&lt;SPAN style="color: #663300;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #663300;"&gt;;disable COP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works correctly and the test is uploaded into flash.&lt;BR /&gt;Then Tessy reports the following message:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;[tstcomm: bufferedWrite] unable to write - buffer not completely read (Master)&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;[tslow_disconnect] shutting down TRACE32&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;Error executing Master&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;and the cpu target is reset!&lt;BR /&gt;Is there something missing in the scripts?&lt;BR /&gt;Please can someone&amp;nbsp; help me?&lt;/P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 17:14:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/161239#M9789</guid>
      <dc:creator>JKLucas</dc:creator>
      <dc:date>2008-06-03T17:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running Unit Test with Tessy</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/161240#M9790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I'm not familiar with Tessy. anyone on the forum got any experience??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 00:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/161240#M9790</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2008-06-10T00:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running Unit Test with Tessy</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/1635057#M23701</link>
      <description>I believe it could be due to invalid memory access by the function under test. I have seen similar errors when the code was accessing invalid memory. This invalid memory access could also happen in the stub function.</description>
      <pubDate>Tue, 18 Apr 2023 04:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Running-Unit-Test-with-Tessy/m-p/1635057#M23701</guid>
      <dc:creator>harsha_jakkamkr</dc:creator>
      <dc:date>2023-04-18T04:46:22Z</dc:date>
    </item>
  </channel>
</rss>

