Hardware bug in erasing?

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

Hardware bug in erasing?

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

In MPC5674f when FlashA M1 is erased it erase also H5 and other way execution erasing H5 destroys also M1.

The mask i am using for M1 erase_mask = 0xFFFDFFFF; and for H5 erase_mask = 0xFFFFFFDF;

Could anyone to confirm this? Is it hw bug?

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

looks like problem solved, bootloader is stettng valuses in some registers, if i set them back to 0 erasing works fine, those registers are:

  *(unsigned int*)0xC3F91684 = 0x0;
  *(unsigned int*)0xFFF48008 = 0x0;
  *(unsigned int*)0xFFF4816D = 0;
  *(unsigned int*)0xC3FF0000 = 0;
  *(unsigned int*)0xC3FF0100 = 0;
  *(unsigned int*)0xC3FF0108 = 0;
  *(unsigned int*)0xC3FF010C = 0;

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,843件の閲覧回数
oloooloo
Contributor III

looks like problem solved, bootloader is stettng valuses in some registers, if i set them back to 0 erasing works fine, those registers are:

  *(unsigned int*)0xC3F91684 = 0x0;
  *(unsigned int*)0xFFF48008 = 0x0;
  *(unsigned int*)0xFFF4816D = 0;
  *(unsigned int*)0xC3FF0000 = 0;
  *(unsigned int*)0xC3FF0100 = 0;
  *(unsigned int*)0xC3FF0108 = 0;
  *(unsigned int*)0xC3FF010C = 0;

0 件の賞賛
返信