FNET Bootloader on K60N512

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

FNET Bootloader on K60N512

ソリューションへジャンプ
1,766件の閲覧回数
master_szumi
Contributor III

Im using bootloader and with small programs it works OK.

 

I've got huge program with MQX (over 200kb) and bootloader returns me error on writing to address 0x46200.

 

(In debbuger I've noticed: Error is caused by verify function - ram is different than flash)

 

It means that internal flash is corrupted?

 

How to verify if flash is corrupted or not?

 

 

0 件の賞賛
返信
1 解決策
1,416件の閲覧回数
master_szumi
Contributor III

 

 

From freescale support:

 

Pls try this code           FNET_MK_FMC_PFB0CR &= 0xFFFFFFE6; /* Single entry buffer disable.*/          FNET_MK_FMC_PFB1CR &= 0xFFFFFFE6; /* Single entry buffer disable. */          FNET_MK_FMC_PFB0CR &= 0xFFFFFFF9; /* Data Cache disable. */          FNET_MK_FMC_PFB1CR &= 0xFFFFFFF9; /* Data Cache disable. */instead of the one you mentioned. I tried this and it worked, at least I didn't get an error. Should you need to contact us with regard to this message, please see the notes below.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,416件の閲覧回数
master_szumi
Contributor III

I've noticed that verify function gives error - so I set breakpoint in this function and flash memory is not the same as ram,

but than I let program go and stop it again and flash is equal as ram (flash changed!). Whats up?

 

0 件の賞賛
返信
1,417件の閲覧回数
master_szumi
Contributor III

 

 

From freescale support:

 

Pls try this code           FNET_MK_FMC_PFB0CR &= 0xFFFFFFE6; /* Single entry buffer disable.*/          FNET_MK_FMC_PFB1CR &= 0xFFFFFFE6; /* Single entry buffer disable. */          FNET_MK_FMC_PFB0CR &= 0xFFFFFFF9; /* Data Cache disable. */          FNET_MK_FMC_PFB1CR &= 0xFFFFFFF9; /* Data Cache disable. */instead of the one you mentioned. I tried this and it worked, at least I didn't get an error. Should you need to contact us with regard to this message, please see the notes below.
0 件の賞賛
返信
1,416件の閲覧回数
butok
NXP Employee
NXP Employee

Hi Szumi,

 

I have just checked it, - the new version of cache disabling, does not cause any issue for my Kinetis chip, which I have.

So it will be added to the next version of FNET Kinets flash driver, to cover your Kinetis mask-set.

 

Thank you,

Andrey Butok

0 件の賞賛
返信