Failed to write memory

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

Failed to write memory

3,163 次查看
bladerunner1010
Contributor III

I'm getting error via Codewarrior when trying to connect with flash programmer or when I run the initialization script.

Jtag connection seems OK and I am able to read the RCW.

Error is:

Failed to write memory at address 0x2016002c on core CortexA53#0.

Chip is LS1023A.

Thanks for your help

@yi 

标记 (2)
6 回复数

393 次查看
bladerunner1010
Contributor III

I personally did not, I moved to other projects since then.
The HW team cont. working on this and then discovered HW issues with the chip's power sequence.
You need to check that you are not writing to on chip memory so it will falsely show as a write success.
Also Try to check SPI flash transactions during writes.
Did you initialize DDR memory properly?
I think get the power sequence sorted out first, you can use an eval board for reference, I think it is done there using CPLD.

0 项奖励
回复

426 次查看
weid
Contributor II

l meet the same question ,how do you solve it ?

0 项奖励
回复

3,118 次查看
bladerunner1010
Contributor III

please attach your initialization script and will try to help 

0 项奖励
回复

3,112 次查看
richardadams
Contributor III

I'm using the initialization script for the LS1043ARDB (LS1043A_RDB._init.py) with the following changes to support Hardcoding the RCW since  my board has a Blank NOR  Flash which will be my boot device when I can program it

USE_SAFE_RCW = True

BOOT_CHIP_SELECT = 2

The error is generated from Init_BRR when the line " DCSR_BE_M(0x16002C, 0x0000000E)" is executed

 

 

3,120 次查看
richardadams
Contributor III

I have the same error with a LA1043A board. Did anyone ever identify the cause of this error and how to work around it?

0 项奖励
回复

3,145 次查看
shu-zyc1
Contributor II

l meet the same question ,how do you solve it 

thanks you

0 项奖励
回复