AnsweredAssumed Answered

I have writed a application with a serial bootloader support for TWR-K60D100M

Question asked by brandonk on Feb 28, 2013
Latest reply on Feb 28, 2013 by Luis Casado

  I have been trying to develop a serial bootloader based on AN2295 for TWR-K60D100M.

  Implemented the following ;

  1. Serial bootloader is good working.

  2. I used win_hc08sprg.exe tool on my PC.

K60 Serial Bootloader using tool.png

  3. I successed to download and erase, program my gpio application modified .lcf file to TWR-K60 board

      I refered to AN2295 pdf file, and modified .lcf file in my gpio application project.

      This my gpio application is good working in non bootloader environment(this means not modified .lcf file)

 

  4. But the application with the modified .lcf file is not working.

     /* This is original MEMORY SECTION
     MEMORY {
          m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E0
          m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x0007
FBF0
          m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
          m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000
          m_cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
     }
     */

    // This is modified according to AN2295 document
     MEMORY {

          m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E0
          m_text (RX) : ORIGIN = 0x00004410, LENGTH = 0x0007FFFF-0x00004410
          m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
          m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000
          m_cfmprotrom (RX) : ORIGIN = 0x00004400, LENGTH = 0x00000010
     }

 

  5. I followed the AN2295 document to load my application on the serial bootloader.

 

Please advise me to success writing an application with serial bootloader support.

 

 

Outcomes