FRDM complaints about memory inconsistency

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM complaints about memory inconsistency

1,553件の閲覧回数
kai_liu
Senior Contributor I

I use IAR and FRDM-KL25Z for my work. I found FRDM-KL25Z always complaints about memory inconsistency at address 0x00000000. The code execution is normal. But it is annoying.

I tried to erase all memory. But it doens't help at all. And I have two boards, they have same issues. Here is my log file. Please comment if you have any ideas about it.

================ IAR Debug Log ==================

Sat Oct 19, 2013 12:18:38: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\Freescale\FlashKLxx.mac

Sat Oct 19, 2013 12:18:39: Windows NT detected.

Sat Oct 19, 2013 12:18:43: OpenSDA detected - Flash Version 1.02

Sat Oct 19, 2013 12:18:44: Device is KINETIS.

Sat Oct 19, 2013 12:18:44: Mode is In-Circuit Debug.

Sat Oct 19, 2013 12:18:44: CPU reset by debugger.

Sat Oct 19, 2013 12:18:44: 

Sat Oct 19, 2013 12:18:44: Software reset was performed

Sat Oct 19, 2013 12:18:44: ----- Prepare hardware for Flashloader -----

Sat Oct 19, 2013 12:18:45: 768 bytes downloaded and verified (1.02 Kbytes/sec)

Sat Oct 19, 2013 12:18:45: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\Freescale\FlashKLxx16K.out

Sat Oct 19, 2013 12:18:45: Target reset

Sat Oct 19, 2013 12:18:48: Downloaded D:\Freescale FRDM KL25Z\an4379sw_msd_bootloader\Source\Device\app\msd_bootloader\iar_ew\kinetis_l2k\Debug\

Exe\USB_MSD_Bootloader.out to flash memory.

Sat Oct 19, 2013 12:18:51: 22368 bytes downloaded into FLASH and verified (3.77 Kbytes/sec)

Sat Oct 19, 2013 12:18:51: Warning: Target inconsistency detected at Memory address 0x00000000

Sat Oct 19, 2013 12:18:53: Warning: There were warnings during download, see Log Window

Sat Oct 19, 2013 12:18:53: Loaded debugee: D:\Freescale FRDM KL25Z\an4379sw_msd_bootloader\Source\Device\app\msd_bootloader\iar_ew\kinetis_l2k\

Debug\Exe\USB_MSD_Bootloader.out

Sat Oct 19, 2013 12:18:53: CPU reset by debugger.

Sat Oct 19, 2013 12:18:53: 

Sat Oct 19, 2013 12:18:53: Software reset was performed

Sat Oct 19, 2013 12:18:53: Target reset

Sat Oct 19, 2013 12:18:56: There was 1 warning during the initialization of the debugging session.

Sat Oct 19, 2013 12:18:56: Preset breakpoint encountered.

Sat Oct 19, 2013 12:18:56: 

ラベル(2)
タグ(1)
0 件の賞賛
返信
7 返答(返信)

1,167件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kai,

I suggest you can select another board file, so follow the figures show below to choose FlashKLxx128K.board.

1.jpg

2.jpg

1,167件の閲覧回数
kai_liu
Senior Contributor I

My .board file setup is:

$TOOLKIT_DIR$\config\flashloader\Freescale\FlashKLxx128K.board

Which is exactly same file. However I specify it again (with same file). The warning dismissed anyway. Is it a bug of IAR?

0 件の賞賛
返信

1,167件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kai,

I don't think it's a bug of IAR, The size of Flash that RAMKL25 have is 128K. So you'd better to choose the FlashKLxx128K.board.

Is that work well now ?

Best Regards,

Ping

0 件の賞賛
返信

1,167件の閲覧回数
kai_liu
Senior Contributor I

It doesn't always pop up. But sometime it still jump to front.

:smileyconfused:

0 件の賞賛
返信

1,167件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Kai,

You mean after you selected FlashKLxx128K.board, waring still jump to front just like before.

Regards,

Ping

0 件の賞賛
返信

1,167件の閲覧回数
kai_liu
Senior Contributor I

Yes, indeed. After selecting this board file manually. I did be warned at least once for same project.

I will keep a daily track for a week to check its chance.

Thanks for your support.

0 件の賞賛
返信

1,167件の閲覧回数
kai_liu
Senior Contributor I

Oops. I will try it. Thanks.

0 件の賞賛
返信