<?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>Kinetis MicrocontrollersのトピックTrouble with AN2295 bootloader on Kinetis K20</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257303#M7633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the 'Developer's Serial Bootloader' (Version 12, dated 9/2012) with a Kinetis MK20DX128VLH5 MCU on a custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to get it to communicate over the serial port, but it reports some warnings with the ID/protocol, and then fails to program the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application it's trying to flash has been modified as suggested in the AppNote, by moving the flash base from 0 to 0x1000 (first protection block past the bootloader).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the messages (with problems highlighted):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hc08sprg - Developer's HC/S08/CFV1/V2/Kinetis Serial Bootloader&lt;/P&gt;&lt;P&gt;$Version: 10.0.12.0$&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;FC protocol versions supported:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01 (HC08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03 (large HC08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02 (S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x06 (long S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0A (large S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x04 (ColdFire)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x08 (Kinetis)&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parsed S-record lines: 702&amp;nbsp; Bytes total: 53024&lt;/P&gt;&lt;P&gt;Source address range: 0x1000-0xDF2F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for HC(S)08/ColdFire/Kinetis reset ACK (timeout: 8s)...received 0xfc (good).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;WARNING! The protocol version [0x08] (Kinetis) does not match the one associated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;with the device with following SDID [0x015].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Protocol version for given SDID should be [0x02] (S08).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Continuing with reported protocol version anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Something is screwed up, please report!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Bootloader protocol version: 0x08 (Kinetis, read command supported,&lt;/P&gt;&lt;P&gt;Protocol secured: CRC-CCITT)&lt;/P&gt;&lt;P&gt;Bootloader version string: K20&lt;/P&gt;&lt;P&gt;System device ID: 0x015 [MC9S08RA16] rev. 1&lt;/P&gt;&lt;P&gt;Kinetis Package: 64-pin .&lt;/P&gt;&lt;P&gt;Number of memory blocks: 1&lt;/P&gt;&lt;P&gt;Memory block #1: 0x00001000-0x0000FFFF&lt;/P&gt;&lt;P&gt;Erase block size: 2048 bytes&lt;/P&gt;&lt;P&gt;Write block size: 128 bytes&lt;/P&gt;&lt;P&gt;Original vector table: 0x00000000-0x000003FF&lt;/P&gt;&lt;P&gt;New vector table: 0x00001000-0x000013FF&lt;/P&gt;&lt;P&gt;The S19 image also contains redirected vectors. The automatic redirection is skipped now.&lt;/P&gt;&lt;P&gt;Are you sure to program part? [y/N]: y&lt;/P&gt;&lt;P&gt;Memory is erased.&lt;/P&gt;&lt;P&gt;Memory programming block 0: W 0x00001000 0%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Can't program block 0 at address 0x00001000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Program memory failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Has the bootloader been tested with this K20 part? I checked the datasheet, and it looks like 0x0015 is the correct ID for the part, but maybe it also applies to the older MC9S08RA16 device? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Any suggestions for how to find/fix the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Rick Ball&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 16:16:57 GMT</pubDate>
    <dc:creator>RickBall</dc:creator>
    <dc:date>2013-07-05T16:16:57Z</dc:date>
    <item>
      <title>Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257303#M7633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the 'Developer's Serial Bootloader' (Version 12, dated 9/2012) with a Kinetis MK20DX128VLH5 MCU on a custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to get it to communicate over the serial port, but it reports some warnings with the ID/protocol, and then fails to program the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application it's trying to flash has been modified as suggested in the AppNote, by moving the flash base from 0 to 0x1000 (first protection block past the bootloader).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the messages (with problems highlighted):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hc08sprg - Developer's HC/S08/CFV1/V2/Kinetis Serial Bootloader&lt;/P&gt;&lt;P&gt;$Version: 10.0.12.0$&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;FC protocol versions supported:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01 (HC08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03 (large HC08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02 (S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x06 (long S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0A (large S08)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x04 (ColdFire)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x08 (Kinetis)&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parsed S-record lines: 702&amp;nbsp; Bytes total: 53024&lt;/P&gt;&lt;P&gt;Source address range: 0x1000-0xDF2F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for HC(S)08/ColdFire/Kinetis reset ACK (timeout: 8s)...received 0xfc (good).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;WARNING! The protocol version [0x08] (Kinetis) does not match the one associated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;with the device with following SDID [0x015].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Protocol version for given SDID should be [0x02] (S08).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Continuing with reported protocol version anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Something is screwed up, please report!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Bootloader protocol version: 0x08 (Kinetis, read command supported,&lt;/P&gt;&lt;P&gt;Protocol secured: CRC-CCITT)&lt;/P&gt;&lt;P&gt;Bootloader version string: K20&lt;/P&gt;&lt;P&gt;System device ID: 0x015 [MC9S08RA16] rev. 1&lt;/P&gt;&lt;P&gt;Kinetis Package: 64-pin .&lt;/P&gt;&lt;P&gt;Number of memory blocks: 1&lt;/P&gt;&lt;P&gt;Memory block #1: 0x00001000-0x0000FFFF&lt;/P&gt;&lt;P&gt;Erase block size: 2048 bytes&lt;/P&gt;&lt;P&gt;Write block size: 128 bytes&lt;/P&gt;&lt;P&gt;Original vector table: 0x00000000-0x000003FF&lt;/P&gt;&lt;P&gt;New vector table: 0x00001000-0x000013FF&lt;/P&gt;&lt;P&gt;The S19 image also contains redirected vectors. The automatic redirection is skipped now.&lt;/P&gt;&lt;P&gt;Are you sure to program part? [y/N]: y&lt;/P&gt;&lt;P&gt;Memory is erased.&lt;/P&gt;&lt;P&gt;Memory programming block 0: W 0x00001000 0%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Can't program block 0 at address 0x00001000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Program memory failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Has the bootloader been tested with this K20 part? I checked the datasheet, and it looks like 0x0015 is the correct ID for the part, but maybe it also applies to the older MC9S08RA16 device? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Any suggestions for how to find/fix the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Rick Ball&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 16:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257303#M7633</guid>
      <dc:creator>RickBall</dc:creator>
      <dc:date>2013-07-05T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257304#M7634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a document about how to port AN2295 to Kinetis K21 50MHz product with below link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95039"&gt;https://community.freescale.com/docs/DOC-95039&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 05:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257304#M7634</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-07-10T05:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257305#M7635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is for your reference.&lt;/P&gt;&lt;P&gt;I have modified the source for K20DX128VLH5.&lt;/P&gt;&lt;P&gt;In order to use MCG, some crystal was necessary.&lt;/P&gt;&lt;P&gt;Have fun :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 03:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257305#M7635</guid>
      <dc:creator>jiunnyang</dc:creator>
      <dc:date>2013-07-23T03:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257306#M7636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops, just saw this thread, I was following and commenting in another thread&amp;nbsp; "AN2295-SW serial bootloader for MC9S08SH8CTG" because the OTP reported the same initial error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a K20 part, MK20DX128VLF5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too get the device id misidentification by the GUI though it is correctly reported by the bootloader as 0x014.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally resolved my issues with the AN2295 bootloader, no crystal was necessary and should not be required anyway. The issues and my fixes are reported on the above thread !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 10:29:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257306#M7636</guid>
      <dc:creator>pataga</dc:creator>
      <dc:date>2013-12-07T10:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257307#M7637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I now have reliable AN2295 serial uart bootloader programming of a K20 part ( MK20DX128VLF5 ) using the bootup FEI clock,&amp;nbsp; at 57600baud, i.e. no crystal required.&lt;/P&gt;&lt;P&gt;This is working fine with a USB serial comm&amp;nbsp; using an FTDI chip (FT232).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the things i noted / modified in the bootloader firmware ( I am using the master software AN2295 GUI without modifications)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. max baudrate 57600&lt;/P&gt;&lt;P&gt;2. BOOT_BUS_CLOCK is not 25000000, but 32768*640 (20971520UL), which is the slow IR clock + FLL.&lt;/P&gt;&lt;P&gt;3. clock trimming removed&lt;/P&gt;&lt;P&gt;4. CRC code removed&amp;nbsp; &lt;/P&gt;&lt;P&gt;5. FLASH_WRITE_ACCESS set to FLASH_WRITE_ACCESS_LONG&lt;/P&gt;&lt;P&gt;6. FLASH_INIT_FLASH_CLOCK&amp;nbsp; reduced&amp;nbsp; SIM_CLKDIV1_OUTDIV4(2)&lt;/P&gt;&lt;P&gt;7. uart&amp;nbsp; rx fifo enabled with 16 bytes&lt;/P&gt;&lt;P&gt;8. SRS_ xx aliased to RCM_SRS0, not MC_SRSL (which is not found in MK20DX5.h)&lt;/P&gt;&lt;P&gt;9. pull up needs to be enabled on boot pin with PORT_PCR_PS_MASK&lt;/P&gt;&lt;P&gt;10. reading SIM_SDID register == 0x1014,&amp;nbsp; NOT 0x1114 as the datasheet specifies !!&amp;nbsp; If you mask off the top nibble (chip rev) and bottom nibble (package), the sdid returned is 0x010&amp;nbsp; not the 0x110 that the code in the AN2295SW master application&amp;nbsp; expects for a K20 part. Since others have noted the same issue, i'm guessing i don't have counterfeit parts :-)&lt;/P&gt;&lt;P&gt;11. I modified the timeout code before the bootloader jumps to application, to not use timer hardware, but simple delay loops. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am sure not all these changes were required e.g. 11, but in the process of trying to get it to work from as simple a base as possible ... code is attached for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 06:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257307#M7637</guid>
      <dc:creator>pataga</dc:creator>
      <dc:date>2013-12-11T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257308#M7638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're out there, hoping you could provide more detail on what you mean by 7 above? (uart rx fifo enabled with 16 bytes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get an2295 running on a FRDM_K64F dev kit. I've cut the trace so the k64 is isolated from the k20(OpenSDA interface) and can flash the chip directly from it's jtag port. I'm flashing my an2295 build successfully to the k64. I get output on uart0, but it's garbled, like I have the wrong baud rate. My build is setting baud rate to 115200. No matter what I've tried, I get garbled output. I've building with other baud rates defined, but no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Johnny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 22:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257308#M7638</guid>
      <dc:creator>johnnymclean</dc:creator>
      <dc:date>2015-04-20T22:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257309#M7639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hari would have enabled the Rx FIFO (by setting &lt;STRONG&gt;RXFE&lt;/STRONG&gt; in &lt;STRONG&gt;UARTx_PFIFO&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;However the Rx FIFO size is fixed at 8 for the K20 (and also your K64) so can't be set with other depths - this detail is therefore not exact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not enabled, the receiver will be in legacy mode with a single buffer depth of 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is however not relevant for the transmitter operation and also generally not of great importance when not working with high speeds and appications where the input (interrupt) can't be serviced within 2 character periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note that not all Kinetis UARTs have FIFOs so a generic solution would not rely on them being used.&lt;/EM&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K64: &lt;A href="http://www.utasker.com/kinetis/FRDM-K64F.html" title="http://www.utasker.com/kinetis/FRDM-K64F.html"&gt;µTasker Kinetis FRDM-K64F support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TWR-K64F120M.html" title="http://www.utasker.com/kinetis/TWR-K64F120M.html"&gt;µTasker Kinetis TWR-K64F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 23:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257309#M7639</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-04-20T23:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with AN2295 bootloader on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257310#M7640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Hari Nair&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; your code is very helpful for us and i have modified as per my requirement&amp;nbsp; But i found a problem while using this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM IS..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;first time while loading application (ex. app1.srec) with application offset &lt;STRONG&gt;0x1000&lt;/STRONG&gt; using An2295 its working fine. now when i am trying to load new application(ex. app2.srec)&amp;nbsp; with 0&lt;STRONG&gt;x1000&lt;/STRONG&gt; offset on same bootloader code it will generate following error....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Can't program block 0 at address 0x00001400" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;linker file configuration is as follows for your reference:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts (RX) : ORIGIN = 0x00001000, LENGTH = 0x000000F8&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00001410, LENGTH = 0x0001FBF0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFFE000, LENGTH = 0x00002000&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00002000&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_cfmprotrom&amp;nbsp; (RX) : ORIGIN = 0x00001400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please can you help me to solve this problem as soon as possible..???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for you input...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trouble-with-AN2295-bootloader-on-Kinetis-K20/m-p/257310#M7640</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2015-09-30T10:34:29Z</dc:date>
    </item>
  </channel>
</rss>

