Address shift of PBL causing Erase Memory Failure : MPC5777C

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

Address shift of PBL causing Erase Memory Failure : MPC5777C

跳至解决方案
658 次查看
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 解答
572 次查看
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 回复
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