
24 Jun
2010
24 Jun
'10
8:55 p.m.
Dear Chen Wen,
In message AANLkTinSedp4src5LFcmlraDSRsx_lCDiCCZoRR841go@mail.gmail.com you wrote:
But I load my simple trace32 script, I can write data to flash via trace 32. simple initial of trace32: ========================================= D.S DCR:0xF9 %LONG %BE 000000019 ; CPC0_PCI, PerWE, PAE D.S DCR:0xF6 %LONG %BE 0 gosub IEBC "EBC0_B0AP" 0x10 007869200 gosub IEBC "EBC0_B0CR" 0x00 0FF09A000 ; 16MB @FE000000 ========================================= When I verify the value of "EBC and CPC0_PCI" register. u-boot and simple script fill the same value on "EBC and CPC0_PCI"
I am trying to find out what registers protect flash from writing.
PerWE? with "WE" as in "Write Enable" ?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If there was anything that depressed him more than his own cynicism,
it was that quite often it still wasn't as cynical as real life.
- Terry Pratchett, _Guards! Guards!_