Failed to write memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to write memory

3,048 Views
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 

Tags (2)
6 Replies

278 Views
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 Kudos
Reply

311 Views
weid
Contributor II

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

0 Kudos
Reply

3,003 Views
bladerunner1010
Contributor III

please attach your initialization script and will try to help 

0 Kudos
Reply

2,997 Views
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,005 Views
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 Kudos
Reply

3,030 Views
shu-zyc1
Contributor II

l meet the same question ,how do you solve it 

thanks you

0 Kudos
Reply