<?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: S08MM128 not running without debugger in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179365#M12853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like it may be that FFB8 is used in the determination of whether to enter bootloader or user mode (although the RM does not make this explicit). This might explain why the MCU doesn't run. There is a checksum bypass location that I can set and try this out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 17:15:19 GMT</pubDate>
    <dc:creator>markelson</dc:creator>
    <dc:date>2013-01-03T17:15:19Z</dc:date>
    <item>
      <title>S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179354#M12842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a curious problem with an MM128 not running without the debugger connected. I've seen the other posts that talk about COP etc and that is not the cause. I have found a "fix" by changing the prm file but I don't know why it works. I started with the default prm that gets created when the MM128 MCU is selected. I just changed the memory range that the CRC calc is performed over to just look at the unbanked ROM (as that is where my code resides and it means I can work with 16-bit pointers in my code that verifies the ROM CRC as part of a power-on self-test).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CHECKSUM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHECKSUM_ENTRY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METHOD_CRC_CCITT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INIT&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8D9D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x040B2 TO 0x07FFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x0C000 TO 0x0FF9D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x0FFC0 TO 0x0FFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0xFFB8 SIZE 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDEFINED 0xff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then find that my application does not run without the debugger connected. I think the MCU keeps resetting (I put some light LED code in right after the stack pointer init) it does not get as far as that without running in the debugger.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By trial and error I found that reverting back to the default checksum prm entry (below) the application will run without the debugger.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CHECKSUM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHECKSUM_ENTRY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METHOD_CRC_CCITT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INIT&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8D9D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x009000 TO 0x00BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x018000 TO 0x0180B1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x040B2 TO 0x07FFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x028000 TO 0x02BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x0C000 TO 0x0FF73&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x0FF80 TO 0x0FF9F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x0FFC0 TO 0x0FFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x048000 TO 0x04BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x058000 TO 0x05BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x068000 TO 0x06BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0x078000 TO 0x07BFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY&amp;nbsp;&amp;nbsp; 0xFFB8 SIZE 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDEFINED 0xff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am baffled as to why this should have an effect. Does any one know why this should be so or is it more likely that there is some side-effect that is producing the symptoms?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas gratefully received, Mark&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 11:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179354#M12842</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2012-11-17T11:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179355#M12843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does it behave when you uncomment the test for the checksum in the code? Same behavior for both cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are the 2 apps different? You could compare the srecords, if the above prm changes are the only difference, then&lt;/P&gt;&lt;P&gt;only the 2 bytes at &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FFB8&lt;/SPAN&gt; should be different (well and the checksum at the end of that line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But actually the code computing the checksums at runtime has to be different as well as with this method of checksum computation, code has to know the set of areas to compute the checksum over as well, so I would think that is different as well.&lt;/P&gt;&lt;P&gt;So maybe the difference in behavior is that the working version just starts slower as it has to compute the CRC over more memory with 24 bit pointers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 22:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179355#M12843</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2012-11-17T22:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179356#M12844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behaviour is the same with or without the checksum code. In fact, I did not change the ranges being checked by the code (just in the prm). In the code, I just altered the return calculation to always return a "pass". I will do some more testing with minimal changes and compared the srecords as you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 08:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179356#M12844</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2012-11-18T08:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179357#M12845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that the only difference in the srecords is the 2 bytes of checksum at FFB8. When the checksum is that computed over the limited range (1st one in my 1st email) the MCU does not run without the debugger (FSL OS BDM on Tower kit). It does run when the checksum is that computed over the 2nd range in my first email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179357#M12845</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2012-11-27T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179358#M12846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there Mark!&lt;/P&gt;&lt;P&gt;Glad to see you're progressing on that...does this means that the problem has been figured out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 22:14:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179358#M12846</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2012-12-10T22:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179359#M12847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I've been distracted by other stuff so I haven't been able to bottom this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still scratching my head as to why a different value in the CRC location in the s-record should make the difference between running with or without the debugger. There's nothing in the startup code that would be affected by this - just the boilerplate init SP and init RAM functions. I'll come back to it soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 07:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179359#M12847</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2012-12-11T07:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179360#M12848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea as to how a different checksum value at FFB8 (that is then not used currently in the application) could make the difference as to whether the MCU runs without the debugger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179360#M12848</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2013-01-03T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179361#M12849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark.&lt;/P&gt;&lt;P&gt;May be the problem in the different place. Can you check when you press on Debug button, into the "P&amp;amp;E Connection Manager" window when debugger start connect to your MCU, into "Cyclone Pro Power Control" section checkbox "Provide power to target" (support voltage to your MCU through your debugger 3.3V or 5.0V, if you have this one P&amp;amp;E Debugger)? May be the voltage to your MCU go through debugger only?&lt;/P&gt;&lt;P&gt;Evgeni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179361#M12849</guid>
      <dc:creator>evgenik</dc:creator>
      <dc:date>2013-01-03T16:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179362#M12850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evgeni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not the issue. I've isolated it to that the only difference in the s-record that runs and the one that doesn't is the CRC value at one address and which isn't used in the rest of the application. I'm not using P&amp;amp;E kit as the tower kit has it's own OSBDM debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179362#M12850</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2013-01-03T16:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179363#M12851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is FFB8 magical/ a register with some functionality? I saw that this address is listed as a checksum register in the ref manual, but I did not see any additional documentation those registers/addresses. I guess it is just plain flash, or?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the non working version, can you instrument the code to toggle a bit or insert some other debug patch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179363#M12851</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2013-01-03T16:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179364#M12852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FFB8 is a nonvolatile flash register. AFAIK, it has no functionality other than it is nominated for holding a 16-bit CRC value that can then be used in the application. I can find no reference in the RM to it being used by the MCU. I had previously inserted some code to light an LED right at the beginning of the startup code. This ran and worked with the debugger connected but not without. So it seems the MCU is not running as far as the startup code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179364#M12852</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2013-01-03T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179365#M12853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like it may be that FFB8 is used in the determination of whether to enter bootloader or user mode (although the RM does not make this explicit). This might explain why the MCU doesn't run. There is a checksum bypass location that I can set and try this out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 17:15:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179365#M12853</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2013-01-03T17:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: S08MM128 not running without debugger</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179366#M12854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got to the bottom of this. By experimenting I found that FFB8 is used to determine the MCU mode of operation. Section 3.3 of the RM discusses this but uses different mnemonics to the NV register descriptions in 4.2. 3.3 also gives a misleading description of the memory range checked (1000:FB00) when in fact it seems to be the whole flash array. Hence, I did not link FFB8 as being the same checksum that was used in the mode determination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problems arose because I was trying to check just that portion of flash that I was using. Hence, the checksum generated by my prm did not match the checksum calculated by the MCU. The MCU checking can be turned off by setting FFBA to 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const byte CHKSBYP_INIT @0x0000FFBA = 0x00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all the replies. I'll close this thread now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 10:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08MM128-not-running-without-debugger/m-p/179366#M12854</guid>
      <dc:creator>markelson</dc:creator>
      <dc:date>2013-01-04T10:14:57Z</dc:date>
    </item>
  </channel>
</rss>

