
28 Oct
2007
28 Oct
'07
7:07 a.m.
Hi,
On 10/27/07, sughosh ganu urwithsughosh@gmail.com wrote:
On 10/26/07, Paul Thomas pthomas8589@gmail.com wrote:
It works, but if I do
cp 20000000 20001000 256
I get the error "Copy to Flash... General Flash Programming Error" Why does it think this is a flash operation? I am using RAM addresses.
That's because the 'cp' command copies data from the RAM to the flash and vice versa. Check the function do_mem_cp in the common/cmd_mem.c. For copying within memory, you have memcpy.
Oops, think i jumped the gun. The 'cp' command actually copies data between any kind of memory. So probably, as the other post suggested, the address seems to be detected as a part of the Flash.
-- sughosh