AN2295 K60 bootloader?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

AN2295 K60 bootloader?

跳至解决方案
1,000 次查看
楊智翔楊
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.

标签 (1)
标记 (1)
1 解答
846 次查看
楊智翔楊
Contributor II

Resolved,Thanks!

AN2295_TWR_K60_cfg.h

/* Flash block count of this MCU */

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
847 次查看
楊智翔楊
Contributor II

Resolved,Thanks!

AN2295_TWR_K60_cfg.h

/* Flash block count of this MCU */

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

0 项奖励
回复
846 次查看
楊智翔楊
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 项奖励
回复
846 次查看
楊智翔楊
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 项奖励
回复