AN2295 K60 bootloader?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN2295 K60 bootloader?

Jump to solution
819 Views
楊智翔楊
Contributor II

Dear All

My compiler tool is IAR.

K60_120M

I got error message as below:

Why?

AN2295_K60F121M_protocol error.png

Thanks!

B&R.

Labels (1)
Tags (1)
1 Solution
665 Views
楊智翔楊
Contributor II

Resolved,Thanks!

AN2295_TWR_K60_cfg.h

/* Flash block count of this MCU */

//#define FLASH_BLOCK_CNT 1//<<<<<<< comment

View solution in original post

0 Kudos
Reply
3 Replies
666 Views
楊智翔楊
Contributor II

Resolved,Thanks!

AN2295_TWR_K60_cfg.h

/* Flash block count of this MCU */

//#define FLASH_BLOCK_CNT 1//<<<<<<< comment

0 Kudos
Reply
665 Views
楊智翔楊
Contributor II

The problem has been resolved,to upgrade "win_hc08sprg.exe" version to 10.0.18.0.

However,I got another issue done the AN2295 procedure(User code on 0x00004400).

Can't boot up after AC power.I founded the reset pin always high and low.What happened?

Thanks!

B&R.

0 Kudos
Reply
665 Views
楊智翔楊
Contributor II

AN2295_LinkerFile.icf

>>>>

/*-Memory Regions-*/

define symbol __ICFEDIT_region_ROM_start__      = 0x00000000;

define symbol __ICFEDIT_region_ROM_end__        = 0x00003FFF; // 0x000004FF for 8K Flash devices

define symbol __ICFEDIT_region_RAM_start__      = 0x1fff0000;

define symbol __ICFEDIT_region_RAM_end__        = 0x1fffffff;

define symbol __ICFEDIT_region_RAM1_start__     = 0x20000000;

define symbol __ICFEDIT_region_RAM1_end__       = 0x2000ffff;

define symbol IntVectTable_start__              = 0x00000000;

define symbol IntVectTable_end__                = 0x0000003f;

define symbol FlashConfig_start__               = 0x00000400;

define symbol FlashConfig_end__                 = 0x0000040f;

<<<<

define exported symbol __BOOT_STACK_ADDRESS = __ICFEDIT_region_RAM1_end__ - 7;              //>>>>>>>>  ?????? Is correct?

bootloader.c

>>>>

PowerOn1.png

<<<<

Ahter Running......

>>>>

PowerOn2.png

<<<<

Can't boot up after AC power. Is the entry point uncorrected?

0 Kudos
Reply