<?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 AN2295sw Rev12 on MR32 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210092#M17977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using AN2295sw Rev12 as start up to use a bootloader on HC08MR32, I have some questions:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. The first 5 pages of flash memory (0x8000-0x827E) are used as EEPROM from the application, from the sixth page, It is allocated code. From MCU slave software, I have modified&amp;nbsp; file slfprg-mr32.asm on line 89&lt;/P&gt;&lt;P&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; FLS_BEG EQU $8000&amp;nbsp;&amp;nbsp; in&amp;nbsp; FLS_BEG EQU $8280&lt;/P&gt;&lt;P&gt;Now, the problem is on PC Master software, I think I must modify s19.c and prog.c files, but not extactly where.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The user application needs read and/or write some bytes, during execution, on flash memory managed as EEPROM, this could be a problem for the MCU slave bootloader?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. On paragraph 3.5.1 - Memory occupied -&amp;nbsp; I read that because the bootloader is placed at the upper end of flash memory, the user code must be modified in its memory mapping. This means that I must change the last address of flash memory, for example:&lt;/P&gt;&lt;P&gt;ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY_MEMORY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8280&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFDFF &lt;/P&gt;&lt;P&gt;must changed on &lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/TD&gt;&lt;TD style=""&gt;READ_ONLY_MEMORY &lt;/TD&gt;&lt;TD style=""&gt;0x8280 &lt;/TD&gt;&lt;TD style=""&gt;TO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFC32&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. I plan to include di *.exe file of PC master software in a sw application, that the customer could use for update and manage a target board, and usually it want to use virtual serial port via USB. It's possible modify the PC master sw to make automatically this calibration, if it is, where and what I must modify.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope my questions are clear.... thak for any help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marilena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 11:18:46 GMT</pubDate>
    <dc:creator>matri</dc:creator>
    <dc:date>2012-10-05T11:18:46Z</dc:date>
    <item>
      <title>AN2295sw Rev12 on MR32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210092#M17977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using AN2295sw Rev12 as start up to use a bootloader on HC08MR32, I have some questions:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. The first 5 pages of flash memory (0x8000-0x827E) are used as EEPROM from the application, from the sixth page, It is allocated code. From MCU slave software, I have modified&amp;nbsp; file slfprg-mr32.asm on line 89&lt;/P&gt;&lt;P&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; FLS_BEG EQU $8000&amp;nbsp;&amp;nbsp; in&amp;nbsp; FLS_BEG EQU $8280&lt;/P&gt;&lt;P&gt;Now, the problem is on PC Master software, I think I must modify s19.c and prog.c files, but not extactly where.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The user application needs read and/or write some bytes, during execution, on flash memory managed as EEPROM, this could be a problem for the MCU slave bootloader?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. On paragraph 3.5.1 - Memory occupied -&amp;nbsp; I read that because the bootloader is placed at the upper end of flash memory, the user code must be modified in its memory mapping. This means that I must change the last address of flash memory, for example:&lt;/P&gt;&lt;P&gt;ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY_MEMORY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8280&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFDFF &lt;/P&gt;&lt;P&gt;must changed on &lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/TD&gt;&lt;TD style=""&gt;READ_ONLY_MEMORY &lt;/TD&gt;&lt;TD style=""&gt;0x8280 &lt;/TD&gt;&lt;TD style=""&gt;TO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFC32&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. I plan to include di *.exe file of PC master software in a sw application, that the customer could use for update and manage a target board, and usually it want to use virtual serial port via USB. It's possible modify the PC master sw to make automatically this calibration, if it is, where and what I must modify.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope my questions are clear.... thak for any help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marilena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 11:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210092#M17977</guid>
      <dc:creator>matri</dc:creator>
      <dc:date>2012-10-05T11:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295sw Rev12 on MR32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210093#M17978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marilena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to AN2295 author I'm sending his answers/comments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I think the first step 1. is ok and is needed. You can modify the begin of the flash memory of the MCU.&lt;/P&gt;&lt;P&gt;- You cannot modify PC master application due this.&lt;/P&gt;&lt;P&gt;2. Could you explain more this activity of managing the EEPROM ? What is the purpose etc. ?&lt;/P&gt;&lt;P&gt;3. Yes, you must modify the end of the flash in you project which you will use for the bootloader downloading, but basically it is depend on the size of your application (must fit between the range of the (flash – bootloader) ).&lt;/P&gt;&lt;P&gt;4. You can use the virtual serial link.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Please provide more details, I hope this will help in further advice. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Wlodek&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 09:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210093#M17978</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2012-10-12T09:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295sw Rev12 on MR32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210094#M17979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wlodek,&lt;/P&gt;&lt;P&gt;I have already modified slave software, downloaded it on the MCU. When I start bootloading procedure and I try to program the MCU, I read a message in a box, it informe me about discordance with default flash memory address and values indicated from slave sw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCU use 5 pages of flash as EEPROM to store final application parameters, to write run-time value that it&amp;nbsp; can read after any reset, etc.. In the finally application I must lock flash memory code and with the HC08MR32 I have no options, I can only use start of memory for "variables" and the other part for code storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope these clarifications could be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marilena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 13:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210094#M17979</guid>
      <dc:creator>matri</dc:creator>
      <dc:date>2012-10-12T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295sw Rev12 on MR32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210095#M17980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some news?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 07:52:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210095#M17980</guid>
      <dc:creator>matri</dc:creator>
      <dc:date>2012-10-22T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: AN2295sw Rev12 on MR32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210096#M17981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marilena, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like your problem have to be solved by detailed analyse of your code size, MCU memory resources, and tools you are using. &lt;/P&gt;&lt;P&gt;I understand that it is not appropriate to discuss such details publicly, so my advice for you is to open Service Request (see page &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework"&gt;https://www.freescale.com/webapp/servicerequest.create_SR.framework&lt;/A&gt;). Your SR will be directed to experts team and you will receive their advice to your mailbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wlodek&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:04:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/AN2295sw-Rev12-on-MR32/m-p/210096#M17981</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2012-10-24T15:04:03Z</dc:date>
    </item>
  </channel>
</rss>

