Dear Chen Wen,

In message <[email protected]> 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: [email protected]
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!_
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to