Address shift of PBL causing Erase Memory Failure : MPC5777C

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

Address shift of PBL causing Erase Memory Failure : MPC5777C

ソリューションへジャンプ
659件の閲覧回数
kasi_lakshmiman
Contributor I

Hi,

My bootloader works fine if PBL is located at address: 0x00000000. But if i shift the PBL address to 0x00800000 address range, It gives me "Erase Memory Failure" at the time of application download. I am using MPC5777C controller. Help me resolving this issue. What are the necessary changes to be done to resolve this issue?

Thanks.

0 件の賞賛
1 解決策
573件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it sounds like Read-While-Write (RWW) problem. Notice that RWW is possible only between partitions. If a partition is being programmed or erased, it's not possible to access this partition.

pastedImage_1.png

So, this is the first thing to check. The code must be executed from another partition or from RAM. Also interrupts could cause issues - either disable it or ensure that interrupts does not touch partitions which are going to be erased or programmed.

Regards,

Lukas

元の投稿で解決策を見る

1 返信
574件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it sounds like Read-While-Write (RWW) problem. Notice that RWW is possible only between partitions. If a partition is being programmed or erased, it's not possible to access this partition.

pastedImage_1.png

So, this is the first thing to check. The code must be executed from another partition or from RAM. Also interrupts could cause issues - either disable it or ensure that interrupts does not touch partitions which are going to be erased or programmed.

Regards,

Lukas